
Continuum
io.github.pouyahasanamreji由 GitHub 帳號 pouyahasanamreji 發布v0.3.0更新於 Oct 24, 2026
Shared memory + orchestration for your coding agents. Local-first MCP, vector RAG.
概覽
一個本地優先的 MCP 伺服器,為編碼代理提供共享的向量記憶與協作協定,用來協調多個 git worktree 中的平行工作。
- 可以做什麼
- Continuum 將專案經驗以嵌入向量存入本機 SQLite 資料庫,並使用 sqlite-vec 索引,任何接入的 MCP 用戶端都能進行語意檢索。工具涵蓋專案、PLOT.md 協作協定、知識條目(列出、搜尋、取得、建立、更新、刪除),以及具狀態轉換與保留路徑追蹤的代理註冊表。讀取 plot 的用戶端會成為協調者:負責研究、驗證、寫入派送紀錄,並回傳一段可直接貼給新代理的提示詞,讓它在隔離的 worktree 中工作。另有網頁面板供人瀏覽專案、代理、plot 與知識。
- 適用情境
- 當多個編碼代理同時處理同一個程式碼倉庫,而你反覆解釋慣例或經常遇到檔案衝突時適用。它適合希望已完成任務的經驗能跨工作階段、跨模型、跨用戶端保留,並偏好使用本機資料庫而非託管服務的團隊。
- 執行需求
- 以本機程序執行,僅限桌面端。可用 Docker 映像,或裸機執行,需要 Node >=22.12.0 與 pnpm 10.33+。選用環境變數:EMBEDDER_URL、EMBEDDER_MODEL、EMBEDDER_DIM、ORCHESTRATOR_DB_PATH;僅在呼叫 token 計數端點時需要 ANTHROPIC_API_KEY。用戶端透過 Streamable HTTP 連線。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Continuum,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
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.
來源:README.md,提交 c5718cd
工具
0版本歷史
1- v0.3.0最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。