Graft Cuts AI Coding Agent Costs by 75% with Simple Markdown Mapping
shhdwi · reddit · 2026-08-03
Graft is an open-source tool designed to cut the operational costs of AI coding agents (like Codex). It tackles the issue of agents repeatedly re-discovering existing codebases by scanning the repository and generating a linked Markdown file. The agent then reads this file before taking any action.
Based on 162 test runs, the author reports significant efficiency gains:
- 46% fewer tool calls
- Up to 4x reduction in token usage
- Up to 3x faster response times
Supporting multi-repo setups, the tool requires only two simple commands to install (npm install -g @nanonets/graft and graft init) to start optimizing future sessions.
Related event: Open-Source Tool Graft Slashes Claude Code Costs by 75%(4 posts)→
More from coding & agent
- Breaking Model Silos: Orchestrating Multiple AI Coding CLIs via Hermes — EXM7777 · 2026-08-03
- Uber Open-Sources ADR: An Enterprise Security Framework for AI Agents — brucemacv · 2026-08-03
- Seeking EU-Compliant & Cost-Effective Ways to Use Chinese LLM APIs — strickvl · 2026-08-03
- Understanding Context Engineering in AI Agents: Memory and Tools — goyalshaliniuk · 2026-08-03
- Environment Context Engineering: Giving AI Agents Enterprise Network Awareness — patrickgillette · 2026-08-03
- Codex Side-Effect: AI Coding Makes Developer Workflows Fully Legible — charliermarsh · 2026-08-03