Skip to main content
CascadeAgent combines quality validation with pre-routing, tool capability checks, tiers, domains, and custom rules.

Quality Validation

The package also exports ProductionConfidenceEstimator, ResponseAnalyzer, QueryResponseAlignmentScorer, and ComplexityDetector for direct use.

Semantic Validation

Install the optional ML runtime:
Enable it through agent quality configuration:
Or use the checker directly:

Routers

CascadeAgent creates and coordinates these routers from AgentConfig and RunOptions.

Domain Configuration

The package exports built-in strategies and domain configurations through BUILT_IN_STRATEGIES and BUILTIN_DOMAIN_CONFIGS.

Rule Engine

RuleEngine applies workflow, tenant, channel, user-tier, and KPI context before model execution.
Provide ruleEngineConfig or a custom ruleEngine in AgentConfig when the built-in routing rules are not sufficient.