Second Brain Pro · Claude Code and Codex
Librarian: memory for your agents
Claude Code and Codex find past decisions themselves instead of starting every session from zero. Runs on your machine.
What is included
- 01The Librarian source code: the same memory pattern my own agents run on
- 02Claude Code and Codex log adapters that turn a finished session into a short factual digest
- 03PostgreSQL with pgvector for search by meaning, not just keywords
- 04Four MCP tools: search, digest, session list and “remember this” on your explicit request
- 05Docker Compose for macOS, Linux and your own server
- 06A synthetic end-to-end check that proves the install before any real logs are used
A ZIP archive with source code and documentation, all in English. Start with START_HERE.md: hand it to your agent and it installs Librarian step by step. The kit's own licence (LICENSE inside the archive) also applies.
A good fit if
You work in Claude Code or Codex every day, and every new session starts from zero: the agent rediscovers what you already decided yesterday. You want past decisions to surface on their own.
Not a fit if
If you do not work with terminal agents yet, start with a simpler step. This is not a hosted service or an app with buttons: it runs on your machine and needs Docker and a little patience.
How it works
- 1Download the archive and give START_HERE.md to your agent.
- 2Enter your own Gemini API key; the agent sets up the database and MCP.
- 3Pass the synthetic check, and only then connect your real sessions.
Good to know first
- Requires Claude Code or Codex, plus Docker on your computer or server.
- Digests and search use the Gemini API: you need your own Google key, and requests may cost money.
- No automatic capture: sessions are ingested by command, and “remember this” runs only when you ask.
- Runs locally or over an SSH tunnel. Never expose the server to the internet; there is no multi-user access and no backup.
- Digests are model-generated and can miss details. Check important decisions against the original session.
- Secret redaction is heuristic and cannot guarantee removal. Check what you ingest.
- Licensed to one buyer or one company: no resale or publication.
Questions
Is this the same system you run?
Does my data leave my machine?
Can my company use it?
What if it is not right for me?
A simpler first step
Not using terminal agents yet? Start with ChatGPT: a one-hour setup for €19.
Inbox in order with ChatGPT →Seller details are in the Impressum. Your invoice is generated automatically.