Skip to content

Knowledge Index (KI) for Zed

io.github.xamresor/postgres-knowledge-index

Code search for AI agents across repos: call graph, frontend-to-API routes, docs. Self-hosted.

client:Zed transport:stdio runtime:oci

Install Knowledge Index (KI) 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": {
    "postgres-knowledge-index": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/xamresor/postgres-knowledge-index:0.18.0"
      ],
      "env": {
        "KI_DATABASE_URL": "<KI_DATABASE_URL>",
        "KI_EMBED_URL": "<KI_EMBED_URL>",
        "KI_API_TOKEN": "<KI_API_TOKEN>"
      }
    }
  }
}

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

Knowledge Index (KI) in other clients