Codebase Health Agent

•
1
•

Audits any code repository using a multi-agent AI system and generates a styled health report in Markdown and PDF format.

The Codebase Health Agent is a sophisticated multi-agent AI system designed to thoroughly audit any code repository. It leverages LangGraph, the Model Context Protocol (MCP), and Google Gemini, orchestrating three specialized agents to scan project structure, review code, and compile a comprehensive health report. This report details structural insights, Git activity, and provides a multi-level code review that catches both static analysis issues and deeper LLM-reasoned inefficiencies. It concludes with a plain-English summary, a health score (0–10), and prioritizes the top three fixes, making it an invaluable tool for maintaining codebase quality.

Key Features

01Multi-agent architecture using LangGraph with specialized ReAct agents (Scanner, Analyst, Reporter)
02Generates detailed health reports in Markdown and styled PDF formats
03Analyzes codebase structure, Git activity (commits, contributors, hotspots), and identifies real issues with suggested fixes
041 GitHub stars
05Performs two levels of code review: static analysis (Ruff, Bandit, Radon) and LLM reasoning for deeper issues
06Model-agnostic design allowing easy swapping of LLM providers (e.g., Gemini, Groq)
07Provides a comprehensive health score (0-10), a verdict summary, and prioritized top 3 fixes

Use Cases

01Generating standardized, shareable health reports for project stakeholders or team reviews.
02Automated auditing of code repositories to assess overall health and identify critical issues.
03Enhancing code quality by automatically flagging inefficiencies, security flaws, and design problems.