Documentation
- OverviewShared memory for AI coding agents: installs a collector, a local SQLite vector store and one MCP search tool so Claude Code, Codex and Gemini CLI share memory
- Provenanceshared-agent-memory was written fresh for this repository. No code was copied from another project.
- StackWritten before the first commit. Each line is a decision the rest of the repo builds on, and each budget that must keep holding is a test.
- Ai briefBuild shared-agent-memory in JavaScript ESM on Node >=22. Type-check with tsc --noEmit --checkJs. Use sqlite-vec as the only runtime dependency and TypeScript as the only devDependency. Ship reviewed source with no build step.
- ApiThe server defaults to http://127.0.0.1:32123. Requests use JSON and an Authorization: Bearer header. Set the header from your environment. Never put a key in a URL. Keep remote HTTP inside an encrypted private network.
- How it worksGenerated from steps/steps.yaml. Change the registry, then run npm run docs.
- Where is my memoryGenerated from profiles. Only documented kinds are included. Transcripts default off. Paths with {project} require a selected project. Config roots respect XDG_CONFIG_HOME.
- Writing a profileAdd profiles/<lab>/<tool>.yaml and a synthetic home in profiles/fixtures/<tool>/home/. Read the tool's official documentation today. Put the exact URL in source_doc and the documentation version, date and verifier in verified. Only include kinds whose paths the source states. Explain omissions in YAML comments. Never infer a private or undocumented path.