Adam ports Vercel's eve durable AI agent runtime onto Convex, running the entire execution engine inside a single Convex deployment without an external server.

Stars

63

7-day growth

No data

Forks

7

Open issues

0

License

No data

Last updated

2026-07-23

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It demonstrates a novel architecture where an existing server-based agent runtime is repurposed as a library inside a serverless database platform, achieving both durability and low latency.

Who it is for

  • Developers building AI agents
  • Convex users seeking advanced workflow capabilities
  • Vercel eve users looking for alternative hosting
  • Developers interested in serverless durable execution

Use cases

  • Building persistent AI chat agents with human-in-the-loop approval
  • Creating agents that perform long-running tasks by chunking work
  • Deploying agents that can be hot-swapped without full deployment
  • Observability dashboards for agent runs

Strengths

  • Eliminates external services (Postgres, Redis, HTTP server) by using Convex for state, queues, and scheduling
  • Achieves low latency via inline fast path that reduces turn time to model latency
  • Provides durable, event-sourced workflows with automatic retries, lease management, and dead-letter handling
  • Supports hot-swapping agent bundles without Convex deploy, using file storage

Considerations

  • Single step bodies (model calls, tool calls) cannot be suspended if they exceed action timeout; requires chunking or hooks
  • Requires Node 24+ and pnpm 10
  • Auth is BYOK for model credentials; public queries lack authentication (noted in README)

README quick start

adam

eve is Vercel's durable AI agent runtime. Out of the box it runs as a long-lived Node server and persists its state through the Workflow SDK's "world" — Postgres + Redis locally, Vercel's managed queues in production.

adam ports the whole thing onto Convex. Not just the durable state — the execution engine itself. eve build is used as a compiler; the emitted server bundle is vendored into the Convex deployment and executed inside Convex "use node" actions. At runtime there is no eve server. One Convex deployment runs and stores everything:

  • The agent runtime — eve's workflow handler + channel API, invoked in-process by Convex actions (runner/engine, chat:send)
  • Workflow state — runs, steps, events, hooks (event-sourced, transactional)
  • Message queue — leased jobs with retries, backoff, idempotency; delivery is driven by the Convex scheduler, with crons as a safety net
  • Live streams — model/session output chunks written to Convex, decoded server-side and tailed reactively by the UI
  • Schedules — eve's markdown schedules (heartbeat.md) mapped to Convex crons
  • App data — the demo agent's "team notepad" tool writes ordinary Convex documents next to the workflow tables
  • The dashboard itself — a Svelte 5 app served from Convex static hosting
┌──────────────────────────────────────────────────────────────────┐
│  Convex deployment (packages/backend)                            │
│                                                                  │
│   chat:send ─────────► eve channel API ─┐                        │
│   (action, "use node")                  │ enqueue                │
│       │ inline fast path                ▼                        │
│       └─► deliverSessionInline   world/queue                     │
│           (same action)          (mutations)                     │
│                                         │ ctx.scheduler          │
│                                         ▼                        │
│                                  runner/engine:tick              │
│                                  (action, "use node")            │
│                                    │ imports vendored eve bundle │
│                                    ▼                             │
│                            workflow P

Description

adam — Vercel's eve agent runtime with its entire durable world (state, queue, streams, UI) on Convex

Related repositories

Similar projects matched by category, topics, and programming language.

react
Featured
react GitHub avatar

react

React is a JavaScript library for building user interfaces with declarative, component-based, and cross-platform design.

Web DevelopmentFrontend Frameworks
246,741
tandpfun
Featured
tandpfun GitHub avatar

wardrobe

A GPT‑image powered app that extracts individual garment cutouts from photos, organizes them into a digital wardrobe, and generates modeled outfit previews.

JavaScript
1,570
mshumer
Featured
mshumer GitHub avatar

Claude-of-Duty

A browser-based first-person shooter built entirely with procedural generation and orchestrated AI agents, featuring 55k lines of Three.js/WebGL2 code and no art assets.

AI & Machine LearningAI Agents
1,234