Tutorials
New to Trail-code? Install it, explore your first graph, and save your first learning. Quick start →

npm install -g @trailhq/trail-code && trail initTutorials
New to Trail-code? Install it, explore your first graph, and save your first learning. Quick start →
How-To Guides
Solve specific problems: move from graft, wire in your agents, save and check learnings, run in CI, and more. Browse guides →
Reference
CLI commands, MCP tools, agent wiring, environment variables, the learning file format, and supported languages. View reference →
Explanation
Understand how Trail-code works, what learnings are, what stays on your machine, and how it is benchmarked. Learn more →