<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/github-top-trending-tool-just-fixed-the-ai-agent-s-biggest-problem-xnjexdppd" -->

---
title: Github Top Trending Tool Just Fixed The AI Agent’s...
description: A GitHub-trending open-source terminal tool called Graph aims to cut token usage and speed up AI coding agents like Claude Code and Codex. Instead of relying...
canonical: https://daily.dev/posts/github-top-trending-tool-just-fixed-the-ai-agent-s-biggest-problem-xnjexdppd
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Github Top Trending Tool Just Fixed The AI Agent’s Biggest Problem | daily.dev
og:description: A GitHub-trending open-source terminal tool called Graph aims to cut token usage and speed up AI coding agents like Claude Code and Codex. Instead of relying...
og:url: https://daily.dev/posts/github-top-trending-tool-just-fixed-the-ai-agent-s-biggest-problem-xnjexdppd
og:image: https://api.daily.dev/og/posts/XnjexDppD.png
og:image:alt: Github Top Trending Tool Just Fixed The AI Agent’s Biggest Problem
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Github Top Trending Tool Just Fixed The AI Agent’s Biggest Problem

**[AI LABS](https://daily.dev/sources/ailabs-393)** · 12 min read · 0 upvotes · 1 comments

## Summary

A GitHub-trending open-source terminal tool called Graph aims to cut token usage and speed up AI coding agents like Claude Code and Codex. Instead of relying on vector search or repeated terminal searches to locate relevant code, Graph builds a knowledge graph of a project's code (nodes and edges showing dependencies) and attaches matching file locations directly to prompts. According to the team's own benchmark across 162 runs, this cut task time by 60%, tool calls by 46%, tokens by 42%, and cost by 32% on average, with up to 4x cheaper token usage in the best case. The video walks through installation, setup hooks, and a real test building a booking app with the Fable 5.1 model, comparing build times and context usage with and without Graph. The video also includes a sponsored segment for Hedra's AI generation API.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=cyIWQHYoUg8>

## Questions this post answers

### How does a knowledge graph reduce token usage for AI coding agents like Claude Code?

A knowledge graph tool called Graft maps code parts as nodes and their dependencies as edges so an agent can find relevant files in fewer turns instead of repeatedly searching the terminal. In benchmark testing across 162 runs, this cut tool calls by 46%, tokens by 42%, task time by 60%, and cost by 32% on average, with up to 4x cheaper token usage in the best case.

_Developers optimizing agent costs can track tools like graft and similar approaches on daily.dev._

### What is the difference between vector search and knowledge graph search for AI coding agents?

Vector search converts code into numeric embeddings and matches by similarity in meaning, which can confuse unrelated code that happens to sound alike, such as account creation versus account deletion. A knowledge graph instead reads the code directly and records which parts actually use or depend on which, so an agent can see exactly what a change might break rather than relying on semantic similarity alone.

_Comparing search strategies for coding agents is easier when tracked alongside real benchmarks on daily.dev._

## Community discussion

Top comments from developers on daily.dev.

**@tgrecojs** · 0 upvotes

> It's called "Graft" not "Graph". Also, here is a link to the repo - [https://github.com/trailhq/Graft ](https://github.com/trailhq/Graft)

---

Tags: [#llm](https://daily.dev/tags/llm), [#ai-agents](https://daily.dev/tags/ai-agents), [#claude-code](https://daily.dev/tags/claude-code), [#vector-search](https://daily.dev/tags/vector-search)

[View this post on daily.dev](https://daily.dev/posts/github-top-trending-tool-just-fixed-the-ai-agent-s-biggest-problem-xnjexdppd)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Github Top Trending Tool Just Fixed The AI Agent’s Biggest Problem","url":"https://daily.dev/posts/github-top-trending-tool-just-fixed-the-ai-agent-s-biggest-problem-xnjexdppd","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/github-top-trending-tool-just-fixed-the-ai-agent-s-biggest-problem-xnjexdppd"},"datePublished":"2026-09-08T16:29:37.093Z","dateModified":"2026-09-14T07:09:54.105Z","description":"A GitHub-trending open-source terminal tool called Graph aims to cut token usage and speed up AI coding agents like Claude Code and Codex. Instead of relying...","image":"https://i.ytimg.com/vi/cyIWQHYoUg8/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/cyIWQHYoUg8/sddefault.jpg","isAccessibleForFree":true,"articleSection":"AI LABS","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"AI LABS","logo":"https://media.daily.dev/image/upload/s--UJNjhNyP--/f_auto,q_auto/v1769283201/logos/ailabs-393","url":"https://daily.dev/sources/ailabs-393"},"commentCount":1,"discussionUrl":"https://daily.dev/posts/github-top-trending-tool-just-fixed-the-ai-agent-s-biggest-problem-xnjexdppd","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"llm,ai-agents,claude-code,vector-search","timeRequired":"PT12M","video":{"@type":"VideoObject","name":"Github Top Trending Tool Just Fixed The AI Agent’s Biggest Problem","description":"A GitHub-trending open-source terminal tool called Graph aims to cut token usage and speed up AI coding agents like Claude Code and Codex. Instead of relying...","thumbnailUrl":"https://i.ytimg.com/vi/cyIWQHYoUg8/sddefault.jpg","uploadDate":"2026-09-08T16:29:37.093Z","duration":"PT12M","url":"https://api.daily.dev/r/XnjexDppD","embedUrl":"https://www.youtube.com/embed/cyIWQHYoUg8"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"AI LABS","item":"https://daily.dev/sources/ailabs-393"},{"@type":"ListItem","position":3,"name":"Github Top Trending Tool Just Fixed The AI Agent’s Biggest Problem"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/github-top-trending-tool-just-fixed-the-ai-agent-s-biggest-problem-xnjexdppd","comment":[{"@type":"Comment","text":"It’s called “Graft” not “Graph”. Also, here is a link to the repo - https://github.com/trailhq/Graft","datePublished":"2026-09-10T15:03:18.069Z","url":"https://daily.dev/posts/XnjexDppD#c-g9S3jzAku","author":{"@type":"Person","name":"Thomas Greco","url":"https://daily.dev/tgrecojs","image":"https://avatars.githubusercontent.com/u/6646552?v=4"}}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/github-top-trending-tool-just-fixed-the-ai-agent-s-biggest-problem-xnjexdppd#faq","mainEntity":[{"@type":"Question","name":"How does a knowledge graph reduce token usage for AI coding agents like Claude Code?","acceptedAnswer":{"@type":"Answer","text":"A knowledge graph tool called Graft maps code parts as nodes and their dependencies as edges so an agent can find relevant files in fewer turns instead of repeatedly searching the terminal. In benchmark testing across 162 runs, this cut tool calls by 46%, tokens by 42%, task time by 60%, and cost by 32% on average, with up to 4x cheaper token usage in the best case. Developers optimizing agent costs can track tools like graft and similar approaches on daily.dev."}},{"@type":"Question","name":"What is the difference between vector search and knowledge graph search for AI coding agents?","acceptedAnswer":{"@type":"Answer","text":"Vector search converts code into numeric embeddings and matches by similarity in meaning, which can confuse unrelated code that happens to sound alike, such as account creation versus account deletion. A knowledge graph instead reads the code directly and records which parts actually use or depend on which, so an agent can see exactly what a change might break rather than relying on semantic similarity alone. Comparing search strategies for coding agents is easier when tracked alongside real benchmarks on daily.dev."}}]}
```

