π Production-Ready Multi-Agent AI System for Intelligent Repository Analysis & Automation
A fully modular, production-ready multi-agent AI system designed to intelligently analyze GitHub repositories, extract metadata, summarize content, and improve documentation.
This project represents the final capstone (Project 3) of the Agentic AI Developer Certification and is an upgraded, production-grade version of the previous Project 2: Multi-Agent System.
π About This Project
This system transforms a functional prototype into a reliable, secure, and user-ready AI application, featuring:
π§ Multi-agent collaboration
π‘οΈ Guardrails & safety validation
π§ͺ Comprehensive testing (unit + integration + E2E)
π₯οΈ Streamlit user interface
π§ Robust tooling for repo parsing & metadata extraction
π Production-readiness enhancements
π§© System Architecture Overview
The system uses a network of coordinated AI agents, each specializing in a specific task:
π€ Agents
Agent Role
π Tools
Tool Function
π₯οΈ User Interface
A lightweight Streamlit application enables:
π Folder Structure
multi-agent-system/
β
βββ agents/
β βββ analyzer_agent.py
β βββ metadata_agent.py
β βββ improver_agent.py
β
βββ tools/
β βββ repo_reader.py
β βββ web_search_tool.py
β
βββ utils/
β βββ guardrails.py
β βββ logger.py
β
βββ ui/
β βββ app.py
β
βββ tests/
β βββ test_analyzer_agent.py
β βββ test_metadata_agent.py
β βββ test_improver_agent.py
β βββ test_end_to_end.py
β
βββ main.py
π§ How It Works
The system follows a deterministic, multi-agent orchestration pipeline:
1οΈβ£ Repo Reader collects repository content
2οΈβ£ AnalyzerAgent generates a structured summary
3οΈβ£ MetadataAgent extracts tech stack & core metadata
4οΈβ£ ImproverAgent proposes documentation & quality improvements
5οΈβ£ All outputs merge in the orchestrator
6οΈβ£ Final results displayed in Streamlit UI
𧬠Architecture Diagram
flowchart TD
A[User Input
Repository Path] --> B[Repo Reader]
B --> C[AnalyzerAgent]
B --> D[MetadataAgent]
B --> E[ImproverAgent]
C --> F[Summary Output]
D --> G[Metadata Output]
E --> H[Improvement Suggestions]
F --> I[Workflow Orchestrator]
G --> I
H --> I
I --> J[Streamlit UI
Final JSON Output]
π‘ Safety, Guardrails & Fallbacks
To ensure a production-grade experience, the system includes:
π§ͺ Testing & Reliability
The testing suite ensures functional accuracy and system stability:
Run all tests:
pytest -v
π₯οΈ UI: Streamlit Application
Launch the UI:
cd ui
streamlit run app.py
The interface displays:
βοΈ Installation
1οΈβ£ Clone the repository
git clone https://github.com/pranteshdahikar/multi-agent-system
cd multi-agent-system

2οΈβ£ Install dependencies
pip install -r requirements.txt
3οΈβ£ Run the analyzer workflow
python main.py
π€ Example Output
{
"analysis_summary": "This repository implements a production-ready multi-agent system...",
"metadata": {
"tech_stack": ["Python", "Streamlit", "LangChain"],
"project_purpose": "Automated repository analysis & documentation enhancement"
},
"improvements": [
"Add architecture diagram",
"Add contribution guidelines",
"Improve README structure"
]
}
π Related GitHub Projects
These projects support this certification journey:
Project Links:
Project β RAG Assistant https://github.com/pranteshdahikar/rag-assistant
Project β Multi-Agent System https://github.com/pranteshdahikar/multi-agent-system