How it works
Your agent writes down what it learns: the fix, the gotcha, the decision and why.
Next time it runs into the same thing, graft hands it the answer before it starts
over. The agent spends a moment checking it still holds, then moves on.
- Fewer tokens. No more whole turns of reasoning for a problem already solved once.
- Faster. A lookup takes a fraction of a second.
- Consistent. The same problem gets the same answer, not a new invention every session.
Stop solving the same problem twice
without graft bug → investigate → fix → forgotten (again, next week)
with graft bug → recall → check → done
Benchmark
- It stops making things up. Without graft, a quarter of the answers about the
team's own code were invented. With graft, none.
- A wrong note does not derail it. On 30 questions no note answers, graft
sometimes offered the wrong note, and the agent set it aside every time.
- Where it still slips. graft finds the right note for 88% of the questions.
When it picks a wrong one, the question is usually about the same technology as
another note: that is the next thing being fixed.
How it was measured, and how to run it yourself → bench/
Install
1. The CLI
curl -fsSL https://raw.githubusercontent.com/AEndrix03/Graft/master/install.sh | sh
irm https://raw.githubusercontent.com/AEndrix03/Graft/master/install.ps1 | iex
scoop install https://raw.githubusercontent.com/AEndrix03/Graft/master/bucket/graft.json
brew tap AEndrix03/graft https://github.com/AEndrix03/Graft.git && brew install graft
The installer also copies the skills into every agent it finds. Then run
/graft-init inside your agent.
2. Or straight from your agent's marketplace
/plugin marketplace add AEndrix03/Graft
/plugin install graft@graft
/graft:graft-init
codex plugin marketplace add AEndrix03/Graft
codex plugin add graft@graft
then ask Codex to set up graft.
graft-init installs the CLI if it is missing, asks whether graft should be on
everywhere or in this project only, and you are done.
Building from source, GPU builds, other options → docs/install/
See it work
First, the memory is empty:
$ graft query "spring validation nested dto not working"
{
"status": 0,
"result": { "hit": "MISS" }
}
The agent investigates and solves the issue. Save the useful part:
graft insert \
--title "Spring @Valid must also be applied to nested DTO fields" \
--body "Without @Valid on the nested field, validation does not cascade into it." \
--keyword spring-boot \
--keyword validation \
--keyword gotcha
Weeks later, with different wording:
$ graft query "why are constraints inside my nested request object ignored?"
{
"status": 0,
"result": {
"hit": "STRONG",
"title": "Spring @Valid must also be applied to nested DTO fields",
"body": "Without @Valid on the nested field, validation does not cascade into it."
}
}
Different prompt. Same underlying problem.
Graft surfaces the prior learning. The agent decides whether it is useful.
Browse your memory
 |  |
| Every memory and how it connects | From one note to the related ones |