AI Signal 502
Graft builds persistent code graphs for coding agents, cutting tokens 42% and raising SWE-bench correctness to 66%
Graft is an open-source CLI that builds a persistent, file-based code graph for coding agents like Claude Code, eliminating repeated exploration overhead and reducing token usage by 42% while improving SWE-bench Verified correctness from 54% to 66%.
Coding agents currently re-explore a codebase from scratch every session, burning tokens and time on rediscovery that humans pay only once. Graft persists that understanding as linked markdown files in git, so agents skip exploration and go straight to productive work, with benchmarks showing real efficiency and correctness gains.
Written by elseif from the cluster below · every claim links back to a sourceThe three things worth knowing
Graft reduces token usage by 42%, tool calls by 46%, and time by 60% in a 162-run controlled benchmark across two repos.
SWE-bench Verified correctness rose from 54% (cold Claude Code) to 66% with Graft, judged by an Opus 4.8 model with a required-keyword floor.
The graph is just files in graft/, no daemon, no database, synced via git, structural parsing done deterministically with tree-sitter.
THE CLUSTER