capsa
Self-hosted, encrypted memory and knowledge base for AI agents. Stores Open Knowledge Format markdown bundles in PostgreSQL with pgvector, sealed at rest, and serves them over a bearer-token MCP endpoint with search, get, remember and related tools.
Features listed in the README
- Plaintext, and as safe as your PostgreSQL. PostgreSQL holds the knowledge in the clear, and capsa's safety is the database's — which is a lot, once it is hardened: loopback or a Unix socket, SCRAM, a dedicated role,…
- Postgres only. No Qdrant, no Redis, no object store. One database to back up, one thing to operate; the vectors sit beside the rows the filters need, and so does the word search's index — BM25 through pg_search, an…
- OKF is the format. A knowledge base is a directory of typed markdown files with YAML frontmatter and links: readable by agents, diffable by people, exportable 1:1 from the database with capsa export. capsa is a…
- No LLM in capsa. A search is an embedding, a cosine scan and a sort: no model call per query, no tokens, milliseconds. A remembered note becomes knowledge when an agent decides it does — capsa lists the queue and the…
Works with
The README documents setup for: Claude Code.
Taken from the project's README (fetched 2026-12-05). We haven't tested it; check the README for current steps.
Open the project ↗ Homepage ↗ Docs ↗Made this? Free badge · claim or fix this listing · feature it (paid, labelled) · weekly newsletter
How it compares
Side by side with similar listings in Memory & Context, using only facts we pulled from GitHub and each README. Stars measure attention, not quality.
| Listing | GitHub facts | Install line | Clients in README |
|---|---|---|---|
| capsa | 46 GitHub stars · Apache-2.0 · Go · last push 2026-12-05 | yes | Claude Code |
| Diderot | 64 GitHub stars · Apache-2.0 · Go · last push 2026-12-05 | yes | not checked |
| Waggle | 45 GitHub stars · Apache-2.0 · Python · last push 2026-12-04 | no | not checked |
| Loom | 282 GitHub stars · Apache-2.0 · Python · last push 2026-12-05 | yes | Claude Code, Codex, VS Code |
Also in Memory & Context
Things that help an agent remember.Diderot
Open-source, self-hosted server that indexes Slack, Discord, coding-agent sessions (Claude Code, Codex and others), Notion, Linear, Zendesk and Markdown docs, then answers questions with citations. It also exposes an MCP server for your own agents. You run one Go server with Postgres and Qdrant, and administer it in the browser.
No.807Waggle
Persistent graph-backed conversational memory for Codex that recalls project decisions, constraints, preferences, and outcomes across sessions.
No.428Loom
Self-hosted shared long-term memory and code index (definitions, callers, change impact) for Codex, stored in ClickHouse, with lifecycle hooks that capture each session and MCP tools that save and recall decisions across sessions and teammates.
No.421LLMSlim
Long-term memory for Codex with no LLM in the loop: a local MCP server stores messages word for word in SQLite and recalls the ones that answer a question within a token budget.