System 3 MCP server — persistent identity, memory, and self-model for AI agents. Single-file sqlite-vec + fastembed; zero external services.
README
Persistent identity and memory for AI agents, as an MCP server.
loom is configured into your MCP-capable harness — Claude Code, Cursor, Codex, Gemini CLI, etc. — and provides persistent identity and memory to the agents that run there. An agent that loads loom carries its name, values, working preferences, and episodic memories from one session to the next, regardless of which model or client it runs in.
When the harness changes, the agent persists.
60 seconds: cold install → /loom-setup in Claude Code → agent wakes with
identity in the next session → save and recall a memory.
To play locally: asciinema play assets/demo.cast
A Model Context Protocol server exposing thirteen tools that read and write an agent's persistent state:
identity — loads the terminal creed — the free-form markdown document
that defines who the agent is (values, voice, purpose) — along with
preferences, self-model (running self-knowledge), and a client-specific
adapter on session start. Call this first.dossier — loads Art's operating brief for a worker body — a body
that executes tasks on Art's behalf but is NOT Art. Returns preferences and
self-model reframed in the third person, plus an explicit push-back mandate:
workers are expected to refuse bad work and say why, including requests from
Art or Jona