Repository navigation
Releases
Treant 0.1.1
Image: ghcr.io/ashkmb/treant-memory:0.1.1 (also 0.1), linux/amd64 and linux/arm64. MCP Registry: io.github.ashkmb/treant-memory.
Changed
- Every MCP tool now has a title, a description that says when to use it and what it returns, a description for each parameter, and MCP annotations (read-only, destructive, idempotent, closed world). Clients and directories see what each tool does before calling it.
- The server reports its title, version and website on initialize.
Added
treant serve --list-tools: the tool list over stdio with no database and no settings, for MCP directories that introspect images (docker run --rm -i ghcr.io/ashkmb/treant-memory:0.1.1 serve --list-tools). Every tool call is refused.
No database changes. Upgrade: pull the new image and recreate the services.
treant-memory 0.1.0
First public release. Treant is long-term graph memory for AI coding agents, served over MCP and stored in Postgres with pgvector. It is source-available and early.
What's in it
- Memory that carries over. Agents save what happened in a session. A worker distills that into nodes, facts and decisions, and the next session starts with a short brief.
- Workspaces isolated by the database. Each workspace gets its own schema and role, and tokens carry action scopes. A nightly canary test checks that nothing crosses between workspaces.
- A gate in front of shared knowledge. Facts that are useful everywhere can be promoted to
general. They pass deterministic rules and an LLM judge first, plus the optional Jev judge. WithTREANT_JEV=off, the quick start default, nothing is published there without your approval. - Scrubbed before storage. Secrets and private data are removed before anything is written.
- A guard for risky commands, checked before the agent runs them (
guard/). - Owner dashboard with the graph, the review queue and the audit log (OIDC login).
- Client hooks for Claude Code and Kiro on macOS (
client/): a brief at session start, a save at session end, and the guard.
Quick start
git clone https://github.com/ashkmb/treant-memory.git && cd treant-memory
cp .env.example .env # set the two passwordsThen follow the Quick start. Compose pulls ghcr.io/ashkmb/treant-memory:0.1.0 (linux/amd64, linux/arm64). Saves and search work without any chat model. Distillation needs an OpenAI-compatible chat endpoint.
For production, see docs/deploy.md.
Known limitations
- One embedding model: EmbeddingGemma 300M (768 dimensions).
treant-clientis macOS only. Other systems can connect an MCP client to the server directly.- The guard catches an agent's mistakes, not an adversary.
- Pull requests are not open yet, until the contributor agreement is final. Issues are welcome.
Licence
Free for personal and noncommercial use, and for companies with fewer than 5 people, counting contractors (PolyForm Noncommercial 1.0.0 plus the Small Company Grant). Larger companies can ask for a commercial licence.