{"slug": "codegraff-40x-leaner-file-tools-for-your-coding-agent", "title": "Codegraff: 40× leaner file tools for your coding agent", "summary": "Codegraff launched CodeDB Pro, a tool that reduces token usage for coding agents by up to 97% while maintaining evaluation scores, using structural file reads and symbol-safe editing. The product targets engineering teams using AI coding assistants like Claude Code and Cursor, offering per-seat licenses starting at $99/year.", "body_md": "CodeDB Pro cuts that token bill ~97%.\n\nFree `graff`\n\nis already SOTA on Terminal-Bench. CodeDB Pro keeps the **exact same eval scores** and gets there in a fraction of the tokens. Your agents just stop dumping whole files into context.\n\n```\ncurl -fsSL https://codegraff.com/install.sh | bash\n```\n\nmacOS arm64 + Linux x86_64 · zero runtime deps\n\ntokens this task\n\n18,400\n\n5 tool calls · 8.4s wall-clock · Claude / Codex native\n\nsame task, same result · hover to pause\n\nEngineering teams shipping with Codegraff\n\ntokens saved · last 30d\n\nops · last 7d\n\nper op · codedb p50\n\noutline / lookup\n\ncounters from activated installs · speed numbers from [bench/ on github](https://github.com/justrach/codegraff/tree/main/bench) · hyperfine, n=10, macOS arm64\n\nThe token ledger\n\nOne real file, measured three ways. Default tools dump the raw text. codedb, the free engine, reads it structurally. CodeDB Pro lands the exact symbol and edits in kilobytes. The red bar is what you pay for today.\n\nUnderstand a 2,300-line file\n\n29× leaner than the raw dump\n\n865 tok\n\nwith CodeDB Pro\n\nSearch the whole codebase\n\ncodedb’s search engine ships inside Pro\n\nbuilt in\n\nwith CodeDB Pro\n\nEdit one function\n\nPro only · codedb reads, it doesn’t edit\n\n1.9 KB\n\nwith CodeDB Pro\n\nmeasured · codedb-pro 0.2.9 · same 2,318-line file · \"built in\" = Pro ships codedb's search engine\n\nHow CodeDB Pro works\n\ncodedb picks the right file\n\nMost agent failures aren't bad reasoning, they're the agent looking at the wrong file. codedb is graff's retrieval layer: a local index of symbols, outlines, and call paths the agent queries before it acts. SOTA on Terminal-Bench, free, open-source.\n\nCodeDB Pro gets there in ~97% fewer tokens\n\nSame eval scores, a fraction of the footprint. outline returns 47 tokens where a raw read pulls 2,103. symbol lookups land the exact function, never the whole file.\n\nThen Pro edits, symbol-safe\n\nThe one thing the free engine can't do. Symbol-safe patches write 1.9 KB where default tools rewrite 169 KB. Immune to line drift, concurrent agents, and mid-session file growth.\n\nWhat CodeDB Pro adds\n\nScope mode context, not noise\n\nripgrep can't do thisEvery match returns its enclosing function. Not a line. Not a file. The exact block your agent needs to act on.\n\n`zigrep -S 'validateInput' src/`\n\nStructural read 47 tokens vs 2,103\n\noutline firstoutline gives the full symbol map of a file. Then symbol pulls exactly the function, never the whole file.\n\n`zigread outline src/main.zig`\n\nSymbol-safe patching no line drift\n\nedit by nameEdit by function name, not line numbers. Survives upstream diffs, concurrent agents, and mid-session file growth.\n\n`zigpatch --symbol parseToken src/auth.zig`\n\nBatch ops 10 reads in 7ms\n\n0.7ms per opPersistent daemon. No fork/exec per call. Reads, searches, diffs, and edits run in parallel over one stdio pipe.\n\n`codedb-pro batch [read, search, diff, edit]`\n\nBenchmark · same query\n\n6.4× faster\n\nhyperfine · 4.7 GB repo · macOS arm64 · n=10\n\nPricing\n\n$99/year is one seat. The ledger above is one real file: 25,324 tokens of raw dump down to 865, edits in kilobytes not hundreds. Every week you wait, that gap is tokens you already pay for, spent re-reading files.\n\nIndividual\n\n1 seat · $99/seat · all tools, all editors\n\nTeam\n\n2 seats · $80/seat · save $38 vs 2 solo seats\n\nTeam Plus\n\n5 seats · $69.80/seat · save $146 vs 5 solo seats\n\nStripe checkout link by email · same-day\n\nEngineering org · 10+ seats\n\nVolume pricing, invoiced annually, MSA on request. One-day turnaround on quotes.\n\nRefund within 14 days · License keys by email · No subscription auto-renew lock-in\n\nRun `graff provider login codegraff`\n\nand you get instant access to the frontier set. No API keys to manage, no provider accounts to create. Credits start at $10, top up from the [dashboard](/dashboard/billing).\n\nCodeDB Pro. One install per engineer. Works with Claude Code, Codex, Cursor, Windsurf. Per-seat licenses, by email.\n\n```\ncurl -fsSL https://codegraff.com/install.sh | bash\ncodedb-pro activate CGPRO-XXXX-XXXX engineer@company.com\ncodedb-pro mcp register --client claude-code\n```\n\nRuns locally · your code never leaves the machine · uninstall and your agent falls back to its built-in tools\n\nBuilt by [Rach Pradhan](https://justrach.com) · [hi@codegraff.com](mailto:hi@codegraff.com) · [Terms](/terms) · [Privacy](/privacy)", "url": "https://wpnews.pro/news/codegraff-40x-leaner-file-tools-for-your-coding-agent", "canonical_source": "https://codegraff.com", "published_at": "2026-07-16 03:38:37+00:00", "updated_at": "2026-07-16 03:55:11.157685+00:00", "lang": "en", "topics": ["developer-tools", "ai-tools", "ai-agents", "large-language-models"], "entities": ["Codegraff", "CodeDB Pro", "Claude Code", "Codex", "Cursor", "Windsurf"], "alternates": {"html": "https://wpnews.pro/news/codegraff-40x-leaner-file-tools-for-your-coding-agent", "markdown": "https://wpnews.pro/news/codegraff-40x-leaner-file-tools-for-your-coding-agent.md", "text": "https://wpnews.pro/news/codegraff-40x-leaner-file-tools-for-your-coding-agent.txt", "jsonld": "https://wpnews.pro/news/codegraff-40x-leaner-file-tools-for-your-coding-agent.jsonld"}}