All research

Building AI agents in 2026: what 107 repos say about the stack

Result

TypeScript, Node, Hono, AI SDK, Zod, Postgres and pg-boss, with a separate worker. The bigger call is who owns side effects: the model proposes, application code authorizes, records and executes. Only 13 of 107 repos had a source-backed MCP Code Mode path, so treat it as an option to measure, not a default.

Repos read
107
Landscape
200 repos
Recent cohort
25 of 299
Code Mode
13 of 107

We read agent repositories instead of agent launch posts: a 93-profile survey, a 26-repo architecture deep dive, an MCP Code Mode source audit and a 200-repo landscape. The language mattered less than one question: who owns the side effect? A durable queue, a saved chat and a sandbox each solve a different problem, and none of them knows whether a remote write committed before the worker died. The full write-up covers six architectures worth copying (Nod, Agentes, DevBox, Design Agent, Pi Pocket, AgentRun), the minimum records for an agent that can write, when Code Mode earns its place, and a fault matrix to run before you trust any stack.

Read the full study on Every Local AI