Getting Started
Two commands set Trurlic up; everything else is a conversation with your agent. Trurlic is a single static binary with no runtime dependencies — the CLI, MCP server, and map are fully offline and need no API key.
1. Install
Section titled “1. Install”curl -fsSL https://raw.githubusercontent.com/trurlic-labs/trurlic/master/install.sh | bashOr with Rust: cargo install trurlic (requires Rust 1.88+). Pre-built binaries for Linux, macOS, and Windows are on the Releases page.
2. Initialize and connect
Section titled “2. Initialize and connect”cd your-projecttrurlic init # create .trurlic/ in the project roottrurlic install --ide claude-code # wire up your coding agent over MCPinit creates the git-tracked .trurlic/ graph and adds .trurlic/.state/ to .gitignore. install writes the MCP config for your agent — see Connect Your IDE for all supported targets.
That’s the whole setup. From here, three paths:
Have an existing codebase?
Section titled “Have an existing codebase?”Ask your agent to map it:
Bootstrap the architecture with Trurlic.
The agent reads your source and records components, decisions, and patterns autonomously — each flagged agent · unreviewed for you to promote or revise later. See Bootstrap.
Designing something new?
Section titled “Designing something new?”Talk it through:
Let’s design the rate limiter. Walk me through it with Trurlic.
The agent runs a Socratic conversation in interactive mode — asking, reasoning, recording each decision as you agree on it — then implements against the constraints it just captured. See Design Conversations.
Implementing within what exists?
Section titled “Implementing within what exists?”Just say what you want:
Add per-key rate limiting to the auth service.
Before writing a line, the agent pulls the component’s brief, generates code that respects every decision, and verifies compliance before committing.
Record a decision yourself
Section titled “Record a decision yourself”You don’t need an agent for a straightforward choice — record it directly:
trurlic decide auth \ --choice "JWT with DPoP binding" \ --reason "Stateless, no session store needed" \ --alternative "Session cookies — rejected: requires server-side state"This writes a TOML file to .trurlic/decisions/ and rebuilds the graph index atomically. Every write validates the full graph first — an invalid state (dangling edge, cycle, schema violation) is refused, never committed.
Review the graph anytime
Section titled “Review the graph anytime”trurlic map # interactive graph in your browsertrurlic status # component/decision counts and open issuesNext steps
Section titled “Next steps”- Core Concepts — the decision graph, the advance loop, context briefs
- MCP Server — how the graph becomes agent tools
- CLI Reference — every command