Lex for Gemini CLI
io.github.guffawaffle/lex
Episodic memory and architectural policy for AI agents. Frames, Atlas, and Policy.
client:Gemini CLI
transport:stdio
runtime:npm
Install Lex in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"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>"
}
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs