mlsanityData to 7 Oct 2026

DepsRAG: Towards Agentic Reasoning and Planning for Software Dependency Management

arXiv 2405.20455 ↗First posted 30 May 2024cs.SEcited by 3

On the map: LLM reasoning → Reasoning for agents, planning and code

also in 1 more
Abstract (arXiv)

In the era of Large Language Models (LLMs) with their advanced capabilities, a unique opportunity arises to develop LLM-based digital assistant tools that can support software developers by facilitating comprehensive reasoning about software dependencies and open-source libraries before importing them. This reasoning process is daunting, mandating multiple specialized tools and dedicated expertise, each focusing on distinct aspects (e.g., security analysis tools may overlook design flaws such as circular dependencies, which hinder software maintainability). Creating a significant bottleneck in the software development lifecycle. In this paper, we introduce DepsRAG, a multi-agent framework designed to assist developers in reasoning about software dependencies. DepsRAG first constructs a comprehensive Knowledge Graph (KG) that includes both direct and transitive dependencies. Developers can interact with DepsRAG through a conversational interface, posing queries about the dependencies. DepsRAG employs Retrieval-Augmented Generation (RAG) to enhance these queries by retrieving relevant information from the KG as well as external sources, such as the Web and vulnerability databases, thus demonstrating its adaptability to novel scenarios. DepsRAG incorporates a Critic-Agent feedback loop to ensure the accuracy and clarity of LLM-generated responses. We evaluated DepsRAG using GPT-4-Turbo and Llama-3 on three multi-step reasoning tasks, observing a threefold increase in accuracy with the integration of the Critic-Agent mechanism. DepsRAG demo and implementation are available: https://github.com/Mohannadcse/DepsRAG.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 3 of its 33 references that are in the map. First posted on arXiv 30 May 2024.

Builds on

3 of 33 references.

References · 3

  1. 2023CRITIC: Large Language Models Can Self-Correct with Tool-Interactive Critiquingcited by 751
  2. 2023Can Knowledge Graphs Reduce Hallucinations in LLMs? : A Surveycited by 92
  3. 2024How Quickly Do Development Teams Update Their Vulnerable Dependencies?cited by 2

Built on by

Cited by year

Citing papers per year: 2025: 3.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026AgentStepper: Interactive Debugging of Software Development Agents
  2. 2026AgentFlow: Building Agent Dependency Graphs for Static Analysis of Agent Programs
  3. 2026Update from Hell: Can Coding Agents Survive Hidden Breakage in Dependency Upgrades?
  4. 2025A Comprehensive Empirical Evaluation of Agent Frameworks on Code-centric Software Engineering Tasks
  5. 2025Agentic Software Issue Resolution with Large Language Models: A Survey
  6. 2026Beyond Predefined Sinks: Security-Aware Dependency Analysis for LLM Agents
  7. 2025Understanding Software Engineering Agents: A Study of Thought-Action-Result Trajectories
  8. 2026CodeTeam: An LLM-Powered Multi-Agent Framework for Repository-Level Code Generation