๐ง A powerful LangGraph-based Multi-Agent AI System that routes queries to specialized agents (Code, Math, Reasoning, Weather) using Gemini 2.5 Flash + Tools + Streamlit
NeuroFlow AI is an intelligent multi-agent system that:
- ๐ Routes queries using a custom Router Agent
- ๐ค Uses specialized agents for different tasks
- โ๏ธ Integrates tools (calculator, weather, python execution)
- ๐ง Uses LLM (Gemini) for reasoning
- ๐ก Displays structured outputs in UI
User Input
โ
Router Agent (LangGraph)
โ
โโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโ
โ Code Agent โ Math Agent โ Reasoning โ Weather โ
โ โ โ Agent โ Agent โ
โโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโ
โ
Tools / LLM Execution
โ
Final Structured Output (Streamlit UI)
- Intelligent routing using LangGraph
- Modular agent architecture
- Scalable design
-
Generates code in:
- Python
- Java
- C++
-
Clean formatted output
-
Solves equations step-by-step
-
Supports:
- Arithmetic
- Algebra (e.g.,
2x + 5 = 15)
-
Uses SymPy
- Powered by Gemini 2.5 Flash
- Explains concepts clearly
- Structured responses
-
Real-time weather data
-
Displays:
- ๐ก Temperature
- ๐ง Humidity
- ๐ฅ Condition
- Router Agent (Custom โ LangGraph)
- Code Agent
- Math Agent
- Reasoning Agent
- Weather Agent
- Python Execution Tool
- Calculator Tool (SymPy)
- Weather API Tool
- Search Tool (DuckDuckGo)
| Technology | Purpose |
|---|---|
| Python | Backend |
| Streamlit | UI |
| LangGraph | Agent orchestration |
| Gemini 2.5 Flash | LLM |
| SymPy | Math solving |
| Requests | API calls |
neuroflow-multiagent-ai/
โ
โโโ app.py
โโโ agents/
โ โโโ router_agent.py
โ โโโ code_agent.py
โ โโโ math_agent.py
โ โโโ reasoning_agent.py
โ
โโโ tools/
โ โโโ calculator_tool.py
โ โโโ weather_tool.py
โ โโโ python_tool.py
โ โโโ search_tool.py
โ
โโโ core/
โ โโโ graph.py
โ โโโ config.py
โ
โโโ .env
โโโ .gitignore
โโโ requirements.txt
โโโ README.md
โโโ LICENSE
git clone https://github.com/22AD040/neuroflow-ai-multibrain-system.git
cd neuroflow-multiagent-aipython -m venv venv
venv\Scripts\activatepip install -r requirements.txtCreate .env file:
GEMINI_API_KEY=your_api_key_here
WEATHER_API_KEY=your_api_key_herestreamlit run app.py- ๐ API keys stored in
.env - โ No hardcoded secrets
- โ Safe local execution
- Multi-Agent AI Assistant
- Code Generator
- Math Solver
- Concept Explainer
- Weather Assistant
- AI Project Demo
- Chat UI (like ChatGPT)
- Tool chaining (LangGraph advanced)
- File upload + RAG
- Better UI/UX
Ratchita B AI & Data Science Student ๐
If you like this project:
๐ Star โญ the repo ๐ Share with others
MIT License





