@cascadeflow/core contains two complementary runtime APIs:
CascadeAgentperforms speculative model cascading and quality validation.- The harness observes or enforces policy around OpenAI and Anthropic SDK calls.
Install
Cascade API
Harness API
Main Export Groups
Next Steps
Build a cascade
Configure models, quality checks, routing, streaming, and batch execution.
Add runtime policy
Observe or enforce budgets, tool caps, energy, latency, and compliance.
Execute tools
Define tools and run automatic multi-step tool loops.
Check feature parity
Compare the current Python and TypeScript surfaces.