Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Python API reference for cascadeflow — the three-tier harness API and supporting types.
import cascadeflow # Tier 1: Global activation cascadeflow.init(mode="observe") # Tier 2: Scoped run with constraints with cascadeflow.run(budget=0.50) as session: result = await agent.run("Analyze this data") print(session.summary()) # Tier 3: Per-agent policy @cascadeflow.agent(budget=0.20, compliance="gdpr") async def my_agent(query: str): return await llm.complete(query)
cascadeflow.init()
cascadeflow.run()
@cascadeflow.agent()
HarnessConfig
HarnessRunContext
summary()
trace()
pip install cascadeflow
pip install "cascadeflow[langchain]" pip install "cascadeflow[openai-agents]" pip install "cascadeflow[crewai]" pip install "cascadeflow[google-adk]"
off
observe
enforce
allow
switch_model
deny_tool
stop