sill-ensoul
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@sill-ensoulwake up alter-ego"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Sill-Ensoul
English | 简体中文
Long-term memory that follows your agents across CLIs, projects, and sessions.
Give your CLI agents experience that doesn't vanish when you switch projects, switch tools, or start a new session — it doesn't touch your workflow, just adds memory to the agents you already use.
ensoul /ɪnˈsoʊl/ — verb. To give a CLI agent memory that carries across sessions, so it's more than a blank slate each time. An agent that's been ensouled is called an ensouler.
What it does
Cross-CLI: one memory, shared across Claude Code / Codex / zcode / Cursor / OpenCode. Use Claude today, switch to Codex tomorrow — your agents' memory follows.
Cross-project: memory lives in a global KB, not bound to any project repo. The bug your algo agent hit in project A is recalled in project B.
Cross-session: every new conversation, the agent
wiki_searches its own past experience first and starts with memory, not from scratch.Agent isolation: spin up multiple ensoulers (algorithm engineer, backend, testing, UI...) — each has its own memory bundle, no cross-contamination. Wake one, work with its experience.
Memory is files: plain markdown (following OKF) — git-able, diff-able, editable in Obsidian. Vector stores are just an index; md is always source of truth.
Zero external deps: SQLite FTS5 full-text search (CJK char segmentation + BM25) — no OpenAI key, no Docker, no cloud service. Model-vendor-agnostic: inference always stays in your CLI.
Proactive distillation: when an agent hits a non-trivial pitfall or makes a reusable decision, it distills and writes it directly, then tells you what it wrote (concept_id + one-line gist). You don't have to remember to write things down, and you keep after-the-fact veto (ask it to delete/edit).
Related MCP server: UseCortex MCP Server
Quick Start
After cloning, do one of these in your CLI (Claude Code / Codex / zcode / OpenCode, etc.):
# Option A: let the CLI's AI set it up (recommended — you send one message)
say: set up sill-ensoul from <repo>/SETUP.md
# Option B: more direct — paste SETUP.md contents into the chat, hit enterThe CLI's AI follows SETUP.md: installs the package → builds the KB → creates the default agent alter-ego → registers the MCP server → installs the shell. Restart the CLI, then say:
wake up alter-ego # or 唤醒 alter-ego / 唤醒分身alter-ego is your digital twin (default agent, empty memory). Accumulate experience with it first; once a domain (algorithm/backend/ ...) has enough, tell the CLI "create an agent called algo-engineer" for a specialized role.
pip install -e <repo> # or, once published: pip install sill-ensoul
sill-ensoul-init # builds the global KB + default agent alter-ego
# then have the CLI's AI read SETUP.md to finish MCP registration + shell installRequires Python >= 3.10.
Global KB, not inside any project repo (private memory never enters git):
Platform | Default path |
Windows |
|
macOS |
|
Linux |
|
Set ENSOUL_KB=<path> to put it anywhere (e.g. a Dropbox / iCloud folder for multi-device sync). Open that folder in Obsidian — each agent is a subfolder, the .md files inside are the memory.
After install, sill-ensoul-init provides a few maintenance commands:
Command | Purpose |
| Initialize the global KB + default |
| Print the CLI-agnostic shell for manual append to a CLI instruction file. |
| Auto-update sill-ensoul shell segments in supported CLI instruction files (Claude Code, Zcode, Codex, OpenCode). |
| Rebuild the SQLite FTS index for every agent from the |
Supported CLI instruction files are detected automatically; only the ones that exist and already contain sill-ensoul markers are updated.
How it works
Claude Code / Codex / zcode / Cursor ← inference runs in each CLI's model vendor, not locked
| load persona + wiki slice (thin shell: AGENTS.md / CLAUDE.md)
sill-ensoul-mcp (MCP server, 8 tools, read/write/search)
| read/write
knowledge/agents/<id>/ ← one OKF bundle per ensouler (markdown files)
knowledge/agents/<id>/.fts/index.db ← local SQLite FTS5 index, derived from the .md filesThree-layer separation (design decisions D1/D2, see docs/ROADMAP.md):
Engine (
ensoul/) — CLI-agnostic, handles data/tools only, no inference.server.pyis a thin MCP shell, pass-through only.Shell (
AGENTS.md/CLAUDE.md) — one per CLI, defines "when to wake/search/distill", references the shared WORKFLOW.md.Memory (
knowledge/agents/<id>/) — OKF markdown files, git-able, diff-able, human-readable.
About the .fts/index.db file: Each agent bundle has a local SQLite FTS5 index that caches metadata and accelerates search. It is derived data — the .md files are always the source of truth. You can delete .fts/ at any time; it will be rebuilt on demand. SQLite is part of Python's standard library, so there is no extra install and no separate database process.
Core loop: wake (load persona + knowledge map) → recall (search relevant experience) → cite (reference real memory with concept_id) → distill (new experience, written directly with a heads-up). Memory persists across projects and sessions.
8 Tools
Tool | Purpose |
| List all ensoulers |
| Create an ensouler (dir + persona + index + log template) |
| Delete an ensouler (irreversible, confirm first) |
| Wake/switch ensouler (persona + knowledge map) |
| Full-text search an ensouler's experience (FTS5 + BM25, with CJK segmentation) |
| Read a concept's details |
| Distill new experience (type required) |
| Log a change |
Multi-ensouler collaboration needs no dedicated tools: any agent can use
wiki_write_concept(agent_id=...)to operate on another agent's memory — orchestrator reads/writes directly (see docs/ROADMAP.md D6).
Tests
pip install -e .
python -m tests.run_testsThree release tests, all green = core loop works (each builds its own temp KB, runs straight after clone):
Test | Verifies |
| FTS5 search + persona exclusion (11 regressions) |
| MCP shell layer (8 tools, real stdio) |
| Cross-project memory retention (end-to-end) |
Status
✅ Core loop works: wake → recall → cite → distill → cross-project retention
✅ Installable:
pip install+sill-ensoul-initself-boots CLI setup✅ Cross-CLI verified: zcode + Claude Code both adapted
✅ Design final: auto-distill + notify-after (not pre-write confirmation, not full-auto). Multi-agent collaboration via orchestrator model (D6).
See docs/ROADMAP.md
Dig deeper
docs/DESIGN.md — design background: why OKF, why MCP, comparison with mem0/letta/graphiti
docs/ROADMAP.md — progress + design decisions D1-D8 + historical pitfalls H1-H12
WORKFLOW.md — CLI-agnostic workflow (wake/recall/distill/skill dispatch)
SETUP.md — machine-readable adaptation intent for the CLI's AI
License
Released under the MIT License © 2026 sillogic.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenancePersistent memory for AI agents. Store, recall, and share knowledge across sessions with five MCP tools: remember, recall, context, forget, and share. Includes semantic search and agent/user/org scoping.Last updated52Apache 2.0
- Alicense-qualityCmaintenanceProvides persistent memory for AI coding agents, enabling them to read and write structured knowledge through MCP-compatible tools.Last updated1MIT
- Alicense-qualityBmaintenanceProvides persistent, local-first AI memory across sessions via MCP tools for storing, searching, and retrieving context from past interactions.Last updated1MIT
- Alicense-qualityAmaintenanceProvides persistent memory for AI coding agents via MCP, allowing them to recall fragility, decisions, and bugs across sessions.Last updated2343MIT
Related MCP Connectors
User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote MCP.
Shared long-term memory vault for AI agents with 20 MCP tools.
Your memory, everywhere AI goes. Build knowledge once, access it via MCP anywhere.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sillogic/sill-ensoul'
If you have feedback or need assistance with the MCP directory API, please join our Discord server