Integration Ecosystem
Cycles integrates with the tools, frameworks, and AI providers you already use. Whether you're building autonomous agents, adding runtime authority to an existing application, or exploring what's possible with controlled AI spending, there's an integration path for you.
AI Model Providers
OpenAI
Integrate Cycles runtime authority with ChatGPT, GPT-4, GPT-4o, and other OpenAI models. Control per-request and per-session spending when your agents call OpenAI APIs.
Anthropic
Use Cycles with Claude models to set spending limits on autonomous agent workflows powered by Anthropic's API. Available in both Python and TypeScript.
Google Gemini
Add runtime authority to applications built on Google's Gemini family of models.
AWS Bedrock
Cycles works with AWS Bedrock's multi-model platform, giving you budget control across any foundation model available through Bedrock.
Ollama / Local LLMs
Budget control for local model runners — track GPU time and compute costs for self-hosted models. Works with Ollama, vLLM, text-generation-inference, and LocalAI.
Groq
Budget governance for Groq's LPU-accelerated inference. Uses the OpenAI-compatible API with Groq-specific pricing. Includes a model-downgrade degradation pattern — fall back from GPT-4o to Groq when budget runs low.
AI Frameworks & SDKs
LangChain (Python)
Build budget-aware LangChain agents in Python. Cycles integrates with LangChain's tool and callback system to enforce spending limits throughout chain execution.
LangChain.js
The same LangChain integration, purpose-built for JavaScript and TypeScript environments.
LangGraph
Budget control for LangGraph stateful agent workflows. Use LangChain's callback handler inside graph nodes, or scope budgets per node with the @cycles decorator. Supports conditional routing based on remaining budget.
Vercel AI SDK
Add Cycles runtime authority to applications built with the Vercel AI SDK for seamless spending control in Next.js and other Vercel-deployed projects.
Spring AI
Integrate Cycles with Spring AI to bring runtime authority to Java and Kotlin AI applications.
LlamaIndex
Add budget governance to LlamaIndex RAG pipelines. Guard retrieval and generation stages separately for fine-grained cost control.
CrewAI
Budget control for CrewAI multi-agent workflows. Scope budgets per agent and per crew with hierarchical budget paths.
Pydantic AI
Guard Pydantic AI agent runs and tool calls with the @cycles decorator. Works with structured output and tool scoping.
AnyAgent
Budget governance for AnyAgent's unified agent interface. A single callback covers all seven supported frameworks (OpenAI Agents, LangChain, LlamaIndex, Google, Agno, smolagents, TinyAgent) with no per-framework code.
AutoGen
Budget governance for Microsoft AutoGen multi-agent workflows. Wrap the model client with Cycles reservations for per-call and per-agent cost control across teams, swarms, and graph flows.
Web Frameworks
Next.js
Add budget governance to Next.js applications with route-level budget guards, server actions, and client-side error handling. Works with any LLM provider.
Express.js
Add Cycles middleware to your Express.js API to enforce runtime authority on any route that triggers AI spending.
Django
Add Cycles middleware to Django applications for budget-checked views, per-tenant isolation, and preflight budget guards.
Flask
Add Cycles budget guards to Flask applications with error handlers, before_request hooks, and per-tenant isolation.
FastAPI
Use the Cycles Python client with FastAPI for high-performance, budget-aware AI APIs.
Agent Platforms
MCP (Model Context Protocol)
Cycles provides an MCP server that exposes runtime authority as tools for any MCP-compatible client, including Claude Desktop, Claude Code, Cursor, and Windsurf.
OpenAI Agents SDK
Add budget governance to OpenAI Agents SDK workflows. The plugin hooks into the SDK's RunHooks interface to automatically enforce budgets on every LLM call, tool invocation, and agent handoff — with tool risk mapping and pre-run guardrails.
OpenClaw
Connect Cycles to OpenClaw for budget-controlled multi-agent orchestration.
Official SDKs
Python Client
The official Cycles Python client. Install from PyPI and start enforcing budgets in minutes.
TypeScript Client
The official Cycles TypeScript client for Node.js and browser environments.
MCP Server
The Cycles MCP server exposes runtime authority as tools for Claude Desktop, Claude Code, Cursor, and Windsurf.
Spring Boot Starter
Auto-configured Cycles integration for Spring Boot applications, available on Maven Central.
Protocol & Standards
Cycles Protocol
The Cycles Protocol is an open specification for runtime authority in autonomous agent systems, licensed under Apache 2.0. Build your own implementation or contribute to the spec.
OpenAPI Specification
A complete OpenAPI specification is available for the Cycles API, making it straightforward to generate clients in any language or integrate with API tooling.
Community Tools
The Cycles ecosystem grows with every project that adopts runtime authority. If you've built a library, plugin, tool, or integration that works with Cycles, we want to hear about it.
Building something with Cycles? Add a Built with Cycles badge to your project and let the community know what you're working on.