# agentic-rag

Published articles for agentic-rag.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## RagHarnessDebugger: Jev-Guided Agentic RAG in Contract Inference Repair Auditing

DevFeed: [RagHarnessDebugger: Jev-Guided Agentic RAG in Contract Inference Repair Auditing](<https://devfeed.tech/articles/ragharnessdebugger-jev-guided-agentic-rag-in-contract-inference-repair-auditing-139615.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.22991>)

Author: Moriya Dechtiar, Daniel Martin Katz, Michael J. Bommarito II, Hongming Wang, Sylvain Jaume

Published: 2026-11-18T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [Retrieval Augmented Generation (RAG)](<https://devfeed.tech/topics/retrieval-augmented-generation-rag.md>), [Agentic AI](<https://devfeed.tech/topics/what-is-agentic-ai.md>), [audit](<https://devfeed.tech/topics/audit.md>)

Tags: [agentic](<https://devfeed.tech/tags/agentic.md>), [agentic-rag](<https://devfeed.tech/tags/agentic-rag.md>), [audit](<https://devfeed.tech/tags/audit.md>), [auditing](<https://devfeed.tech/tags/auditing.md>), [audits](<https://devfeed.tech/tags/audits.md>), [continuous-improvement](<https://devfeed.tech/tags/continuous-improvement.md>), [contracts](<https://devfeed.tech/tags/contracts.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-ma](<https://devfeed.tech/tags/cs-ma.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [debugger](<https://devfeed.tech/tags/debugger.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [decision](<https://devfeed.tech/tags/decision.md>), [explainability](<https://devfeed.tech/tags/explainability.md>), [harness](<https://devfeed.tech/tags/harness.md>), [inference](<https://devfeed.tech/tags/inference.md>), [jev](<https://devfeed.tech/tags/jev.md>), [rag](<https://devfeed.tech/tags/rag.md>), [repair](<https://devfeed.tech/tags/repair.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>), [retrieval-augmented-generation](<https://devfeed.tech/tags/retrieval-augmented-generation.md>), [retrieval-augmented-generation-rag](<https://devfeed.tech/tags/retrieval-augmented-generation-rag.md>), [root-cause-analysis](<https://devfeed.tech/tags/root-cause-analysis.md>)

### AI overview

RagHarnessDebugger audits agentic RAG repair decisions by checking trace integrity, whether validations apply to the candidates they are credited to, and which answers can satisfy the acceptance rule. Tested on ContractNLI nondisclosure agreements with two reader models and a separate-contract replication set, its audit, labeled error analysis, and replay exposed missed repairs and tradeoffs obscured by aggregate metrics. The reported acceptance gap covered 77% of available but unrealized repairs on development data and 76% on replication data. A revised harness improved accuracy over the BM25-only baseline by 3.6 and 3.7 points, respectively, and improved the full-contract-access reference score by 1.1 and 2.4 points. The abstract presents the work as decision root-cause analysis and visibility for ongoing RAG improvement; broader validation is not described.

### Source excerpt

arXiv:2611.22991v1 Announce Type: cross Abstract: Agentic systems using retrieval-augmented generation (RAG) must repair their own answers by gathering more evidence, testing alternative policies and deciding if, when, and what repairs are needed. Yet how do we know if a system's repairs are working when metrics like accuracy can be misleading? We present RagHarnessDebugger, a framework that records every repair decision in a Jev-guided harness for contract inference and audits the record to facilitate complete debugging of all decisions taken during a RAG repair journey. RagHarnessDebugger checks that each trace is intact, that each validation applies to the candidate it is counted for, and which answers the acceptance rule can reach. We tested our approach on ContractNLI non-disclosure agreements with two reader models and a replication set of separate contracts. Our debugger's audit layer exposed failure patterns that were hidden under aggregate metrics, policies acceptance cost of repairs vs regressions and policy acceptance gap of 77% and 76% of available but unrealised repairs on development and replication sets. Our audit, together with a labeled error analysis and replay mechanism, allowed following the execution path all the way to the terminal decision - uncovering where missing repairs became lost. Our revised harness improved accuracy over the initial BM25-only baseline by 3.6 points on development contracts and 3.7 points on the replication set, and even improved our full contract access reference score by 1.1 on development and 2.4 on replication set. While our work here demonstrates how the debugger can conduct decision root-cause analysis for missed repairs, the true value lies with providing this debugger for judgment visibility serving continuous improvement of RAG decisions and their explainability. Keywords: agentic RAG, AI evidence repair, harness explainability, counterfactual replay, Jev, ContractNLI

## When Failures Propagate: Causal Failure Attribution in Agentic Retrieval-Augmented Generation

DevFeed: [When Failures Propagate: Causal Failure Attribution in Agentic Retrieval-Augmented Generation](<https://devfeed.tech/articles/when-failures-propagate-causal-failure-attribution-in-agentic-retrieval-augmented-generation-131959.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2608.20627>)

Author: Lauren Pothuru, Spurthi Setty, Natan Vidra

Published: 2026-11-13T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [Retrieval Augmented Generation (RAG)](<https://devfeed.tech/topics/retrieval-augmented-generation-rag.md>), [causality](<https://devfeed.tech/topics/causality.md>), [reliability-engineering](<https://devfeed.tech/topics/reliability-engineering.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>)

Tags: [agentic](<https://devfeed.tech/tags/agentic.md>), [agentic-rag](<https://devfeed.tech/tags/agentic-rag.md>), [agentic-retrieval](<https://devfeed.tech/tags/agentic-retrieval.md>), [attribution](<https://devfeed.tech/tags/attribution.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [claude](<https://devfeed.tech/tags/claude.md>), [claude-haiku](<https://devfeed.tech/tags/claude-haiku.md>), [claude-haiku-4-5](<https://devfeed.tech/tags/claude-haiku-4-5.md>), [corruption](<https://devfeed.tech/tags/corruption.md>), [coverage](<https://devfeed.tech/tags/coverage.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [diagnosis](<https://devfeed.tech/tags/diagnosis.md>), [error](<https://devfeed.tech/tags/error.md>), [failure](<https://devfeed.tech/tags/failure.md>), [failures](<https://devfeed.tech/tags/failures.md>), [generation](<https://devfeed.tech/tags/generation.md>), [haiku](<https://devfeed.tech/tags/haiku.md>), [haiku-4-5](<https://devfeed.tech/tags/haiku-4-5.md>), [llm](<https://devfeed.tech/tags/llm.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>), [retrieval-augmented-generation](<https://devfeed.tech/tags/retrieval-augmented-generation.md>)

### AI overview

AgenticRAG-FP tests whether a diagnoser can identify the hop where a failure was injected after downstream execution changes. It injects a certified fault at a known hop, re-executes the remaining trajectory, and scores diagnoses against that intervention site. In a dense Claude Haiku 4.5 sweep on three-hop MuSiQue questions, coverage-based diagnosis achieved 0.91 accuracy at hop 1 but 0.00 at hops 2 and 3, while predicting hop 1 for 96% of failures. For later-hop failures, an LLM judge and frozen-hop repair localized only 0.25-0.48. In larger depth-2 content-corruption runs (n=51), exact-hop accuracy was 0.00 for coverage, 0.49 for the judge, 0.59 for frozen-hop repair, and 0.14 for suffix regeneration. The judge and frozen-hop repair were not significantly different (exact McNemar p=0.33).

### Source excerpt

arXiv:2608.20627v2 Announce Type: replace-cross Abstract: Agentic retrieval-augmented generation (RAG) interleaves retrieval, reasoning, and answer generation across multiple hops. A retrieval error at hop 1 can surface only as a wrong answer at hop 3, while later retrieval can also repair the trajectory. This paper introduces AgenticRAG-FP, an interventional benchmark for causal failure attribution in agentic RAG. The benchmark injects a certified fault at a specified hop, re-executes the downstream trajectory, and evaluates diagnosers against the known intervention site. Its central question is whether a post-hoc trace still identifies the injected hop after the suffix changes. In the dense Claude Haiku 4.5 structural sweep on three-hop MuSiQue questions, coverage-based diagnosis is 0.91 at hop 1 and 0.00 at hops 2 and 3 (n=43,36,21 failed trajectories), but it predicts hop 1 in 96% of failures, an earliest-hop rule; at hops 2 and 3, an LLM judge and frozen-hop repair localize only 0.25 to 0.48 of failures. In larger content-corruption runs, depth-2 exact-hop accuracy is 0.00 for coverage, 0.49 for an LLM judge, 0.59 for frozen-hop repair, and 0.14 for suffix regeneration (n=51); the judge and frozen-hop repair do not significantly differ (exact McNemar p=0.33).

## How Hathr.AI delivers multi-tenant agentic RAG for regulated US government workloads with Amazon S3 Vectors

DevFeed: [How Hathr.AI delivers multi-tenant agentic RAG for regulated US government workloads with Amazon S3 Vectors](<https://devfeed.tech/articles/how-hathr-ai-delivers-multi-tenant-agentic-rag-for-regulated-us-government-workloads-with-amazon-s3-vectors-130617.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/storage/how-hathr-ai-delivers-multi-tenant-agentic-rag-for-regulated-us-government-workloads-with-amazon-s3-vectors/>)

Author: Sam Hart

Published: 2026-11-12T15:36:34Z

Content type: article

Language: en

Sources: [AWS Storage Blog](<https://devfeed.tech/sources/aws-storage-blog.md>)

Topics: [Multi-step AI processes](<https://devfeed.tech/topics/multi-step-ai-processes.md>), [tenant data protection](<https://devfeed.tech/topics/tenant-data-protection.md>), [vector embeddings in AI](<https://devfeed.tech/topics/vector-embeddings-in-ai.md>), [Amazon S3](<https://devfeed.tech/topics/amazon-s3.md>), [AWS Step Functions](<https://devfeed.tech/topics/aws-step-functions.md>)

Tags: [agentic](<https://devfeed.tech/tags/agentic.md>), [agentic-rag](<https://devfeed.tech/tags/agentic-rag.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [amazon-documentdb](<https://devfeed.tech/tags/amazon-documentdb.md>), [amazon-s3](<https://devfeed.tech/tags/amazon-s3.md>), [amazon-simple-storage-service-s3](<https://devfeed.tech/tags/amazon-simple-storage-service-s3.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-govcloud-us](<https://devfeed.tech/tags/aws-govcloud-us.md>), [customer-solutions](<https://devfeed.tech/tags/customer-solutions.md>), [ecs](<https://devfeed.tech/tags/ecs.md>), [government](<https://devfeed.tech/tags/government.md>), [hipaa](<https://devfeed.tech/tags/hipaa.md>), [intermediate-200](<https://devfeed.tech/tags/intermediate-200.md>), [rag](<https://devfeed.tech/tags/rag.md>), [step-functions](<https://devfeed.tech/tags/step-functions.md>), [strands-agents](<https://devfeed.tech/tags/strands-agents.md>), [tool](<https://devfeed.tech/tags/tool.md>), [us-government](<https://devfeed.tech/tags/us-government.md>), [vector](<https://devfeed.tech/tags/vector.md>), [vector-search](<https://devfeed.tech/tags/vector-search.md>), [vectors](<https://devfeed.tech/tags/vectors.md>)

### AI overview

Hathr.AI moved high-churn vector search from Amazon DocumentDB to Amazon S3 Vectors, using a separate index and ARN for each customer in AWS GovCloud (US). Step Functions and Lambda parse, chunk, and embed uploads; Amazon DocumentDB retains text and metadata, while S3 Vectors stores embeddings. Deletion removes vectors immediately in batches before deleting chunks. IAM scopes ingestion and agent access to customer indexes, and authenticated session context selects the index. Strands Agents on ECS Fargate can search, inspect results, and retry with revised queries; Hathr.AI caps searches per turn. The move addressed shared-cluster resource contention and reduced the DocumentDB cluster to one quarter of peak size. Hathr.AI reports zero failed vector requests, sub-100 ms average query latency, and upload-to-search readiness P99 below one-tenth of its prior time. S3 Vectors has per-index write limits, and index settings such as dimensions, distance metric, and encryption cannot be changed after creation. GovCloud deployments also need partition-specific ARNs and endpoint checks, model availability confirmation, and appropriate data-event logging where audit records are needed.

### Source excerpt

Hathr.AI runs a HIPAA-aligned, multi-tenant agentic RAG tool for regulated industries in AWS GovCloud (US). This post covers its architecture (a Step Functions ingestion pipeline, per-customer Amazon S3 Vectors indexes, and Strands Agents on ECS Fargate) and the results after moving vector search from Amazon DocumentDB to Amazon S3 Vectors.

## Fine-grained authorization for Elasticsearch RAG with SpiceDB

DevFeed: [Fine-grained authorization for Elasticsearch RAG with SpiceDB](<https://devfeed.tech/articles/fine-grained-authorization-for-elasticsearch-rag-with-spicedb-129234.md>)

Original publisher: [Read original article](<https://www.elastic.co/search-labs/blog/fine-grained-authorization-elasticsearch-rag-spicedb>)

Author: Sohan Maheshwar,Carly Richmond

Published: 2026-11-11T16:00:00Z

Content type: article

Language: en

Sources: [Elasticsearch Labs](<https://devfeed.tech/sources/elasticsearch-labs.md>)

Topics: [Authorization](<https://devfeed.tech/topics/authorization.md>), [Retrieval Augmented Generation (RAG)](<https://devfeed.tech/topics/retrieval-augmented-generation-rag.md>), [elasticsearch](<https://devfeed.tech/topics/elasticsearch.md>)

Tags: [access-control](<https://devfeed.tech/tags/access-control.md>), [access-management](<https://devfeed.tech/tags/access-management.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agentic](<https://devfeed.tech/tags/agentic.md>), [agentic-ai](<https://devfeed.tech/tags/agentic-ai.md>), [agentic-rag](<https://devfeed.tech/tags/agentic-rag.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [ai-applications](<https://devfeed.tech/tags/ai-applications.md>), [ai-chatbot](<https://devfeed.tech/tags/ai-chatbot.md>), [api](<https://devfeed.tech/tags/api.md>), [authorization](<https://devfeed.tech/tags/authorization.md>), [chatbot](<https://devfeed.tech/tags/chatbot.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [elasticsearch](<https://devfeed.tech/tags/elasticsearch.md>), [graph](<https://devfeed.tech/tags/graph.md>), [integrations](<https://devfeed.tech/tags/integrations.md>), [llm](<https://devfeed.tech/tags/llm.md>), [pipeline](<https://devfeed.tech/tags/pipeline.md>), [rag](<https://devfeed.tech/tags/rag.md>), [rag-pipeline](<https://devfeed.tech/tags/rag-pipeline.md>), [vector-database](<https://devfeed.tech/tags/vector-database.md>)

### AI overview

The excerpt describes a RAG authorization design in which Elasticsearch retrieves relevant chunks and SpiceDB checks each chunk's document ID and user before content reaches the LLM. A deterministic LangGraph authorization node filters unauthorized documents; missing IDs, denied checks, or errors fail closed, and the agent cannot bypass the check. SpiceDB models access as relationships, supporting department membership, document sharing, and individual exceptions without changing roles or reindexing. Compared with Elasticsearch document-level security, this keeps relationship rules in a shared graph rather than denormalizing them into indexed documents. The excerpt notes that post-filtering can reduce available context, recommends overfetching and optional metadata prefilters, and describes LookupResources as an alternative for some access patterns, with result-size limits. Production setup requires keeping relationships synchronized and using a persistent SpiceDB datastore.

### Source excerpt

Department filters break the first time Engineering shares one document with Sales, so SpiceDB checks each retrieved chunk against a relationship graph before your Elasticsearch RAG pipeline passes it to the LLM.

## PatternBloom: Empowering Agentic RAG with Externalized RL-Distilled Graph Patterns

DevFeed: [PatternBloom: Empowering Agentic RAG with Externalized RL-Distilled Graph Patterns](<https://devfeed.tech/articles/patternbloom-empowering-agentic-rag-with-externalized-rl-distilled-graph-patterns-125953.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.10477>)

Author: Yi Ge, Heng Huang

Published: 2026-11-10T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [Retrieval Augmented Generation (RAG)](<https://devfeed.tech/topics/retrieval-augmented-generation-rag.md>), [Reinforcement learning](<https://devfeed.tech/topics/reinforcement-learning.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>)

Tags: [agentic](<https://devfeed.tech/tags/agentic.md>), [agentic-rag](<https://devfeed.tech/tags/agentic-rag.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [framework](<https://devfeed.tech/tags/framework.md>), [graph](<https://devfeed.tech/tags/graph.md>), [information-density](<https://devfeed.tech/tags/information-density.md>), [knowledge-graph](<https://devfeed.tech/tags/knowledge-graph.md>), [learning](<https://devfeed.tech/tags/learning.md>), [logic](<https://devfeed.tech/tags/logic.md>), [memory](<https://devfeed.tech/tags/memory.md>), [patterns](<https://devfeed.tech/tags/patterns.md>), [procedural](<https://devfeed.tech/tags/procedural.md>), [procedural-knowledge](<https://devfeed.tech/tags/procedural-knowledge.md>), [rag](<https://devfeed.tech/tags/rag.md>), [reasoning](<https://devfeed.tech/tags/reasoning.md>), [reinforcement-learning](<https://devfeed.tech/tags/reinforcement-learning.md>), [rl](<https://devfeed.tech/tags/rl.md>)

### AI overview

PatternBloom shifts agentic RAG retrieval from content to reusable reasoning structure. In a first reinforcement-learning stage, it scores constructed evidence graphs using a frozen oracle's information gain via IDR, a size-normalized mutual-information surrogate. High-reward trajectories become type-abstracted skeletons in a Graph Pattern Memory (GPM); a second stage uses PAR to couple the policy to that memory. The abstract reports that the 7B model exceeds 27 baselines by 15.0 Avg-OOD EM, with gains increasing at greater reasoning depth. Evidence is limited to the abstract; it does not provide details of the baselines or evaluation setup.

### Source excerpt

arXiv:2611.10477v1 Announce Type: new Abstract: Reinforcement-learning-trained agents for retrieval-augmented generation retrieve content (passages, knowledge-graph fragments, or hyperedges) and supervise training with outcome rewards on the final answer. Across these paradigms the reasoning route through retrieved content never leaves the language model's hidden state, conflating declarative knowledge with the procedural knowledge that recurs across queries of the same logical type; content-only methods consequently plateau as reasoning depth grows. We introduce PatternBloom, an agentic RAG framework that shifts the unit of retrieval from content (what to read) to logic (how to reason). A first RL stage scores the agent's constructed evidence graph by a frozen oracle's information gain through the Information-Density Reward (IDR), a size-normalized mutual-information surrogate. High-reward trajectories are distilled into a Graph Pattern Memory (GPM) of type-abstracted reasoning skeletons, and a second RL stage uses the Pattern-Augmented Reward (PAR) to couple policy to memory, turning procedural reasoning into a learnable, externalized structural prior. A 7B PatternBloom outperforms $27$ baselines by $+15.0$ Avg-OOD EM, with the gain compounding with reasoning depth precisely because procedural knowledge, once distilled, is reused rather than re-derived at every query. We release our code at https://github.com/EllenYiGe/PatternBloom.

## Safety and accuracy diverge across deployment conditions in clinical large language models

DevFeed: [Safety and accuracy diverge across deployment conditions in clinical large language models](<https://devfeed.tech/articles/safety-and-accuracy-diverge-across-deployment-conditions-in-clinical-large-language-models-123128.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2605.04039>)

Author: Sebastian Wind, Tri-Thien Nguyen, Jeta Sopa, Mahshad Lotfinia, Sebastian Bickelhaup, Michael Uder, Harald K\\"ostler, Gerhard Wellein, Sven Nebelung, Daniel Truhn, Andreas Maier, Soroosh Tayebi Arasteh

Published: 2026-11-09T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [LLM security](<https://devfeed.tech/topics/llm-security.md>), [LLM evaluation / benchmarking](<https://devfeed.tech/topics/llm-evaluation-benchmarking.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Retrieval Augmented Generation (RAG)](<https://devfeed.tech/topics/retrieval-augmented-generation-rag.md>), [Uncertainty quantification LLMs](<https://devfeed.tech/topics/uncertainty-quantification-llms.md>)

Tags: [agentic-rag](<https://devfeed.tech/tags/agentic-rag.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [inference](<https://devfeed.tech/tags/inference.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [large-language-models](<https://devfeed.tech/tags/large-language-models.md>), [medicine](<https://devfeed.tech/tags/medicine.md>), [safety](<https://devfeed.tech/tags/safety.md>), [scaling](<https://devfeed.tech/tags/scaling.md>)

### AI overview

In this evaluation, clinical LLM safety depended more on deployment condition than model family and did not consistently improve with accuracy scaling. The researchers tested 34 local models on RadSaFE-200, a 200-question radiology benchmark, across six conditions. Clean clinician-written evidence yielded the strongest joint results: mean accuracy rose from 73.5% to 94.1%, while high-risk errors fell from 12.0% to 2.6% and dangerous overconfidence from 8.0% to 1.6%. Standard and agentic retrieval-augmented generation, max-context prompting, and inference-time compute improved selected metrics but did not match that safety profile. Consequential errors clustered in a small subset of questions. These findings are limited to the described benchmark and deployment conditions.

### Source excerpt

arXiv:2605.04039v2 Announce Type: replace-cross Abstract: Clinical large language models (LLMs) are commonly scaled by increasing model size, context length, retrieval complexity, or inference-time compute, on the assumption that higher accuracy implies safer behavior. In medicine, where a few confident or evidence-contradicting errors can outweigh average performance, this assumption may be incomplete. We introduce Safety-Focused Evaluation of Scaling (SaFE-Scale) and instantiate it on RadSaFE-200, a 200-question text-based radiology multiple-choice benchmark with clinician-defined clean evidence, conflict evidence, and option-level labels for high-risk error, unsafe answer, and evidence contradiction. Thirty-four local LLMs were evaluated across six deployment conditions spanning closed-book, evidence-grounded, standard and agentic retrieval- augmented generation (RAG), and max-context prompting. Clean clinician-written evidence, used as an upper-bound, produced the strongest joint gain, raising mean accuracy from 73.5% to 94.1% and reducing high-risk error from 12.0% to 2.6% and dangerous overconfidence from 8.0% to 1.6%. Standard and agentic RAG, max-context prompting, and inference-time compute improved selected metrics but did not reproduce this safety profile. Clinically, consequential errors concentrated in a small subset of questions, and variance decomposition placed deployment condition above model family on every safety metric. Within this evaluation, clinical LLM safety did not track accuracy scaling but emerged as a deployment-level property.

## SoK: Agentic Retrieval-Augmented Generation (RAG): Taxonomy, Architectures, Evaluation, and Research Directions

DevFeed: [SoK: Agentic Retrieval-Augmented Generation (RAG): Taxonomy, Architectures, Evaluation, and Research Directions](<https://devfeed.tech/articles/sok-agentic-retrieval-augmented-generation-rag-taxonomy-architectures-evaluation-and-research-directions-111177.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2603.07379>)

Author: Saroj Mishra, Suman Niroula, Umesh Yadav, Dilip Thakur, Srijan Gyawali, Shiva Gaire

Published: 2026-11-02T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [Retrieval Augmented Generation (RAG)](<https://devfeed.tech/topics/retrieval-augmented-generation-rag.md>), [Agentic AI](<https://devfeed.tech/topics/what-is-agentic-ai.md>), [Multi-step AI processes](<https://devfeed.tech/topics/multi-step-ai-processes.md>), [AI Architecture](<https://devfeed.tech/topics/ai-architecture.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [Vectors & LLMs](<https://devfeed.tech/topics/vectors-llms.md>), [Enhancing AI model performance](<https://devfeed.tech/topics/enhancing-ai-model-performance.md>)

Tags: [adaptive](<https://devfeed.tech/tags/adaptive.md>), [adoption](<https://devfeed.tech/tags/adoption.md>), [agentic](<https://devfeed.tech/tags/agentic.md>), [agentic-rag](<https://devfeed.tech/tags/agentic-rag.md>), [agentic-retrieval](<https://devfeed.tech/tags/agentic-retrieval.md>), [architectures](<https://devfeed.tech/tags/architectures.md>), [autonomous](<https://devfeed.tech/tags/autonomous.md>), [autonomous-systems](<https://devfeed.tech/tags/autonomous-systems.md>), [control](<https://devfeed.tech/tags/control.md>), [cost](<https://devfeed.tech/tags/cost.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [cs-ir](<https://devfeed.tech/tags/cs-ir.md>), [decision-making](<https://devfeed.tech/tags/decision-making.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [formal](<https://devfeed.tech/tags/formal.md>), [framework](<https://devfeed.tech/tags/framework.md>), [rag](<https://devfeed.tech/tags/rag.md>), [research](<https://devfeed.tech/tags/research.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>), [retrieval-augmented-generation](<https://devfeed.tech/tags/retrieval-augmented-generation.md>), [retrieval-augmented-generation-rag](<https://devfeed.tech/tags/retrieval-augmented-generation-rag.md>), [taxonomy](<https://devfeed.tech/tags/taxonomy.md>)

### AI overview

The paper frames agentic RAG as a sequential decision-making process, formalizing retrieval-generation loops as finite-horizon partially observable Markov decision processes with explicit control policies and state transitions. It organizes systems by planning, retrieval orchestration, memory, and tool use, and argues that static evaluation misses risks such as compounding hallucinations, memory poisoning, retrieval misalignment, and cascading tool-execution vulnerabilities. Proposed research directions include stable adaptive retrieval, cost-aware orchestration, trajectory-based evaluation, and oversight. This overview is based on the supplied abstract and excerpt.

### Source excerpt

arXiv:2603.07379v2 Announce Type: replace-cross Abstract: Retrieval-Augmented Generation (RAG) systems are increasingly evolving into agentic architectures where large language models autonomously coordinate multi-step reasoning, dynamic memory management, and iterative retrieval strategies. Despite rapid industrial adoption, current research lacks a systematic understanding of Agentic RAG as a sequential decision-making system, leading to highly fragmented architectures, inconsistent evaluation methodologies, and unresolved reliability risks. This Systematization of Knowledge (SoK) paper provides the first unified framework for understanding these autonomous systems. We formalize agentic retrieval-generation loops as finite-horizon partially observable Markov decision processes, explicitly modeling their control policies and state transitions. Building upon this formalization, we develop a comprehensive taxonomy and modular architectural decomposition that categorizes systems by their planning mechanisms, retrieval orchestration, memory paradigms, and tool-invocation behaviors. We further analyze the critical limitations of traditional static evaluation practices and identify severe systemic risks inherent to autonomous loops, including compounding hallucination propagation, memory poisoning, retrieval misalignment, and cascading tool-execution vulnerabilities. Finally, we outline key doctoral-scale research directions spanning stable adaptive retrieval, cost-aware orchestration, formal trajectory evaluation, and oversight mechanisms, providing a definitive roadmap for building reliable, controllable, and scalable agentic retrieval systems.

## OA-RAG: Ontology-based Agentic RAG for Faithful LLM Reasoning

DevFeed: [OA-RAG: Ontology-based Agentic RAG for Faithful LLM Reasoning](<https://devfeed.tech/articles/oa-rag-ontology-based-agentic-rag-for-faithful-llm-reasoning-103118.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.36335>)

Author: Hui Yang, Jiaoyan Chen, Yongsheng Gao

Published: 2026-10-28T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [Retrieval Augmented Generation (RAG)](<https://devfeed.tech/topics/retrieval-augmented-generation-rag.md>), [LLM evaluation / benchmarking](<https://devfeed.tech/topics/llm-evaluation-benchmarking.md>)

Tags: [agentic](<https://devfeed.tech/tags/agentic.md>), [agentic-rag](<https://devfeed.tech/tags/agentic-rag.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [formal](<https://devfeed.tech/tags/formal.md>), [grounding](<https://devfeed.tech/tags/grounding.md>), [healthcare](<https://devfeed.tech/tags/healthcare.md>), [knowledge](<https://devfeed.tech/tags/knowledge.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llm-reasoning](<https://devfeed.tech/tags/llm-reasoning.md>), [medical](<https://devfeed.tech/tags/medical.md>), [ontologies](<https://devfeed.tech/tags/ontologies.md>), [ontology](<https://devfeed.tech/tags/ontology.md>), [performance](<https://devfeed.tech/tags/performance.md>), [rag](<https://devfeed.tech/tags/rag.md>), [reasoning](<https://devfeed.tech/tags/reasoning.md>), [retrieval-augmented-generation](<https://devfeed.tech/tags/retrieval-augmented-generation.md>), [retrieval-augmented-generation-rag](<https://devfeed.tech/tags/retrieval-augmented-generation-rag.md>), [sources](<https://devfeed.tech/tags/sources.md>)

### AI overview

OA-RAG combines formal reasoning over domain ontologies with LLM reasoning, using both ontology relationships and informal annotations. For each answer, it reports the ontology observations used as evidence and assigns a model-assessed grounding level: entailed, supported, related, or unrelated. Across benchmarks from three large ontologies and six medical question-answering tasks, the abstract reports the best overall performance among evaluated ontology-fine-tuned and popular RAG methods, especially on reasoning-intensive tasks. Stronger grounding generally aligns with higher accuracy, though the levels are described as an indication of reliability. OA-RAG is also reported as competitive with, and sometimes better than, domain-specific RAG systems using sources such as textbooks.

### Source excerpt

arXiv:2610.36335v1 Announce Type: new Abstract: Large language models (LLMs) perform well across many real-world tasks but remain prone to hallucination, limiting their reliability in domains such as biomedicine and healthcare, where answers must be grounded in established knowledge. Retrieval-augmented generation (RAG) mitigates this problem by incorporating external information, but often overlooks logical relationships and relies heavily on the LLM's own reasoning, which can compromise answer faithfulness. We propose OA-RAG, an agent that integrates formal reasoning with LLM reasoning, drawing on both the logical structure and informal annotations of domain ontologies. For each answer, OA-RAG reports the ontology observations used as evidence and a model-assessed grounding level (entailed, supported, related, or unrelated) that characterises the strength of that evidence. Across benchmarks derived from three large-scale ontologies and six real-world medical question-answering tasks, OA-RAG achieves the best overall performance among the evaluated ontology-fine-tuned and popular RAG methods, with particularly strong results on reasoning-intensive tasks. The reported grounding levels also offer a useful indication of answer reliability, with stronger grounding generally associated with higher accuracy. Finally, our results demonstrate the value of ontologies as knowledge sources: OA-RAG is competitive with, and sometimes outperforms, domain-specific RAG systems that draw on sources such as textbooks.

## How CUDA Graph Replay Cuts Inference Overhead

DevFeed: [How CUDA Graph Replay Cuts Inference Overhead](<https://devfeed.tech/articles/how-cuda-graph-replay-cuts-inference-overhead-99036.md>)

Original publisher: [Read original article](<https://blog.dailydoseofds.com/p/how-cuda-graph-replay-cuts-inference>)

Author: Avi Chawla

Published: 2026-10-24T23:08:41Z

Content type: article

Language: en

Sources: [Daily Dose of Data Science](<https://devfeed.tech/sources/daily-dose-of-data-science.md>)

Topics: [CUDA Graphs](<https://devfeed.tech/topics/cuda-graphs.md>), [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>), [CUDA](<https://devfeed.tech/topics/cuda.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [3](<https://devfeed.tech/tags/3.md>), [about](<https://devfeed.tech/tags/about.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agent-harnesses](<https://devfeed.tech/tags/agent-harnesses.md>), [agentic](<https://devfeed.tech/tags/agentic.md>), [agentic-rag](<https://devfeed.tech/tags/agentic-rag.md>), [all](<https://devfeed.tech/tags/all.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [api](<https://devfeed.tech/tags/api.md>), [application](<https://devfeed.tech/tags/application.md>), [approach](<https://devfeed.tech/tags/approach.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [architectures](<https://devfeed.tech/tags/architectures.md>), [argument](<https://devfeed.tech/tags/argument.md>), [arguments](<https://devfeed.tech/tags/arguments.md>), [cuda](<https://devfeed.tech/tags/cuda.md>), [graph](<https://devfeed.tech/tags/graph.md>), [inference](<https://devfeed.tech/tags/inference.md>), [overhead](<https://devfeed.tech/tags/overhead.md>)

### AI overview

CUDA Graph replay reduces repeated CPU and driver work for LLM inference by recording a GPU operation sequence once and launching that saved plan on new inputs. After warm-up establishes kernels, buffers, shapes, and addresses, capture records operations and dependencies; each replay reruns them against updated input buffers rather than returning an old result. This cuts per-kernel dispatch and launch overhead while the model still performs nearly the same arithmetic. It can help when decoding repeats a compatible execution path and short kernels leave visible gaps in GPU utilization. The tradeoff is that replay expects compatible kernels, arguments, shapes, control flow, and memory addresses. Servers may capture graphs for common batch sizes, pad batches, or fall back to ordinary execution; broader graph coverage costs memory and startup time.

### Source excerpt

...explained visually.

## EP230: RAG vs Agentic RAG

DevFeed: [EP230: RAG vs Agentic RAG](<https://devfeed.tech/articles/ep230-rag-vs-agentic-rag-98916.md>)

Original publisher: [Read original article](<https://blog.bytebytego.com/p/ep230-rag-vs-agentic-rag>)

Author: ByteByteGo

Published: 2026-10-24T15:30:37Z

Content type: article

Language: en

Sources: [ByteByteGo](<https://devfeed.tech/sources/bytebytego.md>)

Topics: [Retrieval Augmented Generation (RAG)](<https://devfeed.tech/topics/retrieval-augmented-generation-rag.md>), [Agentic AI](<https://devfeed.tech/topics/what-is-agentic-ai.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agentic](<https://devfeed.tech/tags/agentic.md>), [agentic-rag](<https://devfeed.tech/tags/agentic-rag.md>), [ai](<https://devfeed.tech/tags/ai.md>), [rag](<https://devfeed.tech/tags/rag.md>)

### AI overview

RAG retrieves context once through a predefined process, adds it to the prompt, and relies on the LLM to answer; its result depends on the accuracy of that retrieved context. Agentic RAG lets an agent select tools such as document, API, database, or web search, check whether the evidence is sufficient, and refine its search or switch tools before generating an answer. The excerpt describes these typical workflows but gives no comparative performance results.

### Source excerpt

Here's how RAG and agentic RAG typically work.

## Build a Jev-powered Agentic RAG

DevFeed: [Build a Jev-powered Agentic RAG](<https://devfeed.tech/articles/build-a-jev-powered-agentic-rag-96460.md>)

Original publisher: [Read original article](<https://blog.dailydoseofds.com/p/build-a-jev-powered-agentic-rag>)

Author: Sitam Meur

Published: 2026-10-22T23:00:56Z

Content type: tutorial

Language: en

Sources: [Daily Dose of Data Science](<https://devfeed.tech/sources/daily-dose-of-data-science.md>)

Topics: [Agentic AI](<https://devfeed.tech/topics/what-is-agentic-ai.md>), [AI for customer service automation](<https://devfeed.tech/topics/ai-for-customer-service-automation.md>), [agentic-coding](<https://devfeed.tech/topics/agentic-coding.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [AI tools for developers](<https://devfeed.tech/topics/ai-tools-for-developers.md>)

Tags: [agentic](<https://devfeed.tech/tags/agentic.md>), [agentic-rag](<https://devfeed.tech/tags/agentic-rag.md>), [build](<https://devfeed.tech/tags/build.md>), [jev](<https://devfeed.tech/tags/jev.md>), [rag](<https://devfeed.tech/tags/rag.md>)

### AI overview

The excerpt describes a multimodal support desk that answers from company documents only when a decision model judges the evidence sufficient, otherwise opening a ticket for human review. EmbeddingGemma 2 puts text and page images in a shared 768-dimensional space; Liquid AI's d1-3B reranks candidates and assesses answerability. Text chunks and rendered page images are searched separately, merged by page, and evaluated against independently configurable thresholds. The pipeline retries once with wider search before escalating; human replies can be saved as new searchable knowledge. InsForge supplies backend services, while the models run on Lightning AI Studio. In a 75-question evaluation across four cases, the decision gate had the highest accuracy and alone maintained full performance on image-only questions; the BGE reranker avoided wrong answers but often escalated image-based questions.

### Source excerpt

...explained step-by-step with code.

## Does Agentic RAG Actually Retrieve Better Evidence? I Tested It on 298 Questions

DevFeed: [Does Agentic RAG Actually Retrieve Better Evidence? I Tested It on 298 Questions](<https://devfeed.tech/articles/does-agentic-rag-actually-retrieve-better-evidence-i-tested-it-on-298-questions-95958.md>)

Original publisher: [Read original article](<https://towardsdatascience.com/does-agentic-rag-actually-retrieve-better-evidence-i-tested-it-on-298-questions/>)

Author: Abdullahi Dattijo

Published: 2026-10-22T15:30:00Z

Content type: news

Language: en

Sources: [Towards Data Science](<https://devfeed.tech/sources/towards-data-science.md>)

Topics: [AI search](<https://devfeed.tech/topics/ai-search.md>), [Retrieval Augmented Generation (RAG)](<https://devfeed.tech/topics/retrieval-augmented-generation-rag.md>), [Agentic AI](<https://devfeed.tech/topics/what-is-agentic-ai.md>), [A/B Testing](<https://devfeed.tech/topics/a-b-testing.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agentic](<https://devfeed.tech/tags/agentic.md>), [agentic-rag](<https://devfeed.tech/tags/agentic-rag.md>), [agentic-retrieval](<https://devfeed.tech/tags/agentic-retrieval.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [ai-coding](<https://devfeed.tech/tags/ai-coding.md>), [ai-coding-assistant](<https://devfeed.tech/tags/ai-coding-assistant.md>), [anthropic](<https://devfeed.tech/tags/anthropic.md>), [apache](<https://devfeed.tech/tags/apache.md>), [apache-2-0](<https://devfeed.tech/tags/apache-2-0.md>), [api](<https://devfeed.tech/tags/api.md>), [api-key](<https://devfeed.tech/tags/api-key.md>), [apis](<https://devfeed.tech/tags/apis.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [bootstrap](<https://devfeed.tech/tags/bootstrap.md>), [cache](<https://devfeed.tech/tags/cache.md>), [editor-s-picks](<https://devfeed.tech/tags/editor-s-picks.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [large-language-models](<https://devfeed.tech/tags/large-language-models.md>), [llm-agents](<https://devfeed.tech/tags/llm-agents.md>), [rag](<https://devfeed.tech/tags/rag.md>), [search](<https://devfeed.tech/tags/search.md>)

### AI overview

On 298 questions about 2,000 recent arXiv papers, an agent allowed up to three searches did not clearly improve top-five retrieval over one-shot dense search: it recovered some missed papers but lost others, and the estimated gain was too uncertain to distinguish from no effect. A reranker that rescored the first 50 results improved rank quality, though not top-five recall clearly; it used no language model calls and added about 1.5 seconds on the author's laptop. The agent stopped after one search on about 59% of questions and used all three on about 26%, adding model cost and delay. The test covered retrieval only, used long questions generated from abstracts, one collection, and one agent model and instruction set, so the results may not generalize. The author suggests measuring baseline misses, trying reranking, and inspecting agent rewrites for unsupported added terms.

### Source excerpt

I let an AI agent search again whenever it chose. It found some papers plain search had missed, lost some plain search had found, and gained too little to trust. The post Does Agentic RAG Actually Retrieve Better Evidence? I Tested It on 298 Questions appeared first on Towards Data Science.

## Your RAG Pipeline Dies on Real Documents: Here's Why

DevFeed: [Your RAG Pipeline Dies on Real Documents: Here's Why](<https://devfeed.tech/articles/your-rag-pipeline-dies-on-real-documents-here-s-why-64495.md>)

Original publisher: [Read original article](<https://hackernoon.com/your-rag-pipeline-dies-on-real-documents-heres-why?source=rss>)

Author: Paolo Perrone

Published: 2026-10-03T17:00:06Z

Content type: article

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [Retrieval Augmented Generation (RAG)](<https://devfeed.tech/topics/retrieval-augmented-generation-rag.md>), [Amazon Textract](<https://devfeed.tech/topics/amazon-textract.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agentic-rag](<https://devfeed.tech/tags/agentic-rag.md>), [ai](<https://devfeed.tech/tags/ai.md>), [api](<https://devfeed.tech/tags/api.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [better](<https://devfeed.tech/tags/better.md>), [block](<https://devfeed.tech/tags/block.md>), [coding](<https://devfeed.tech/tags/coding.md>), [context](<https://devfeed.tech/tags/context.md>), [cost](<https://devfeed.tech/tags/cost.md>), [csv](<https://devfeed.tech/tags/csv.md>), [data](<https://devfeed.tech/tags/data.md>), [demo](<https://devfeed.tech/tags/demo.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [detection](<https://devfeed.tech/tags/detection.md>), [edit-distance](<https://devfeed.tech/tags/edit-distance.md>), [pdf](<https://devfeed.tech/tags/pdf.md>), [pipeline](<https://devfeed.tech/tags/pipeline.md>), [rag](<https://devfeed.tech/tags/rag.md>), [rag-architecture](<https://devfeed.tech/tags/rag-architecture.md>), [rag-chunking-strategies](<https://devfeed.tech/tags/rag-chunking-strategies.md>), [rag-evaluation](<https://devfeed.tech/tags/rag-evaluation.md>), [rag-optimization](<https://devfeed.tech/tags/rag-optimization.md>), [rag-pipelines](<https://devfeed.tech/tags/rag-pipelines.md>), [rag-systems](<https://devfeed.tech/tags/rag-systems.md>), [what-is-rag](<https://devfeed.tech/tags/what-is-rag.md>)

### AI overview

PDFs often preserve text positions without the structure needed for reliable retrieval. Flattened tables, scrambled reading order, scans, and missing visual context can produce plausible but incorrect RAG answers without raising errors. The article explains how document-understanding parsers combine layout detection, reading-order recovery, table reconstruction, OCR, and language models, while noting their cost, accuracy limits, and downstream tradeoffs. It recommends comparing raw parser output on difficult documents from your own corpus.

### Source excerpt

RAG fails on PDFs because a PDF stores glyph positions, not document structure. Tables flatten, reading order scrambles, and no error is ever raised.

## 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