Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 697 Bytes

File metadata and controls

20 lines (15 loc) · 697 Bytes

Examples

Runnable examples demonstrating Cycles governance with the OpenAI Agents SDK.

Prerequisites

pip install runcycles-openai-agents
export CYCLES_BASE_URL=http://localhost:7878
export CYCLES_API_KEY=cyc_live_...
export OPENAI_API_KEY=sk-...

Examples

Example Description
basic_budget.py LLM token budget enforcement — every LLM call is reserved and committed
tool_governance.py Tool estimate mapping — higher-estimate tools consume more budget, read-only tools use zero estimate
multi_agent.py Multi-agent handoff with shared budget and pre-run guardrail