AI-powered bug localization for microservice architectures using hierarchical code understanding and LLM-based analysis.
⚠️ Disclaimer: Some links point to private repositories accessible only to authorized team members.
PROJECT INDEX:
- Defect Solver API: locates buggy repos and files
- Defect Solver Codebase Summarizer: converts codebases to NL knowledge base
- Dnext Coder MCP: a gateway to acccess our API
- Central Storage: stores NL knowledge bases
- Defect Solver Agent: a simple code agent to fix bugs
Provide a bug description in natural language, get back a ranked list of microservices and files likely containing the defect.
Example:
User: "Why is the user profile not loading?"
Defect Solver: Bug likely inuser-servicemicroservice, fileUserProfileController.java
The system uses MCP (Model Context Protocol) to integrate with AI development environments:
flowchart LR
User -->|Bug Description| Agent
Agent -->|MCP Tool| Server[MCP Server]
Server -->|API Call| DS[Defect Solver API]
DS -->|Ranked Results| Agent
- Connect to MCP Server - Use hosted version at
https://dnext-coder-mcp-server.pia-team.com/mcp/ - Configure Your IDE - VSCode, JetBrains, Claude Desktop, or any MCP-compatible environment
- Follow Setup Guide - See User Guide for configuration and usage
- Configure AI Agent - Copy AGENTS.md to your project for optimal agent behavior
Two-phase pipeline: Search Space Routing → Bug Localization
- Phase 1: Identify top-N suspicious microservices from bug description
- Phase 2: Pinpoint top-M suspicious files within selected microservices
See Algorithm Details for complete breakdown.
For contributors and developers, see Developer Guide.
Based on hierarchical code understanding to overcome LLM context window limitations in large-scale projects.
Paper: Repository-Level Code Understanding by LLMs via Hierarchical Summarization