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 tools map codebases to cut AI coding token waste(5 posts)→
More from coding & agent
- Dev adds Google Merchant Center to his MCP server — and explains how it beats Google's official one — DutchSEOnerd · 2026-10-16
- Dev builds oddly satisfying self-fixing sand component that repairs itself — prasenx · 2026-10-16
- When Does an Agent Actually Need an API Gateway? Reddit Weighs Direct Calls vs. Unified Endpoints — TurbulentStiffness · 2026-10-16
- optimAIzr: Open-Source Local CLI Tracks Where Your Claude Code and Codex Tokens Go — stichstichstich · 2026-10-16
- Local tool calling compared: how Gemma 4, Llama 3 and Mistral differ — leslysandra · 2026-10-16
- Harness, a command center for coding agents, hits #2 on Product Hunt — dee_hw · 2026-10-16