Skip to content

22AD040/neuroflow-ai-multibrain-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

GitHub stars GitHub forks GitHub repo size


Python Streamlit LangGraph Gemini Multi-Agent License


๐Ÿš€ NeuroFlow AI โ€“ Multi-Agent Intelligent System

๐Ÿง  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


๐Ÿง  Overview

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

โš™๏ธ Architecture

User Input
   โ†“
Router Agent (LangGraph)
   โ†“
 โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
 โ”‚ Code Agent    โ”‚ Math Agent    โ”‚ Reasoning     โ”‚ Weather       โ”‚
 โ”‚               โ”‚               โ”‚ Agent         โ”‚ Agent         โ”‚
 โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
   โ†“
Tools / LLM Execution
   โ†“
Final Structured Output (Streamlit UI)

โœจ Features

๐Ÿค– Multi-Agent System

  • Intelligent routing using LangGraph
  • Modular agent architecture
  • Scalable design

๐Ÿ’ป Code Agent

  • Generates code in:

    • Python
    • Java
    • C++
  • Clean formatted output


๐Ÿงฎ Math Agent

  • Solves equations step-by-step

  • Supports:

    • Arithmetic
    • Algebra (e.g., 2x + 5 = 15)
  • Uses SymPy


๐Ÿง  Reasoning Agent

  • Powered by Gemini 2.5 Flash
  • Explains concepts clearly
  • Structured responses

๐ŸŒฆ Weather Agent

  • Real-time weather data

  • Displays:

    • ๐ŸŒก Temperature
    • ๐Ÿ’ง Humidity
    • ๐ŸŒฅ Condition

๐Ÿง  Agents Used

  • Router Agent (Custom โ€“ LangGraph)
  • Code Agent
  • Math Agent
  • Reasoning Agent
  • Weather Agent

๐Ÿ›  Tools Used

  • Python Execution Tool
  • Calculator Tool (SymPy)
  • Weather API Tool
  • Search Tool (DuckDuckGo)

๐Ÿ“ธ Application Screenshots

๐Ÿ  Home / Auto Mode

Home


โ–ถ๏ธ Auto Mode

Auto


๐Ÿ’ป Code Generation

Code


๐Ÿงฎ Math Solver

Math


๐Ÿง  Reasoning Agent

Reasoning


๐ŸŒฆ Weather Output

Weather


๐Ÿง  Tech Stack

Technology Purpose
Python Backend
Streamlit UI
LangGraph Agent orchestration
Gemini 2.5 Flash LLM
SymPy Math solving
Requests API calls

๐Ÿ“ Project Structure

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

โš™๏ธ Installation

1๏ธโƒฃ Clone Repo

git clone https://github.com/22AD040/neuroflow-ai-multibrain-system.git
cd neuroflow-multiagent-ai

2๏ธโƒฃ Create Virtual Environment

python -m venv venv
venv\Scripts\activate

3๏ธโƒฃ Install Dependencies

pip install -r requirements.txt

๐Ÿ” Environment Setup

Create .env file:

GEMINI_API_KEY=your_api_key_here
WEATHER_API_KEY=your_api_key_here

โ–ถ๏ธ Run Locally

streamlit run app.py

๐Ÿ”’ Security

  • ๐Ÿ” API keys stored in .env
  • โŒ No hardcoded secrets
  • โœ… Safe local execution

๐ŸŽฏ Use Cases

  • Multi-Agent AI Assistant
  • Code Generator
  • Math Solver
  • Concept Explainer
  • Weather Assistant
  • AI Project Demo

๐Ÿš€ Future Improvements

  • Chat UI (like ChatGPT)
  • Tool chaining (LangGraph advanced)
  • File upload + RAG
  • Better UI/UX

๐Ÿ‘ฉโ€๐Ÿ’ป Author

Ratchita B AI & Data Science Student ๐Ÿš€


โญ Support

If you like this project:

๐Ÿ‘‰ Star โญ the repo ๐Ÿ‘‰ Share with others


๐Ÿ“œ License

MIT License

About

LangGraph-based Multi-Agent AI system using Gemini 2.5 Flash + Tools (Code, Math, Reasoning, Weather) with Streamlit UI

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages