Show HN: cos-kit – A minimalist HPMA (highly persistent, multi-agent) toolkit A developer released cos-kit, a zero-runtime-dependency HPMA (highly persistent, multi-agent) toolkit built on the Python 3.11+ standard library, SQLite FTS5, plain Markdown, and existing agent CLIs including claude, codex, and antigravity. The toolkit centers on a persistent "chief of staff" agent that recursively delegates to subagents via org.json and cos dispatch --async, with least-privilege zone boundaries set in zone.json, and stores all chats, inbox replies, task updates, and worker runs verbatim in an append-only SQLite events table (state.db) that serves as the source of truth. The author states cos-kit is designed to run inside an isolated VM or sandbox such as exe.dev, noting that cos web binds to 127.0.0.1:8000 by default with no built-in authentication and that headless workers invoke native CLIs in unattended mode. cos-kit is a minimalist HPMA highly persistent, multiple agent toolkit. Zero runtime dependencies. Pure Python 3.11+ standard library, SQLite FTS5, plain Markdown, and your existing agent CLIs claude , codex , antigravity . Models are getting a lot more capable. I’m learning to stay out of the models' way as much as I can. They will write the code they need, and often, they don't need much code at all. That said, I have a few priors, which this toolkit embodies: - Plain files and SQLite. Easy to inspect, easy to port. - Learn every bitter lesson http://incompleteideas.net/IncIdeas/BitterLesson.html . I just learned one about memory https://hatchery.build/blog/the-bitter-lesson-for-agent-memory , and this toolkit is a thin wrapper on top of it. - Be stateless when you can. Our memory, conveniently, allows stateless runs, which makes agent decisions more reproducible and avoids all manner of compaction amnesia, markdown editing drift, etc . php Human <--- Inbox UI / CLI <--- cos Chief of Staff --- subagents recursive or BYO | ^ claude/codex/agy v | L2: state.db lossless SQLite + FTS5 event log — source of truth L0/L1 optional : AGENTS.md, goals.md, projects/ .md disposable caches - A persistent "chief of staff" cos - Delegates to an arbitrary number of subagents, recursively org.json , cos dispatch ... --async , with least-privilege zone boundaries zone.json . - Minimal SQLite Kanban cos task / cos board — or bring your own. - Model- and harness-agnostic: swap any agent between claude , codex , and agy on the fly cos org set-model , with automatic fallback on headless wakes cos-wake . - Delegates to an arbitrary number of subagents, recursively - Communicate via an inbox UI or bring your own - Built-in single-file stdlib web briefing UI Needs you decision cards with inline reply and file uploads, Goals & Projects rendered from goals.md , live worker activity plus CLI cos inbox , laptop/inbox . - Built-in single-file stdlib web briefing UI - Run on exe.dev https://exe.dev or bring your own - Runs on an always-on Linux VM cos systemd generates ready-to-enable units , locally on macOS/Linux cos-services , or across SSH workers. - Runs on an always-on Linux VM - CoS uses L2 memory https://hatchery.build/blog/the-bitter-lesson-for-agent-memory or bring your own - L2 state.db , source of truth : append-only SQLite + FTS5 events table storing interactive chats claude / codex / agy , inbox replies, task updates, worker runs, wakes, and optional meeting transcripts verbatim. - Optional L0/L1 caches AGENTS.md , goals.md , projects/ .md : small, disposable files for quick orientation and letting you steer priorities directly. Everything detailed stays in L2 and gets searched on demand with cos mem . - Background wakes cos-wake start fresh each turn and query L2 when they need older context. cos-kit is designed to run inside an isolated VM or sandbox such as an exe.dev VM , not bare on a laptop holding unrelated production credentials: - cos web binds to 127.0.0.1:8000 by default and has no built-in authentication . When running on a VM, bind behind exe.dev , Tailscale, or an authenticating reverse proxy. - Headless workers invoke the native CLIs in unattended mode --dangerously-skip-permissions / --dangerously-bypass-approvals-and-sandbox , scoped by your VM and zone.json guardrails. - cos mem sql always opens SQLite read-only mode=ro + PRAGMA query only = ON . git clone https://github.com/elsehow/cos-kit.git && cd cos-kit pip install -e . or: uv tool install . cos init ~/my-cos cd ~/my-cos cos digest cos web http://127.0.0.1:8000 git clone https://github.com/elsehow/cos-kit.git && cd cos-kit ./bin/cos init ~/my-cos cd ~/my-cos ../cos-kit/bin/cos digest ../cos-kit/bin/cos web Open an interactive chat in ~/my-cos with whichever CLI you want claude , codex , or agy . It loads AGENTS.md / CLAUDE.md , runs cos digest , and shares the same L2 event log with every other CLI and background worker. Briefing & L2 memory shared across claude / codex / agy cos digest cos mem describe cos mem search "query" --source chat turn|inbox|worker run|cos wake|granola --project slug cos mem read