# What We Learned from Benchmarking Knowledge Bases for Coding Agents

DevFeed: [What We Learned from Benchmarking Knowledge Bases for Coding Agents](<https://devfeed.tech/articles/what-we-learned-from-benchmarking-knowledge-bases-for-coding-agents-77971.md>)

Original publisher: [Read original article](<https://blog.hotstar.com/what-we-learned-from-benchmarking-knowledge-bases-for-coding-agents-6bbdd9e53727?source=rss----dbc3fcbc7f07---4>)

Author: Abhishek Bansal

Published: 2026-09-28T12:03:06Z

Content type: article

Language: en

Sources: [JioHotstar](<https://devfeed.tech/sources/jiohotstar.md>)

Topics: [agentic-coding](<https://devfeed.tech/topics/agentic-coding.md>), [Developer experience](<https://devfeed.tech/topics/developer-experience.md>), [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [sourcegraph](<https://devfeed.tech/topics/sourcegraph.md>), [Tool](<https://devfeed.tech/topics/tool.md>)

Tags: [agentic-rag](<https://devfeed.tech/tags/agentic-rag.md>), [agents](<https://devfeed.tech/tags/agents.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [benchmarking](<https://devfeed.tech/tags/benchmarking.md>), [coding-agents](<https://devfeed.tech/tags/coding-agents.md>), [cost](<https://devfeed.tech/tags/cost.md>), [knowledge-base](<https://devfeed.tech/tags/knowledge-base.md>), [llm](<https://devfeed.tech/tags/llm.md>), [programming](<https://devfeed.tech/tags/programming.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>), [semantic](<https://devfeed.tech/tags/semantic.md>), [token-usage](<https://devfeed.tech/tags/token-usage.md>)

## AI overview

In JioHotstar's selected benchmark runs, retrieval helped according to task shape: semantic indexing performed best when prompts were vague and agents had to map intent to code, while filesystem navigation and structural search stayed competitive on concrete, well-scoped tasks. Sourcebot was more accurate and cheaper than the filesystem baseline on the hardest SWE-bench Verified tasks; on simpler Lite tasks, retrieval generally added cost and turns for similar results. Most retrieval modes did not save tokens by default, and indexing overhead was part of the evaluation. The team also found that agents favored familiar, composable tools such as grep, symbol lookup, and file reads. The evaluation used subsets run locally, so its findings do not establish a universal winner.

## Source excerpt

Introduction/TL;DR At JioHotstar, we have been thinking a lot about how to give developers a better AI-assisted engineering experience. Once coding agents started becoming useful for day-to-day work, the next natural question was: how do we help those agents understand our codebases better? That led us into the world of knowledge bases, repo indexers, code graphs, and semantic search tools. Almost every product in this space promises some version of the same outcome: better context, fewer blind searches, lower token usage, and a smoother developer experience. That sounded plausible, but we wanted to answer it with data instead of anecdotes. So we ran a practical evaluation across multiple frameworks, benchmarks, and retrieval styles. We were not trying to prove that one category of tool is always right. We were trying to answer a more useful engineering question: What kind of retrieval helps for what kind of problem, and what does it cost us in practice? The questions we cared about were straightforward: How useful are these knowledge bases and indexers for real programming tasks? Do they actually reduce token usage and cost in practice? We also wanted to evaluate them the way engineers really experience them, not just as a pure retrieval benchmark. So we looked at four things: Accuracy: did the agent actually solve the task? Token consumption / cost: what did it cost to get there? Agent turns: how long did the reasoning loop run? Agent friendliness: how naturally did the agent use the tools? This was also a practical engineering exercise, not a giant benchmark campaign running on a shared cluster. We used carefully chosen subsets, because full benchmark sweeps can run into hundreds of problems, and for knowledge-base-style systems the indexing overhead itself can become a serious part of the cost. The short version is: these systems can help, but their value depends heavily on the shape of the task. For well-defined engineering tasks, especially when the issue can