Codex CLI
Connect Codex CLI to Trurlic so code generation follows your architectural decisions.
Prerequisites
Section titled “Prerequisites”- Trurlic installed and
.trurlic/initialized in your project - Codex CLI installed
The fastest way:
trurlic install --ide codexThis writes to ~/.codex/config.toml (or $CODEX_HOME/config.toml if set).
Manual setup
Section titled “Manual setup”Add to your Codex MCP configuration:
{ "mcpServers": { "trurlic": { "command": "trurlic", "args": ["serve"] } }}Agent instructions
Section titled “Agent instructions”Add Trurlic instructions to your project’s agent configuration so Codex queries the decision graph before generating code. See MCP Server for the recommended instruction block.
Verification
Section titled “Verification”- Start a Codex session in the project directory.
- Ask Codex to implement a feature — it should query
get_contextand follow your recorded decisions. - Check
trurlic statusfor consistency.