trailhq/Trail-Code
11,553 stars · Last commit 2026-11-29
One shared memory for every coding agent on your team. Claude Code, Cursor and Codex get a map of your code and your team's past decisions, so they pick up where you left off.
README preview
<div align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="assets/trail-code-banner-dark.png"> <img src="assets/trail-code-banner.png" alt="Trail-code (previously graft), by Trail. A map of a codebase, with one team decision pinned to it: keep retries at 4." width="100%"/> </picture> ### The self-learning context layer for coding agents. Trail-code gives Claude Code, Cursor, Codex and other coding agents a map of your code, and what your team has learned about it. | | Code map (previously graft) | Learnings | |---|---|---| | **What is it?** | An index of your code: every function and who calls it, so your agent sees what a change can break | What you, your agents and your team have learned and decided | | **What does it do for your agent?** | Takes it straight to the right files | Lets it pick up where you and your team left off | | **Where does it come from?** | Your code, read on your machine | Your conversations, as you work | <a href="https://trendshift.io/repositories/92209?utm_source=trendshift-badge&utm_medium=badge&utm_campaign=badge-trendshift-92209" target="_blank" rel="noopener noreferrer"><img src="https://trendshift.io/api/badge/trendshift/repositories/92209/daily?language=TypeScript" alt="trailhq/Trail-Code | Trendshift" width="250" height="55"/></a> <p>