Build stateful, streaming agents backed by Durable Objects. No server. No Redis. No cold starts.
Honi is built for the infrastructure you actually deploy on.
Why Honi
Every agent is a Durable Object. Persistent state, zero cold starts, global by default.
Not "edge-compatible". Built from scratch to run on Cloudflare Workers.
Working (DO), Episodic (D1), Semantic (Vectorize), Graph (edgraph). Four tiers, zero glue code.
Entity and relationship recall via edgraph — an edge-native property graph on Cloudflare DOs. BFS/DFS traversal at zero per-hop cost. Tools write directly to the graph via ctx.graph.
Zod schemas, auto-generated JSON for LLM tool calling. Full TypeScript inference.
Multi-step pipelines via CF Workflows. Checkpointed retries built in.
Anthropic, OpenAI, Workers AI. Switch model with one string.
Every agent exposes a /mcp endpoint. Connect from Claude Desktop, Cursor, or any MCP client — zero config.
Route messages and call tools across agents via DO stubs. Build orchestrator patterns without leaving Cloudflare's network.
Comparison
| Honi | Mastra | LangChain | @cf/agents | |
|---|---|---|---|---|
| CF Workers native | ✦ | ✗ | ✗ | ✦ |
| DO-backed state | ✦ | ✗ | ✗ | ✦ |
| Built-in memory | ✦ | ✦ | ✦ | ✗ |
| TypeScript-first | ✦ | ✦ | ✗ | ✦ |
| Edge distribution | ✦ | ✗ | ✗ | ✦ |
| MCP server built-in | ✦ | ✗ | ✗ | ✗ |
| Graph memory (edgraph) | ✦ | ✗ | ✗ | ✗ |
| Multi-agent orchestration | ✦ | ✦ | ✦ | ✗ |
| Opinionated conventions | ✦ | ✦ | ✗ | ✗ |
Quick Start
Define your agent with createAgent() — model, tools, memory, and instructions.
Ship to 300+ Cloudflare locations with a single command. Global by default.