What problem does it solve?
Builds persistent, edge-deployed AI agents with built-in state management, real-time communication, and orchestrated workflows on Cloudflare Workers, reducing the complexity of distributed agent systems.
Core Features & Use Cases
- Agent class and state management: Define an agent with initial state, persistence across requests, and validation hooks to ensure data integrity.
- Callable RPC and streaming: Expose methods over WebSocket for client-server interaction, including streaming responses.
- Durable workflows and MCP integration: Compose multi-step background tasks and connect to MCP servers for broader integrations.
- React hooks for client apps: Use hooks like useAgent and useAgentChat to embed agents into frontend apps.
- Use cases: Real-time chat agents, edge-processed data workflows, scheduled tasks, and edge automation.
Quick Start
Create and deploy a simple agent with a stateful example that exposes a callable RPC.