Runtime & language
Monorepo
Code quality & git hooks
Backend daemon (apps/monad)
AI / agent layer (apps/monad/src/agent, @monad/atoms)
Web UI (apps/web, @monad/ui)
TUI (apps/tui)
CLI (apps/cli)
Sandboxing (@monad/sandbox, @monad/sandbox-vm)
Testing
Release & CI
Key constraints
- No Node.js — everything runs on Bun. Don’t introduce
node,ts-node,jest,webpack,express,pg,ioredis,better-sqlite3, orws. - No external DB at runtime — SQLite + Bun KV only; the daemon must work offline with zero infra.
- Schema-first at boundaries — every HTTP/WS/disk boundary uses a Zod schema as the single source of truth; never cast external data.