OPEN_SOURCE ↗
REDDIT · REDDIT// 25d agoOPENSOURCE RELEASE
Cycles blocks agent spend before calls
Cycles is an open protocol and self-hostable server that reserves budget before an agent call and commits actual usage afterward. The included runaway demo shows the guardrail stopping a loop cleanly at a $1 cap, with Docker/Redis deployment and clients for Python, TypeScript, and Spring Boot.
// ANALYSIS
This is a genuinely useful shift from post-hoc spend alerts to pre-execution control for autonomous agents.
- –The reserve-commit model fits the real failure modes of agent systems: runaway loops, retries, and tool storms get blocked before call N+1 can burn more money.
- –The docs frame Cycles as provider-agnostic across OpenAI, Anthropic, LangChain, Vercel AI, and Bedrock, which makes it easier to slot into mixed stacks. https://runcycles.io
- –The demo repo is a strong proof point: no real API key, simulated calls, and a clean stop at $1 makes the value prop easy to understand and reproduce. https://github.com/runcycles/cycles-runaway-demo
- –Apache 2.0 plus self-hosting makes this feel like infrastructure for agent ops, not just another billing wrapper.
- –The hard part will be estimation and policy design; enforcement is only as good as the reserved amount and scope rules.
// TAGS
cyclesopen-sourceself-hostedagentautomationapisdk
DISCOVERED
25d ago
2026-03-17
PUBLISHED
25d ago
2026-03-17
RELEVANCE
8/ 10
AUTHOR
jkoolcloud