DepsRAG: Towards Agentic Reasoning and Planning for Software Dependency Management
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
Built on by
Citing papers per year: 2025: 3.
3 papers.
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 13
- 2025XGraphRAG: Interactive Visual Analysis for Graph-based Retrieval-Augmented Generationcited by 2
- 2025Which Is Better For Reducing Outdated and Vulnerable Dependencies: Pinning or Floating?cited by 0
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025Which Is Better For Reducing Outdated and Vulnerable Dependencies: Pinning or Floating?7 Oct 2025
- 2025XGraphRAG: Interactive Visual Analysis for Graph-based Retrieval-Augmented Generation10 Jun 2025
Similar, not cited
Close in wording, no citation either way
- 2026AgentStepper: Interactive Debugging of Software Development Agents
- 2026AgentFlow: Building Agent Dependency Graphs for Static Analysis of Agent Programs
- 2026Update from Hell: Can Coding Agents Survive Hidden Breakage in Dependency Upgrades?
- 2025A Comprehensive Empirical Evaluation of Agent Frameworks on Code-centric Software Engineering Tasks
- 2025Agentic Software Issue Resolution with Large Language Models: A Survey
- 2026Beyond Predefined Sinks: Security-Aware Dependency Analysis for LLM Agents
- 2025Understanding Software Engineering Agents: A Study of Thought-Action-Result Trajectories
- 2026CodeTeam: An LLM-Powered Multi-Agent Framework for Repository-Level Code Generation