Reve AI
MCP개발무료

Trail-Code

Turbocharge Claude Code, Cursor, Codex, Gemini & every coding agent: faster, cheaper, with contextual understanding specific to your codebase.

10k

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 breakWhat you, your agents and your team have learned and decided
What does it do for your agent?Takes it straight to the right filesLets it pick up where you and your team left off
Where does it come from?Your code, read on your machineYour conversations, as you work

46% fewer tool calls, 60% less time, and more real issues solved.

Cold agentAgent with the graft map
Tool calls, 162 runsbaseline46% fewer
Uncached input tokens, 162 runsbaseline42% fewer
Time, 162 runsbaseline60% less
SWE-bench Verified, 50 real issues27 solved (54%)33 solved (66%)
npm install -g @trailhq/trail-code && trail init

[!NOTE] Graft is now Trail-code. Graft lives on as the graft map, and every graft command still works. What's new is learnings. What changed

<source media="(prefers-color-scheme: dark)" srcset="assets/trail-code-how-it-works-dark.webp">
<img src="assets/trail-code-how-it-works.webp" alt="Without Trail: each task starts a new session with an agent that has no memory. It searches blind, opens the wrong files, guesses how the code is wired, ships the task, and the context is lost. This repeats for every task and every teammate's agent. With Trail, your agent already knows your code: trail init builds the graft map, a hook points the agent to it before each session, the agent reads the graph with its impact radius, gets precise context, ships the task, then saves learnings. One graph, every agent, up to 4x tokens saved." width="880"/>

What changes in your agent

Without Trail-codeWith Trail-code
Greps and opens file after file to find the code it needsGets the right files and functions with your prompt
Re-explores code a teammate already figured out last weekStarts from their learning: what they decided, what they ruled out, what to watch out for
Undoes a teammate's decision, because it never knew about ittrail check flags it before the PR, quoting who decided it and why
Finds out at merge time that a teammate changed the same codeSays so right after it edits code a teammate's open branch also changes, and whether the two clash
Has to be told the same things every sessionStarts from what you've told it before: trail init finds what you said more than once in your past sessions
You write and update CLAUDE.md by handLearnings are saved from your conversations, in files you can read

GitHub에서 전체 내용 보기