Side project · Open Source
The problem. Claude Code has built-in memory (CLAUDE.md, a capped MEMORY.md, transcripts on disk), but most of it is unsearchable, size-limited, or never loaded into a new conversation. Long-running work still re-derives the same decisions and re-asks the same questions I thought the project had already answered. Throughline widens that memory into a searchable, inspectable layer that persists across sessions and runs on my own machine.
A local memory layer for Claude Code. Postgres with pgvector
(HNSW indexes) for semantic search across sessions; embedders
configurable between OpenAI text-embedding-3-small and Ollama
for fully offline use; an MCP server exposing ten tools to the
client. A reflection engine periodically deduplicates, resolves
contradictions, decays stale entries, and consolidates the
knowledge graph. Transcripts are redacted against sixteen
patterns (API keys, tokens, private keys, emails, home-directory
usernames) before extraction. Runs entirely on the user's machine.