{"id":"trail-code","name":"Trail Code","url":"https://wunderlust.xyz/r/trail-code","category":"agents","category_label":"Agents & dev","tags":["open-source","free","mcp","cli"],"short":"CLI that gives coding agents a repository map and the decisions already made","what":"Open source CLI (formerly called graft) that indexes the codebase and keeps learnings in markdown versioned alongside the code.","uses":"To stop agents from re-exploring the code and repeating mistakes across sessions and teammates.","benefits":["Code map built with tree-sitter in 24 languages, local and with no API key","Learnings in .trail/learnings, versioned with the code","trail check compares the branch against the learnings before the PR; trail team shows overlap between branches","MCP server exposes the map to other agents"],"caveats":["According to the project, it cuts cost by 32% and time by 60% across 162 runs; these are the maker's own numbers, not verified.","Free CLI (MIT); a paid team workspace is announced as 'coming soon', with no price.","Anonymous telemetry is on by default and can be disabled; requires Node.js 22.3 or higher."],"links":{"official":"https://github.com/trailhq/Trail-Code"},"image":"https://wunderlust.xyz/media/trail-code-poster.jpg","video":"https://wunderlust.xyz/media/trail-code.webm","share_image":"https://wunderlust.xyz/og/r/trail-code.jpg","similar":["rea","agent-beacon","obsidian-local-rest-api","playwright-cli","cli-anything","omniroute"],"added_on":"2026-11-05","pt":{"name":"Trail Code","short":"CLI que dá a agentes de código um mapa do repositório e as decisões já tomadas","what":"CLI open source (antes chamado graft) que indexa a base de código e guarda aprendizados em markdown versionados junto ao código.","uses":"Para evitar que agentes reexplorem o código e repitam erros entre sessões e colegas.","benefits":["Mapa de código com tree-sitter em 24 linguagens, local e sem chave de API","Aprendizados em .trail/learnings, versionados com o código","trail check compara a branch com os aprendizados antes do PR; trail team mostra sobreposição entre branches","Servidor MCP expõe o mapa a outros agentes"],"caveats":["Segundo o projeto, reduz 32% do custo e 60% do tempo em 162 execuções; números do próprio fabricante, não verificados.","CLI gratuita (MIT); um workspace pago para times é anunciado como 'em breve', sem preço.","Telemetria anônima ligada por padrão, desativável; exige Node.js 22.3 ou superior."]},"schema_version":1}
