
Continuum
io.github.pouyahasanamrejiPublished by GitHub account pouyahasanamrejiv0.3.0Updated Oct 24, 2026
Shared memory + orchestration for your coding agents. Local-first MCP, vector RAG.
Overview
A local-first MCP server that gives coding agents shared vector memory and an orchestration protocol for coordinating parallel work across git worktrees.
- What you can do
- Continuum stores project lessons as embeddings in a local SQLite database with a sqlite-vec index, so any connected MCP client can search them semantically. Tools cover projects, a PLOT.md orchestration protocol, knowledge lessons (list, search, get, create, update, delete), and an agent registry with status transitions and reserved-path tracking. A client that reads the plot becomes an orchestrator: it researches, verifies, persists a dispatch record, and hands back a prompt for a fresh agent in an isolated worktree. A separate web panel lets humans browse projects, agents, plot, and knowledge.
- When to use it
- Use it when several coding agents work on the same repository and you keep re-explaining conventions or hitting file collisions. It suits teams that want lessons from finished tasks to persist across sessions, models, and clients, and that prefer a local database over a hosted service.
- Requirements
- Runs as a local process, desktop only. Docker image or bare metal with Node >=22.12.0 and pnpm 10.33+. Optional environment variables: EMBEDDER_URL, EMBEDDER_MODEL, EMBEDDER_DIM, ORCHESTRATOR_DB_PATH; an ANTHROPIC_API_KEY is only needed for token-count endpoints. Clients connect over Streamable HTTP.
Installation
In SourceWeft
- Open Continuum in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Shared memory + orchestration for your coding agents.
One MCP server. Tell any client to read the plot — it becomes the orchestrator.
Dispatches fresh agents in isolated worktrees, shares lessons across every Claude Code / Codex / Cline chat on the project.
[Node] [pnpm] [NestJS] [Astro] [sqlite-vec] [MCP]
Quick Start • Memory & Vectors • Workflow • MCP Tools • Wire It In • Configuration
Your agents forget. Continuum remembers.
Point any MCP client at Continuum and tell it to read the plot. The client becomes an orchestrator — it researches the codebase, verifies the plan, persists a dispatch record, and hands you a ready-to-paste prompt for a fresh agent in an isolated git worktree. Every other Claude Code / Codex / Cline chat on the project sees what's reserved, shares what's been learned, and never re-explains the codebase. One local server: vector knowledge base, orchestration protocol, agent registry — shared across every MCP-speaking app on your machine.
No SaaS. No telemetry. No keys to manage. Boots in seconds. Survives reboots. Scales with you.
What you get
Why Continuum exists
Quick start
🐳 The easy path — one Docker command
That's it. The whole stack comes up with hot reload, a SQLite browser, and a single shared volume — no Node, no pnpm, no native-build dance on your host machine.
What you get:
The API embeds in-process by default (Snowflake/snowflake-arctic-embed-m-v1.5 via Transformers.js, 768-dim, ONNX q8). No external service required for semantic search. Override via EMBEDDER_URL to point at any HTTP-based embedder (Ollama, TEI, OpenAI-compatible). Turn the bundled TEI container on with the embedder profile:
Bind mounts keep the source tree on your host — edits are instant. Named volumes hold node_modules so installs survive restarts. Database lives at ./.local-data/dev-orchestrator.db on your host, gitignored, safe to wipe.
Stop everything:
🛠️ Or run on bare metal
Dev SQLite at ./.local-data/orchestrator.db. Gitignored. Wipe to reset — next boot recreates and migrates forward.
Requires Node >=22.12.0 and pnpm 10.33+. The compose path skips both.
Memory & vectors
This is the headline. Continuum's knowledge layer is what makes your agents stop being amnesiac.
How a lesson becomes memory
How recall works
Phase 1 of every dispatch (the orchestrator does this automatically):
Search and list return metadata only — slug + kind + agentSlug + timestamps. Call knowledge_get for the body of any lesson worth reading. Keeps top-K context cheap; the orchestrator triages first, fetches second.
The result: the agent that's about to plan your task already knows what your last five agents learned the hard way. No prompt engineering. No "here's our convention" copy-paste.
Two kinds of knowledge
The freshness profile
Vectors are pinned to a (EMBEDDER_URL, EMBEDDER_MODEL, EMBEDDER_DIM) triple. Change any one and Continuum marks stale vectors for rebuild on next boot. You stay in control of which embedder owns your memory — local Ollama, self-hosted TEI, or anything OpenAI-shaped.
Pluggable embedders
The embedder is required and runs in-process by default (Snowflake/snowflake-arctic-embed-m-v1.5, 768-dim, ONNX q8). The model weights are bundled in the API image — no extra container, no extra config, semantic search works out of the box.
Override via EMBEDDER_URL to delegate embedding to an HTTP service:
Built on sqlite-vec
The vector index lives in the same SQLite file as your projects, agents, and plot. One file. One backup. One restore. No separate vector DB to provision, no Pinecone bill, no Chroma daemon to babysit. WAL mode keeps reads concurrent with writes; foreign keys keep your registry consistent; busy_timeout = 5000 keeps things calm under contention.
Wire it into your AI client
Claude Code
Restart Claude Code. Tools appear under mcp__continuum__*.
Codex
Anything else (Cline, Cursor, custom)
Point any MCP-compatible client at http://127.0.0.1:7776/mcp. Streamable HTTP, stateful sessions (UUID-keyed). Server name continuum.
Your first project
Inside any wired client:
What happens:
- Client calls
project_create({project: "/absolute/path/..."}) - Server seeds PLOT.md (the orchestration protocol) and an empty knowledge base
- Client calls
plot({project}), reads the protocol, enters orchestrator mode - Client follows the 4-phase workflow — researches, verifies, persists a dispatch record, hands you a ready-to-paste prompt for a fresh agent in a git worktree
You paste the prompt into a new Claude Code / Codex session. That agent codes inside an isolated worktree against its reserved paths. Other parallel agents see the new agent's reservations via the coordination brief.
When work merges, the orchestrator records what was learned via knowledge_create — and every future dispatch on this project benefits from it forever.
The workflow
1. Intake
2. Research
Spawn an Explore / Plan subagent. It reads the codebase against the loaded knowledge. Produces a file-by-file plan: create / modify / delete. Plan only — no code.
3. Verify
Spawn a critique agent. It challenges every file touched, looks for orphans and broken call sites, cross-checks against active agents' reserved paths. Returns annotated deltas.
4. Handoff
Agent lands as draft. Promote with agent_update({status:'active'}) when you dispatch. On merge, record the SHA and bank the lesson:
The orchestrator never edits source, runs regen, merges branches, or pushes commits. It researches, verifies, coordinates, and persists. Code lives in fresh agents inside isolated worktrees.
MCP tools
Every tool takes project (canonical absolute path) as its first argument.
Project
Plot — the orchestration protocol
plot_update validates --- a/PLOT.md / +++ b/PLOT.md / @@ headers strictly. Context mismatch throws hunk_mismatch with the failing hunk header. Re-read with plot, regenerate the diff, retry. No silent overwrites.
Knowledge — the vector memory
knowledge_search runs vector lookup over the sqlite-vec index. Pass natural prose — questions, task statements, descriptions all work. SQL wildcard syntax does not. Response is ranked metadata; call knowledge_get({project, slug}) for the body of any hit worth reading. Same pattern for knowledge_list (use kind: 'fundamental' to enumerate the binding set, then get each).
Agents
Allowed transitions: draft → active → merged | abandoned. merged requires a 7–40 char commit SHA. abandoned requires a reason. Only active agents reserve paths.
registry_list returns the collision matrix metadata in one paginated envelope. To inspect a dispatch's plan or implPrompt, follow with agent_get({project, slug}). Page through with page until hasNextPage is false.
Example session
Next time anyone — you, Claude, Codex — touches anything rate-limit-shaped on this project, that lesson surfaces automatically.
Web panel
[Agents registry — slug, status, branch, reserved-path count, timestamps]
[Knowledge browser — a fundamental lesson opened, metadata + content]
Astro 6 + React 19 islands. Tailwind v4. shadcn/ui.
Settings stored in app_settings (SQLite) override env vars. Headless deploys still work via env alone.
Configuration
Both env vars and panel settings supported. Panel takes precedence.
Stack
Scripts
Conventions
projectis always a canonical absolute path. Pass the project root, never a worktree subdirectory. Worktree paths throwproject_not_found.- Plot mutations flow through unified diffs. No full-text writes. Bad context → server rejects with the failing
@@header. - Knowledge updates are whole-content replace. Pass the full new
content. Re-embedded on save. - Reserved paths are JSON arrays of globs. Only
activeagents reserve. - Migrations are forward-only on boot. Production blocks destructive migrations unless explicitly opted in.
Troubleshooting
Roadmap
- Cross-project knowledge sharing (
kind: 'global') - Embedding re-rank with a small reranker model
- One-shot import of existing CLAUDE.md / AGENTS.md / Cursor rules → fundamentals
- Read-only public knowledge mirror (publish a project's lessons as a static site)
- Built-in observation hooks for SessionStart / SessionEnd events
Contributing
Contributions welcome. Fork, branch, test, PR. Match Prettier defaults (100-col, double quotes, semicolons, ES5 trailing commas). Keep MCP tool changes Zod-typed.
Support
Stop letting your agents forget.
pnpm install && pnpm dev — and they never will again.
Source: README.md at commit c5718cd
Tools
0Version history
1- v0.3.0LatestSep 16, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.