eve
eve is an open-source agent framework for durable, long-running work. Build, govern, and evolve enterprise-grade agents that scale — with channels, durable runs, approvals, and testing built in.
eve is built on the AI SDK:
defineTooluses the same shape astool(): adescription, aninputSchema(Zod, any Standard Schema, or a JSON Schema object), and anexecutefunction.defineAgentaccepts an AI Gateway model ID such asopenai/gpt-6-luna-fast, or any AI SDKLanguageModelfrom a provider package.- Options like
reasoningmap to the AI SDK's model settings. - A Chat SDK channel connects any Chat SDK adapter to your agent.
Built for Production
- Channels — Multiplayer and single-player chat across Slack, Teams, iMessage, WhatsApp, and the web. Channels are a framework primitive.
- Durable runs — Checkpoints every step. Survives crashes, restarts, and days-long waits. Runs on crons, too.
- Agentic or deterministic — Fully agentic loops, deterministic workflows, or both in one run. You choose per task.
- Human in the loop — Pause for approval. Resume durably when it arrives.
- Any provider — Swap models with a one-line edit. Provider fallback included. Route different models to different tasks.
- Per-user capabilities — Skills, schedules, memory, and tools resolved per user at runtime.
- MCP, OpenAPI, and subagents — Connect to services over MCP and OpenAPI, or delegate to focused subagents. Credentials stay in the runtime.
- Testing — Test agent behavior before and after every change.
Quick Start
Create a new agent project:
This creates a my-agent directory, installs its dependencies, initializes Git, and starts the interactive terminal UI. To add an agent to an existing project, pass a path:
Like the ai package, eve bundles its full documentation, so coding agents
can read it locally from node_modules/eve/docs. See Coding
Agents for the same workflow with the AI
SDK.
A Minimal Example
An eve agent lives in an agent/ directory. Replace the system prompt in agent/instructions.md:
Add a tool at agent/tools/get_weather.ts. The filename is the tool name the model sees:
Choose the model in agent/agent.ts:
When to Choose eve
The AI SDK gives you the primitives; eve is the production framework around them.
- Use eve when you want a complete production agent — durable, long-running work across channels, schedules, and approvals — without assembling those pieces yourself.
- Use
ToolLoopAgentwhen you are assembling your own model-and-tools loop inside an application. - Use
WorkflowAgentfrom@ai-sdk/workflowwhen you need durable, resumable execution with explicit workflow steps. - Use Chat SDK when you are adding an agent to chat platforms.
Next Steps
- eve documentation — the full project layout and guides
- eve on GitHub — source code and discussions