Talamus

io.github.ampres-ai由 GitHub 帳號 ampres-ai 發布v1.1.3更新於 Oct 27, 2026

Local-first, source-grounded memory that survives AI agent sessions.

已驗證STDIO僅桌面知識與記憶開發者工具

概覽

AI 產生的概覽

面向程式代理的本地優先 Markdown 記憶:保存決策、證據與更正,並在後續工作階段提供附引用的回想。

可以做什麼
  • 回想與提問:檢索已記住的筆記並附上來源,支援以過去日期回溯查詢
  • 匯入與搜尋:把本機筆記匯入記憶庫,執行一般或 LLM 輔助搜尋
  • 驗證:依每則筆記的來源資訊提出待審閱的更正
  • 擷取:經同意的 session 掛鉤讀取對話紀錄與 git 差異,只寫入值得記住的內容
  • 初始化與檢視:初始化記憶庫、選擇引擎、安裝 MCP 設定並開啟本機工作台
適用情境
適合程式代理在工作階段之間反覆遺失過去決策理由,而你希望把這些脈絡以純 Markdown 保存在本機並附上引用、而非放在託管服務的情境。
執行需求
透過 stdio 在本機執行,從 PyPI 以 uvx 或 pipx 安裝(Python);外掛方式需要 PATH 中有 uv。不需帳號、遙測或嵌入模型。LLM 相關操作需自備一個引擎,例如本機 CLI 或 Anthropic API 金鑰。另提供 Docker 映像。
安裝前請注意
session 擷取掛鉤會讀取代理對話紀錄與 git 差異並寫入記憶檔案,請確認其儲存內容與位置。代理的 MCP 連線預設為唯讀,開啟寫入需明確參數。LLM 相關操作會把內容傳送給你選擇的引擎,可能是付費 API。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Talamus,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Talamus

[CI] [PyPI] [MCP Registry] [Smithery] [license] [python]

Your coding agent forgets why a decision was made as soon as the session ends.

Talamus keeps the decisions, evidence, and corrections worth remembering as ordinary Markdown, then gives Claude Code, Codex, Cursor, Gemini CLI, and any MCP agent cited recall in the next session.

No hosted account. No telemetry. No required embeddings. Plain search stays on your machine; LLM-backed actions use only the engine you choose.

Try the whole local retrieval loop first — no persistent install, account, LLM, or hook, and no files written outside ./talamus-demo:

bash
uvx --from talamus talamus demo --root ./talamus-demouvx --from talamus talamus search "embedding" --root ./talamus-demouvx --from talamus talamus read "Embedding" --root ./talamus-demo

For a technical evaluation, read the architecture and the measured benchmarks.

[Talamus demo — a completed agent session becomes cited, local memory for the next one.]

Talamus was created and is maintained by Giovanni “Angio” Crapuzzi under Ampres, an independent AI and open-source project. The engineering case study documents the architecture, measurements, and trade-offs behind the project.

Connect an agent

Copy-pasteable arc, with the reproducible version in scripts/demo/run_magic.py:

  1. Set up the project brain. talamus setup initializes the brain, chooses an engine, installs MCP for Claude Code, Cursor, Codex, OpenCode, and OpenClaw when detected, asks once before installing the session-capture hook, and can probe the engine with one tiny live call.

    bash
    talamus setup
  2. Your agent session ends. The consented hook reads the transcript and git diff, applies the worth-remembering gate, writes only useful memory into this brain, and audits the event at .talamus/logs/capture.log.

  3. A fresh session asks what happened and gets an answer from real notes, with sources.

    bash
    talamus recall "why did we choose FTS5?"talamus ask "why did we choose FTS5?"
  4. Reproduce the scripted demo without spending LLM calls, or run it with your real engine.

    bash
    python scripts/demo/run_magic.py --fakepython scripts/demo/run_magic.py --keep --engine claude-cli

What is different

TIME: notes have version history, facts have valid-time windows, and talamus ask --as-of 2026-01 answers from the brain as it was.

MEANING: the ontology is induced from evidence, versioned, promoted by measured rules, and used to cluster and route the brain.

VERIFIABILITY: every note carries provenance; talamus verify proposes corrections to review, and answers cite the notes they used.

Measured comparison

The one-screen benchmark is rendered in the benchmark guide and committed as one-screen.md. Every number below traces to a committed result artifact.

corpusmetricTalamusBM25MiniLM vector DB
SciFact, English-only turfrecall@100.7970.7760.783
SciFact, English-only turfnDCG0.6640.6520.645
Book, cross-language + vaguehit@100.9710.8290.743
Book, cross-language + vaguerecall@100.9290.7710.700

Also measured in committed artifacts: −97.7% tokens per answer versus loading the brain into context, refusal 1.000 on out-of-scope questions, and search latency p95 72.6 ms at 10k notes / p50 624 ms at 100k.

The honest part: retrieval quality tracks the LLM you bring. With a strong expansion engine, talamus-smart leads a strong multilingual dense model (multilingual-e5) on every metric including ranking (nDCG 0.847 vs 0.837); with a weak or free one, e5 leads ranking while Talamus keeps the best hit/recall — and on a slow local engine, plain search beats --smart outright. Every number traces to a committed artifact; the losses stay on the table.

Engines

Bring the LLM you already have: claude-cli, codex-cli, antigravity-cli (agy), opencode, ollama, or anthropic-api.

Quickstart

bash
pipx install "talamus[mcp]"talamus setuptalamus ingest ./notes && talamus ask "what should I remember?"

Run talamus for the status dashboard, talamus quickstart for essential commands, or talamus ui for the local React workbench.

Agent MCP connections are read-only by default. To let an agent deliberately update this project brain, regenerate its configuration with talamus mcp install --enable-writes; central-brain writes require the additional --enable-central-writes flag.

Install the consent-aware Talamus agent skill from skills.sh:

bash
npx skills add ampres-ai/talamus --skill talamus-memory

OpenClaw can install the same standalone skill directly from ClawHub:

bash
openclaw skills install @ampres-ai/talamus-memory

Installing the standalone skill does not install Talamus automatically. If the CLI is missing, the skill explains the isolated installation choices and asks before running one.

Gemini CLI can install Talamus directly from its extension gallery or from this repository. The extension starts the pinned PyPI release through uvx, so it does not modify the cloned source tree:

bash
gemini extensions install https://github.com/ampres-ai/talamus --auto-update

goose can install the repository as an Open Plugin. This adds the consent-aware memory skill and starts the pinned local MCP server for each new CLI session:

bash
goose plugin install https://github.com/ampres-ai/talamus.git

The plugin requires uv on PATH; uvx downloads Talamus and its MCP dependencies into an isolated cache on first use.

Containerized MCP (the brain remains in the mounted local folder):

bash
docker run --rm -i -v "$PWD:/data" ghcr.io/ampres-ai/talamus:1.1.3

Links

Docs: quickstart, local-first agent memory, agent install guide, commands, agent tool calling, configuration, benchmarks, architecture, design principles, evaluation, multi-brain, ontology.

Project: security, contributing, roadmap, changelog.

Source code, issue tracking, and release history live at ampres-ai/talamus.

Development

bash
pip install -e ".[dev,mcp]"python dev.py

python dev.py runs ruff, format check, mypy, and unittest. Product behavior changes should update user docs in the same change.

License

Apache-2.0.

來源:README.md,提交 e5e14da

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.1.3最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分