A powerful AI chat application built with FastAPI and multi-agent architecture, designed to provide specialized AI assistance through different expert agents.
The system uses LLM-based workflows to route user requests to the most suitable AI agent, enabling better responses for general queries, coding, research, and creative tasks.
| Agent | Purpose |
|---|---|
| 🧠 General Assistant | General questions, explanations, and problem solving |
| 💻 Code Assistant | Programming help, debugging, and optimization |
| ⚙️ Technical Expert | Software engineering and technical guidance |
| ✍️ Creative Writer | Stories, content creation, and brainstorming |
| 🔎 Research Assistant | Information analysis and summaries |
Supports multiple languages including:
- 🇺🇸 English
- 🇧🇩 Bengali
- 🇮🇳 Hindi
- 🇪🇸 Spanish
- 🇫🇷 French
- 🇩🇪 German
- 🇵🇹 Portuguese
- 🇨🇳 Chinese
- 🇯🇵 Japanese
- 🇰🇷 Korean
- 🇸🇦 Arabic
User
│
▼
Web Interface
│
▼
FastAPI Backend
│
▼
Agent Router
│
├── General Agent
├── Code Agent
├── Research Agent
├── Technical Agent
└── Creative Agent
│
▼
LLM Provider
- Python
- FastAPI
- WebSocket
- REST API
- HTML
- CSS
- JavaScript
- OpenRouter API
- LLM-based agent routing
- Multi-agent workflow design
- Docker support
- Linux deployment ready
multi-agent-ai/
│
├── main.py
├── README.md
├── requirements.txt
├── .env.example
│
├── static/
│ ├── css/
│ ├── js/
│ └── images/
│
└── tests/
git clone https://github.com/faridahmed-devhub/multi-agent-ai.git
cd multi-agent-aipython -m venv venvActivate:
Windows:
venv\Scripts\activateLinux/Mac:
source venv/bin/activatepip install -r requirements.txtCreate a .env file:
OPENROUTER_API_KEY=your_api_key_hereNever commit your API keys to GitHub.
python main.pyOpen:
http://localhost:8000
{
"message": "Explain Python decorators",
"language": "en",
"agent": "code"
}{
"response": "Python decorators are...",
"agent": "code",
"language": "en"
}- AI customer support assistants
- Coding assistants
- Research automation
- Personal productivity tools
- AI workflow experiments
- Enterprise AI assistants
- Memory system for conversations
- More specialized agents
- RAG document search
- Voice interaction
- User authentication
- Agent collaboration workflows
Contributions are welcome!
Steps:
- Fork the repository
- Create a feature branch
- Commit changes
- Open a Pull Request
Farid Ahmed
Software Engineer | Backend • Full Stack • AI Engineering
GitHub: https://github.com/faridahmed-devhub
LinkedIn: https://linkedin.com/in/faridahmed-devhub
This project is open-source and available under the MIT License.