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.

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.