← all repositories

langchain-ai/langgraph-swarm-py

A Python library for building swarm-style multi-agent systems using LangGraph, where specialized agents dynamically hand off control to each other.

1.5k stars Python Agents
langgraph-swarm-py
Velocity · 7d
+3.2
★ / day
Trend
steady
star history

This library enables creation of swarm-style multi-agent architectures where agents dynamically transfer control to specialized peers based on their capabilities. It is built on top of LangGraph and provides customizable handoff tools, out-of-the-box streaming support, short-term and long-term memory, and human-in-the-loop capabilities. The system maintains conversation state to ensure subsequent interactions resume with the last active agent.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.