CascadeAgent combines quality validation with pre-routing, tool capability checks, tiers, domains, and custom rules.
Quality Validation
ProductionConfidenceEstimator, ResponseAnalyzer, QueryResponseAlignmentScorer, and ComplexityDetector for direct use.
Semantic Validation
Install the optional ML runtime:Routers
CascadeAgent creates and coordinates these routers from AgentConfig and RunOptions.
Domain Configuration
BUILT_IN_STRATEGIES and BUILTIN_DOMAIN_CONFIGS.
Rule Engine
RuleEngine applies workflow, tenant, channel, user-tier, and KPI context before model execution.
ruleEngineConfig or a custom ruleEngine in AgentConfig when the built-in routing rules are not sufficient.