AI Agent System
Chat request → guarded dispatch → tool/model loop → streamed project updates
AgentRunner Durable Objects execute autonomous coding runs with tool calls and resumable stream state.
Autonomous coding agent with 24 tools, running in a dedicated Durable Object
Agent Loop
Agent SDK State Sync
Notes
The agent runs independently of client connections inside the AgentRunner DO. In-flight runs recover from persisted fiber checkpoints after eviction, rather than relying on a custom heartbeat loop. Three modes: code (full tool access), plan (read-only + planning), ask (read-only Q&A). Tools include file CRUD, grep/glob, lint check/fix (via Biome service binding), test execution, browser automation via the Agents SDK browser tools, web fetch, and Cloudflare docs search via MCP.