Skip to content
Zed

Treant for Zed

io.github.ashkmb/treant-memory

Self-hosted graph memory for AI coding agents: Postgres + pgvector, isolated workspaces.

client:Zed transport:stdio runtime:oci

Install Treant in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "context_servers": {
    "treant-memory": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ashkmb/treant-memory:0.1.1"
      ],
      "env": {
        "TREANT_DATABASE_URL": "<TREANT_DATABASE_URL>",
        "TREANT_EMBED_URL": "<TREANT_EMBED_URL>",
        "TREANT_EMBED_MODEL": "<TREANT_EMBED_MODEL>",
        "TREANT_EMBED_DIMS": "<TREANT_EMBED_DIMS>",
        "TREANT_BIND": "<TREANT_BIND>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

Treant in other clients