Skip to content
Zed

Lex for Zed

io.github.guffawaffle/lex

Episodic memory and architectural policy for AI agents. Frames, Atlas, and Policy.

client:Zed transport:stdio runtime:npm

Install Lex 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": {
    "lex": {
      "command": "npx",
      "args": [
        "-y",
        "@smartergpt/lex-mcp"
      ],
      "env": {
        "LEX_WORKSPACE_ROOT": "<LEX_WORKSPACE_ROOT>",
        "LEX_MEMORY_DB": "<LEX_MEMORY_DB>",
        "LEX_DEBUG": "<LEX_DEBUG>"
      }
    }
  }
}

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

Lex in other clients