seehiong/multi-agent-system-using-langgraph
seehiong/multi-agent-system-using-langgraph has 42 GitHub stars and 3 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-13 16:53 UTC. Last push 2025-12-04.
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
关于
A complete LangGraph multi-agent system demo using SQL tools, Tavily search, MCP Toolbox, and OpenRouter models — with reproducible notebooks and a full supervisor-led agent workflow.
数据README.md
原文Multi-Agent System Using LangGraph
This repository contains the full source code and Jupyter notebooks for my blog post “Building a LangGraph Multi-Agent System”.
It demonstrates how to build:
- A simple deterministic chain (TOTO generator)
- A ReAct-style agent with Postgres (via MCP Toolbox), Tavily Search, and custom Python tools
- A modular multi-agent system (MAS) with a Supervisor, SQL Agent, Amenities Agent, and Web Research Agent
All examples use LangGraph, LangChain, OpenRouter models, Tavily, and MCP Toolbox.
📁 Project Structure
├── notebook/
│ ├── toto_generator.ipynb
│ ├── langgraph_react_agent.ipynb
│ └── langgraph_mas.ipynb
│
├── graph.py # Standalone MAS graph (used by LangGraph app/CLI)
├── tools.yaml # MCP Toolbox config (Postgres + custom SQL tools)
├── pyproject.toml # uv project configuration
├── uv.lock
├── .python-version
├── .gitignore
└── README.md
> **Note:**
> - `app/` (generated by `langgraph new app`) is excluded from the repo.
> - `toolbox.exe` is excluded — users should download their own binary.
> - `.venv/` and cache files are excluded.
🚀 Getting Started
1. Clone the repo
git clone https://github.com/seehiong/multi-agent-system-using-langgraph.git
cd multi-agent-system-using-langgraph
2. Create and activate environment (using uv)
uv venv
source .venv/bin/activate # macOS/Linux
.venv\Scripts\activate # Windows
3. Install dependencies
uv sync
4. Set up MCP Toolbox
Download the Toolbox binary:
$VERSION="0.18.0"
Invoke-WebRequest -Uri "https://storage.googleapis.com/genai-toolbox/v$VERSION/windows/amd64/toolbox.exe" -OutFile "toolbox.exe"
Start Toolbox:
./toolbox
The tools defined in tools.yaml will automatically load, including:
- Postgres SQL tools
- HDB resale queries
- Amenities and percentile price computations
🧪 Running the Examples
Open the notebooks inside notebook/:
toto_generator.ipynb
- Simple LangGraph chain generating TOTO numbers.
langgraph_react_agent.ipynb
- Full ReAct agent with Tavily + SQL tools.
langgraph_mas.ipynb
- Supervisor-led Multi-Agent System with three specialist agents.
You may run them using Jupyter or VS Code.
▶️ Running the MAS with LangGraph CLI (Optional)
langgraph dev
Then visit:
http://127.0.0.1:2024
This opens LangSmith Studio, where you can explore, debug, and interact with your MAS graph.
📝 Requirements
- Python 3.10+
- uv (recommended)
- Postgres (if running HDB examples)
- Tavily API key (optional)
- OpenRouter API key
🔗 Related Blog Post
This repository accompanies my full walkthrough article:
👉 Building a LangGraph Multi-Agent System
https://seehiong.github.io/posts/2025/11/building-a-langgraph-multi-agent-system/
The blog post explains the design decisions, architecture, and step-by-step thought process behind the examples in this repo.
📄 License
MIT License. You are free to fork, modify, and build on this example.
⭐ Acknowledgements
- LangChain / LangGraph
- OpenRouter
- Tavily
- MCP Toolbox
- Singapore HDB datasets (data.gov.sg)
If you found this useful, please ⭐ star the repo!
探索相关项目
Asabeneh/30-Days-Of-Python
30 Days of Python 编程挑战是一份循序渐进的指南,用于在 30 天内学习 Python 编程语言。这项挑战可能需要超过 100 天。请按自己的节奏进行。这些视频或许也有帮助:https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
78,687 星标grafana/grafana
开放且可组合的可观测性与数据可视化平台。可对来自 Prometheus、Loki、Elasticsearch、InfluxDB、Postgres 等众多数据源的指标、日志和追踪进行可视化。
77,876 星标redis/redis
对于正在构建实时数据驱动应用的开发者而言,Redis 是首选、速度最快且功能最丰富的缓存、数据结构服务器和文档与向量查询引擎。
77,490 星标apache/superset
Apache Superset 是一个数据可视化与数据探索平台
75,512 星标