Talamus
io.github.ampres-aiPublished by GitHub account ampres-aiv1.1.3Updated Oct 27, 2026
Local-first, source-grounded memory that survives AI agent sessions.
Overview
Local-first Markdown memory for coding agents: keeps decisions, evidence and corrections, then gives cited recall in later sessions.
- What you can do
- Recall and ask: retrieve remembered notes with sources, including time-travel queries as of a past date
- Ingest and search: load local notes into the brain and run plain or LLM-assisted search
- Verify: propose corrections to review, backed by per-note provenance
- Capture: a consented session hook reads transcripts and git diffs and writes only notes judged worth remembering
- Set up and inspect: initialize the brain, choose an engine, install MCP configs, and open a local workbench
- When to use it
- Useful when a coding agent keeps losing the reasoning behind past decisions between sessions and you want that context stored as plain Markdown on your own machine, with citations, rather than in a hosted service.
- Requirements
- Runs locally over stdio, installed from PyPI with uvx or pipx (Python); uv must be on PATH for the plugin route. No account, telemetry or embeddings required. LLM-backed actions need one engine you already have, such as a local CLI or an API key for the Anthropic API. Optional Docker image.
Installation
In SourceWeft
- Open Talamus 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
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:
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:
-
Set up the project brain.
talamus setupinitializes 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. -
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. -
A fresh session asks what happened and gets an answer from real notes, with sources.
-
Reproduce the scripted demo without spending LLM calls, or run it with your real engine.
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.
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
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:
OpenClaw can install the same standalone skill directly from ClawHub:
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:
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:
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):
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
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.
Source: README.md at commit e5e14da
Tools
0Version history
1- v1.1.3LatestSep 16, 2026
Score
50% 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