A modular AI assistant capable of routing, planning, parallel research, synthesis, memory management and intelligent tool execution.
This project demonstrates a production-style Multi-Agent AI System where multiple specialized AI agents collaborate to solve user requests.
Instead of relying on a single LLM prompt, the system intelligently routes incoming queries to dedicated agents, executes research in parallel, synthesizes the outputs, and presents the final response through a clean Streamlit interface.
The project emphasizes software architecture, modularity, concurrency, and intelligent orchestration, making it suitable for showcasing AI engineering skills.
- Multi-Agent Architecture
- Intelligent Router Agent
- Planner Agent
- Research Agent
- Synthesizer Agent
- Google Gemini 3.6 Flash Integration
- Prompt Engineering
- Context-aware Task Routing
- Parallel Research using ThreadPoolExecutor
- Concurrent Agent Execution
- Execution Time Tracking
- Workflow Visualization
- Optimized Response Pipeline
- Calculator Tool
- Memory Tool
- Task Manager
- Information Extraction Tool
- Dynamic Tool Routing
- Modern Streamlit Dashboard
- Live Workflow Status
- Interactive Chat Interface
- Responsive Layout
- Execution Metrics
- System Monitoring
- Modular Codebase
- Separation of Concerns
- Scalable Agent Design
- Reusable Components
- Logging Support
- Environment Variable Configuration
- Clean Project Structure
graph TD
A[User Prompt]
A --> B[Router Agent]
B --> C[Planner Agent]
C --> D1[Research Agent]
C --> D2[Calculator Tool]
C --> D3[Memory Tool]
C --> D4[Extract Tool]
D1 --> E[Synthesizer Agent]
D2 --> E
D3 --> E
D4 --> E
E --> F[Final Response]
F --> G[Streamlit Dashboard]
flowchart LR
User --> Router
Router --> Planner
Planner --> ParallelResearch
ParallelResearch --> ToolExecution
ToolExecution --> Synthesizer
Synthesizer --> Response
Response --> UI
graph LR
Router --> Planner
Planner --> Research
Planner --> Calculator
Planner --> Memory
Planner --> Extract
Research --> Synthesizer
Calculator --> Synthesizer
Memory --> Synthesizer
Extract --> Synthesizer
Synthesizer --> User
Multi-Agent-AI-System/
βββ app.py Streamlit UI entry point
βββ main.py CLI entry point (terminal chat loop)
β
βββ agent/
β βββ orchestrator.py Main routing + execution logic
β βββ router.py Classifies intent, builds execution plan
β βββ planner_agent.py Breaks research requests into subtasks
β βββ research_agent.py Executes a single research subtask
β βββ multi_orchestrator.py Runs research subtasks in parallel
β βββ synthesizer_agent.py Merges research into one final answer
β βββ gemini.py Gemini client + retry logic
β βββ prompts.py All agent system prompts
β βββ memory.py Conversation memory persistence
β βββ context.py Shared execution context
β βββ logger.py Structured agent logging
β βββ timer.py Execution timing utilities
β βββ tools/
β βββ calculator.py Safe AST-based arithmetic evaluator
β βββ memory.py Stores/recalls facts (data/memory.json)
β βββ task_manager.py Simple task list (data/tasks.json)
β βββ extract.py Structured info extraction from text
β βββ chat.py Plain conversational fallback
β
βββ ui/
βββ styles.py Design system: colors, type, layout CSS
βββ header.py Brand header + live status
βββ workflow.py Pipeline node-graph visualization
βββ sidebar.py System readout + toolkit panel
βββ footer.py Footer
βββ html.py Safe raw-HTML render helper
| Component | Technology |
|---|---|
| Language | Python |
| Frontend | Streamlit |
| LLM | Google Gemini 3.6 Flash |
| Concurrency | ThreadPoolExecutor |
| Prompt Engineering | Gemini API |
| Logging | Python Logging |
| Version Control | Git & GitHub |
Clone the repository
git clone https://github.com/yourusername/Multi-Agent-AI-System.gitGo to the project directory
cd Multi-Agent-AI-SystemInstall dependencies
pip install -r requirements.txtCreate a .env
GOOGLE_API_KEY=YOUR_API_KEYRun
streamlit run app.pyResearch the impact of AI on Rural Healthcare
Calculate (25+30)*4
Remember my favourite language is Python
What is my favourite language?
Extract the important points from the following text...
- Internet Search Integration
- RAG using Vector Database
- PDF & Document Upload
- Agent Memory Persistence
- Docker Deployment
- Authentication
- Multi-LLM Support
- REST API
- Voice Interaction
Mahaveer Regar
B.Tech Electronics & Communication Engineering
SVNIT Surat
GitHub: https://github.com/mahaveer0738




