langgraph-supervisor
An implementation of a supervisor multi-agent architecture using LangGraph
What it is and what it does
langgraph-supervisor provides a Python library for building hierarchical multi-agent systems on top of LangGraph. It implements a supervisor pattern where a central agent orchestrates communication and task delegation to specialized worker agents. The supervisor makes routing decisions based on context and task requirements, controlling all message flow between agents.
The library handles the mechanics of agent coordination—tool-based handoffs, message history management, and multi-level hierarchies—so you can focus on defining specialized agents and their supervisor's decision logic. It integrates with LangGraph's streaming, memory, and human-in-the-loop capabilities. However, the library's own documentation now recommends using the supervisor pattern directly via tool-calling for most use cases, suggesting this library is best suited for users upgrading existing code or cases where its abstraction provides clear value.
Use it for:
- Route customer support queries to specialized agents (billing, technical, account management) based on intent
- Coordinate research and math agents to answer complex questions requiring both data lookup and calculation
- Build multi-level hierarchies where team supervisors report to a top-level supervisor for large organizations
- Manage conversation history and context across multiple specialized agents in a single workflow
- Add persistent memory and human approval steps to multi-agent workflows via LangGraph checkpointers
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Builds hierarchical multi-agent systems where a supervisor agent coordinates and delegates tasks to specialized worker agents using LangGraph.
Yes, if you are building a hierarchical multi-agent system and prefer a structured abstraction over manual tool-calling. The library is actively maintained, has low install friction, and integrates well with LangGraph's ecosystem. However, review the library's own recommendation to use tool-calling directly for most new projects—install this primarily to upgrade existing code or when the supervisor abstraction clearly simplifies your architecture.
Install
langgraph-supervisor on PyPI
pip
pip install langgraph-supervisoruv
uv add langgraph-supervisorpoetry
poetry add langgraph-supervisorInstalling langgraph-supervisor
Before you install
Low install friction with only two runtime dependencies (langgraph and langchain-core). Active maintenance with recent releases; last commit 2026-07-15. Requires Python >= 3.10.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it suitable for most production deployments.
Quickstart
pip install langgraph-supervisor
from langgraph_supervisor import create_supervisor
from langgraph.prebuilt import create_react_agent
math_agent = create_react_agent(model=model, tools=[add, multiply], name="math_expert")
research_agent = create_react_agent(model=model, tools=[web_search], name="research_expert")
workflow = create_supervisor([research_agent, math_agent], model=model)
app = workflow.compile()
result = app.invoke({"messages": [{"role": "user", "content": "query"}]})
Requires Python >= 3.10. Requires langchain-core and langgraph to be installed and configured with a working LLM model.
Verify before relying
- Whether the library's supervisor pattern remains the recommended approach given the note recommending tool-calling directly for most use cases
- Performance characteristics when managing large numbers of agents or deeply nested hierarchies
- Compatibility guarantees with specific langgraph and langchain-core versions beyond the stated requirements
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — langgraph, langchain-core |
| Maintenance | actively maintained — 268 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 718,713/month — #5,242 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: langgraph_supervisor-0.0.31-py3-none-any.whl
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
langgraph-prebuiltProvides high-level APIs for building and…
permissive · top 1,000 on PyPI
langgraph-swarmBuilds multi-agent swarm systems where…
permissive · top 15,000 on PyPI
langmemLangMem provides memory management tools for…
permissive · top 15,000 on PyPI
agent-framework-orchestrationsProvides high-level builder patterns for…
permissive · top 15,000 on PyPI
langgraphLangGraph is a low-level orchestration…
permissive · top 1,000 on PyPI
ag-ui-langgraphBridges LangGraph agent workflows to the AG-UI…
permissive · top 15,000 on PyPI
deepagentsDeep Agents is an opinionated agent harness…
permissive · top 5,000 on PyPI
supervisord-dependent-startupA Supervisor plugin that orchestrates service…
permissive · top 15,000 on PyPI
agent-governance-toolkit-coreProvides a unified runtime kernel and trust…
permissive · top 15,000 on PyPI
pairmuxpairmux lets AI agents control interactive…
permissive · top 15,000 on PyPI