# Eve Documentation > Reference for authoring and operating filesystem-first durable backend agents with the eve CLI, define* APIs, HTTP session protocol, channels, sandbox, and deployment workflows. This is a Grok-Wiki source-grounded repository documentation set. Use the complete Markdown link when an agent needs the full repo context. ## Context Links - [Complete Markdown docs](https://www.grok-wiki.com/public/docs/vercel-eve-759e1d74a10f/llms-full.txt) - [Complete Markdown alias](https://www.grok-wiki.com/public/docs/vercel-eve-759e1d74a10f.md) - [Human interactive docs](https://www.grok-wiki.com/public/docs/vercel-eve-759e1d74a10f) - [GitHub repository](https://github.com/vercel/eve) ## Repository - Repository: vercel/eve - Generated: 2026-06-16T19:31:20.815Z - Updated: 2026-06-16T19:32:25.135Z - Runtime: Grok CLI - Format: Documentation - Pages: 24 ## Pages - [Overview](https://www.grok-wiki.com/public/docs/vercel-eve-759e1d74a10f/pages/01-overview.md): Filesystem-first agent model, channel/harness/runtime split, public entry points (eve CLI, /eve/v1 HTTP routes, define* authoring), and the shortest path from init to a running session. - [Installation](https://www.grok-wiki.com/public/docs/vercel-eve-759e1d74a10f/pages/02-installation.md): Node 24+ prerequisites, npm/pnpm install paths, eve package binary, model credential options (gateway OIDC or direct provider keys), and environment file loading from the app root. - [Quickstart](https://www.grok-wiki.com/public/docs/vercel-eve-759e1d74a10f/pages/03-quickstart.md): Scaffold with eve init, verify discovery with eve info, iterate with eve dev, and create/stream/continue an HTTP session against /eve/v1/session. - [Project layout](https://www.grok-wiki.com/public/docs/vercel-eve-759e1d74a10f/pages/04-project-layout.md): Authored slots under agent/, path-derived naming (no name fields), evals/ placement, subagent inheritance rules, and what compiles into .eve/ artifacts. - [Execution model and durability](https://www.grok-wiki.com/public/docs/vercel-eve-759e1d74a10f/pages/05-execution-model-and-durability.md): Session/turn/step nesting, durable workflow checkpoints, crash resume semantics, parked work (HITL, OAuth, subagents), and message delivery constraints on continuationToken. - [Sessions and streaming](https://www.grok-wiki.com/public/docs/vercel-eve-759e1d74a10f/pages/06-sessions-and-streaming.md): continuationToken vs sessionId contracts, POST /eve/v1/session and follow-up routes, NDJSON stream events, reconnect behavior, and subagent child-session attachment. - [Default harness](https://www.grok-wiki.com/public/docs/vercel-eve-759e1d74a10f/pages/07-default-harness.md): Built-in agent loop, shipped tools (bash, file ops, web_fetch, todo, ask_question, agent, load_skill, connection_search), compaction defaults, and override/disable patterns. - [Context control](https://www.grok-wiki.com/public/docs/vercel-eve-759e1d74a10f/pages/08-context-control.md): Always-on instructions vs on-demand skills, workspace visibility through sandbox tools, dynamic capabilities (defineDynamic), and subagent context isolation. - [Security model](https://www.grok-wiki.com/public/docs/vercel-eve-759e1d74a10f/pages/09-security-model.md): App runtime vs sandbox trust boundaries, secret brokering, connection token handling, channel signature verification, and fail-closed route auth defaults. - [Instructions and skills](https://www.grok-wiki.com/public/docs/vercel-eve-759e1d74a10f/pages/10-instructions-and-skills.md): Author instructions.md or instructions.ts with defineInstructions, flat and packaged skills under agent/skills/, load_skill activation, and workspace seeding to /workspace/skills. - [Tools](https://www.grok-wiki.com/public/docs/vercel-eve-759e1d74a10f/pages/11-tools.md): defineTool schema and execute(ctx), HITL approval predicates (always/once/never), tool auth and requireAuth, built-in overrides, and dynamic tool resolution. - [Connections](https://www.grok-wiki.com/public/docs/vercel-eve-759e1d74a10f/pages/12-connections.md): MCP and OpenAPI connections with defineMcpClientConnection and defineOpenAPIConnection, OAuth callback routes, connection_search qualified tool names, and getToken/requireAuth flows. - [Channels](https://www.grok-wiki.com/public/docs/vercel-eve-759e1d74a10f/pages/13-channels.md): HTTP and messaging ingress with defineChannel and platform factories (eve, slack, discord, teams, telegram, twilio, github), route verbs, webhook verification, and eve channels add/list scaffolding. - [Sandbox](https://www.grok-wiki.com/public/docs/vercel-eve-759e1d74a10f/pages/14-sandbox.md): defineSandbox backends (local vs vercel), workspace seeding from agent/sandbox/workspace, bootstrap/onSession lifecycle, build-time prewarm, and proxy execution for shell/file tools. - [Subagents and schedules](https://www.grok-wiki.com/public/docs/vercel-eve-759e1d74a10f/pages/15-subagents-and-schedules.md): Local subagents under agent/subagents/, remote agents with defineRemoteAgent, cron schedules (defineSchedule .ts and .md), dev schedule dispatch route, and nested delegation boundaries. - [Configure agent.ts](https://www.grok-wiki.com/public/docs/vercel-eve-759e1d74a10f/pages/16-configure-agent.ts.md): defineAgent fields: model (gateway id or LanguageModel), compaction thresholdPercent, modelOptions, experimental.codeMode, outputSchema, and build.externalDependencies packaging. - [Auth and deployment](https://www.grok-wiki.com/public/docs/vercel-eve-759e1d74a10f/pages/17-auth-and-deployment.md): Route auth walk on eveChannel, env vars and secrets, eve link/deploy flows, Vercel build output (.vercel/output), sandbox backend selection, prewarm constraints, and production verification. - [State, hooks, and session context](https://www.grok-wiki.com/public/docs/vercel-eve-759e1d74a10f/pages/18-state-hooks-and-session-context.md): defineState get/update persistence, defineHook stream subscribers, ctx.session/getSandbox/getSkill/getToken/requireAuth, and where managed-context APIs are valid. - [Instrumentation and evals](https://www.grok-wiki.com/public/docs/vercel-eve-759e1d74a10f/pages/19-instrumentation-and-evals.md): defineInstrumentation OTel setup, workflow run tags, defineEval/defineEvalConfig authoring under evals/, eve eval flags, judges, assertions, and reporters (Braintrust, JUnit). - [Client integration](https://www.grok-wiki.com/public/docs/vercel-eve-759e1d74a10f/pages/20-client-integration.md): eve/client Client and ClientSession, auth policies, streaming reducers, useEveAgent React/Vue/Svelte hooks, and framework plugins (eve/next, eve/nuxt, eve/sveltekit). - [CLI reference](https://www.grok-wiki.com/public/docs/vercel-eve-759e1d74a10f/pages/21-cli-reference.md): All eve commands (init, info, build, start, dev, link, deploy, eval, channels), flags, exit codes, .eve/ artifact paths, and the recommended edit-info-dev-build-start loop. - [TypeScript API reference](https://www.grok-wiki.com/public/docs/vercel-eve-759e1d74a10f/pages/22-typescript-api-reference.md): Exported define* helpers and import paths from packages/eve/src/public, ctx members, approval predicates, built-in tool defaults, and eval/client entrypoints. - [HTTP API reference](https://www.grok-wiki.com/public/docs/vercel-eve-759e1d74a10f/pages/23-http-api-reference.md): Stable /eve/v1 routes (health, info, session create/continue/stream, OAuth callbacks), request/response shapes, NDJSON event vocabulary, and dev-only runtime-artifact and schedule-dispatch endpoints. - [Troubleshooting](https://www.grok-wiki.com/public/docs/vercel-eve-759e1d74a10f/pages/24-troubleshooting.md): Discovery diagnostics from eve info and eve build, .eve/discovery/diagnostics.json, common failure modes, dev server PID conflicts, and runtime error codes from failed steps/turns. ## Source Files - `.nvmrc` - `apps/fixtures/agent-tui-client/agent/connections/stub-mcp-user.ts` - `apps/fixtures/weather-agent/agent/agent.ts` - `apps/fixtures/weather-agent/agent/instructions.md` - `apps/fixtures/weather-agent/agent/skills/get-weather.md` - `apps/fixtures/weather-agent/agent/tools/get_weather.ts` - `docs/agent-config.md` - `docs/channels/custom.mdx` - `docs/channels/overview.mdx` - `docs/concepts/context-control.md` - `docs/concepts/default-harness.md` - `docs/concepts/execution-model-and-durability.md` - `docs/concepts/security-model.md` - `docs/concepts/sessions-runs-and-streaming.md` - `docs/connections.mdx` - `docs/evals/overview.mdx` - `docs/getting-started.mdx` - `docs/guides/auth-and-route-protection.md` - `docs/guides/client/overview.mdx` - `docs/guides/client/streaming.mdx` - `docs/guides/deployment.md` - `docs/guides/dynamic-capabilities.md` - `docs/guides/frontend/overview.mdx` - `docs/guides/hooks.md` - `docs/guides/instrumentation.md` - `docs/guides/session-context.md` - `docs/guides/state.md` - `docs/instructions.mdx` - `docs/introduction.md` - `docs/README.md` - `docs/reference/cli.md` - `docs/reference/project-layout.md` - `docs/reference/typescript-api.md` - `docs/sandbox.mdx` - `docs/schedules.mdx` - `docs/skills.mdx` - `docs/subagents.mdx` - `docs/tools.mdx` - `packages/eve/bin/eve.js` - `packages/eve/package.json` - `packages/eve/src/cli/commands/channels.ts` - `packages/eve/src/cli/commands/deploy.ts` - `packages/eve/src/cli/commands/info.ts` - `packages/eve/src/cli/commands/init.ts` - `packages/eve/src/cli/commands/link.ts` - `packages/eve/src/cli/commands/register-project-commands.ts` - `packages/eve/src/cli/dev/tui/setup-issues.ts` - `packages/eve/src/cli/run.ts` - `packages/eve/src/client/client.ts` - `packages/eve/src/client/index.ts` - `packages/eve/src/client/ndjson.ts` - `packages/eve/src/client/open-stream.ts` - `packages/eve/src/client/session.ts` - `packages/eve/src/compiler/artifacts.ts` - `packages/eve/src/compiler/channel-instrumentation-types.ts` - `packages/eve/src/compiler/manifest.ts` - `packages/eve/src/compiler/model-catalog.ts` - `packages/eve/src/compiler/normalize-agent-config.ts` - `packages/eve/src/compiler/normalize-channel.ts` - `packages/eve/src/compiler/normalize-connection.ts` - `packages/eve/src/compiler/normalize-hook.ts` - `packages/eve/src/compiler/normalize-instructions.ts` - `packages/eve/src/compiler/normalize-manifest.ts` - `packages/eve/src/compiler/normalize-sandbox.ts` - `packages/eve/src/compiler/normalize-schedule.ts` - `packages/eve/src/compiler/normalize-skill.ts` - `packages/eve/src/compiler/normalize-subagent.ts` - `packages/eve/src/compiler/normalize-tool.ts` - `packages/eve/src/compiler/workspace-resources.ts` - `packages/eve/src/evals/cli/eval.ts` - `packages/eve/src/evals/define-eval.ts` - `packages/eve/src/execution/dispatch-runtime-actions-step.ts` - `packages/eve/src/execution/durable-session-migrations/chain.ts` - `packages/eve/src/execution/next-driver-action.ts` - `packages/eve/src/execution/runtime-context.ts` - `packages/eve/src/execution/runtime-errors.ts` - `packages/eve/src/execution/sandbox/bash-tool.ts` - `packages/eve/src/execution/sandbox/prewarm.ts` - `packages/eve/src/execution/sandbox/read-file-tool.ts` - `packages/eve/src/execution/skills/instructions.ts` - `packages/eve/src/execution/subagent-adapter.ts` - `packages/eve/src/execution/workflow-runtime.ts` - `packages/eve/src/internal/nitro/host/configure-nitro-routes.ts` - `packages/eve/src/internal/nitro/routes/agent-info/build-agent-info-response.ts` - `packages/eve/src/internal/nitro/routes/channel-dispatch.ts` - `packages/eve/src/internal/nitro/routes/dev-runtime-artifacts.ts` - `packages/eve/src/internal/nitro/routes/dev-schedule-dispatch.ts` - `packages/eve/src/internal/nitro/routes/health.ts` - `packages/eve/src/internal/nitro/routes/index.ts` - `packages/eve/src/internal/nitro/routes/info.ts` - `packages/eve/src/protocol/routes.ts` - `packages/eve/src/public/channels/index.ts` - `packages/eve/src/public/connections/index.ts` - `packages/eve/src/public/context/index.ts` - `packages/eve/src/public/definitions/agent.ts` - `packages/eve/src/public/definitions/hook.ts` - `packages/eve/src/public/definitions/instructions.ts` - `packages/eve/src/public/definitions/instrumentation.ts` - `packages/eve/src/public/definitions/sandbox.ts` - `packages/eve/src/public/definitions/tool.ts` - `packages/eve/src/public/index.ts` - `packages/eve/src/public/skills/index.ts` - `packages/eve/src/public/tools/index.ts` - `packages/eve/src/react/use-eve-agent.ts` - `packages/eve/src/runtime/session-callback-route.ts` - `README.md`