$npx skillfedfor your agent

langgraph-swarm

An implementation of a multi-agent swarm using LangGraph

With conditionsPyPI Artificial IntelligenceReleased Dec 2025153.8K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — langgraph_swarm-0.1.0-py3-none-any.whl
v0.1.0 · released 2025-12-04 · Python >=3.10 · 3 runtime deps: langchain, langchain-core, langgraph

Yes, if you are already committed to LangGraph and need multi-agent handoff orchestration. The library is straightforward and low-friction to install, with no security vulnerabilities. However, the aging maintenance status (253 days since last release) means you should verify compatibility with your LangGraph version and be prepared for slower bug fixes. Not a fit if you need active development or prefer a more mature multi-agent framework.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >=3.10; requires a LangGraph-compatible LLM (e.g., langchain-openai) and a checkpointer for multi-turn conversation state.
  • Low install friction; pure Python wheel with three runtime dependencies (langchain, langchain-core, langgraph).
  • Maintenance status is aging—last release 253 days ago—so expect slower updates and potential compatibility drift with the LangGraph ecosystem.

License · maintenance · safety

MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open and closed projects with minimal obligations beyond attribution.

last release 2025-12-04 (253 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 153,770 downloads/mo, #10,868 on PyPI

Verify before relying

pip install langgraph-swarm

from langgraph_swarm import create_swarm, create_handoff_tool
from langchain.agents import create_agent

alice = create_agent(model, tools=[create_handoff_tool(agent_name="Bob", description="Transfer to Bob")], name="Alice")
bob = create_agent(model, tools=[create_handoff_tool(agent_name="Alice", description="Transfer to Alice")], name="Bob")

workflow = create_swarm([alice, bob], default_active_agent="Alice")
app = workflow.compile(checkpointer=checkpointer)
  • Whether the aging maintenance status (253 days since last release) signals active development paused or stable maturity.
  • Compatibility guarantees with newer LangGraph versions given the dependency on langchain and langchain-core.
  • Performance characteristics and scalability limits for swarms with many agents or high-frequency handoffs.
Same gist for agents: .md · .json

What it is and what it does

LangGraph Swarm is a Python library that layers multi-agent coordination on top of LangGraph, enabling specialized agents to collaborate by handing off control to one another based on their expertise. Instead of a single monolithic agent, you define multiple agents with distinct roles and tools, then let them route requests dynamically—the system remembers which agent was active last, so multi-turn conversations resume with the right agent in context.

The library provides factory functions to create agents and handoff tools, handles message passing and state management through LangGraph's graph compilation, and integrates with LangGraph's built-in memory (short-term via checkpointers, long-term via stores) and streaming. You customize it by either modifying handoff tool behavior (what data passes between agents, what arguments the LLM fills in) or by changing the agent state schema to isolate agent histories.

Use it for

  • Build a customer-support swarm where a routing agent directs queries to billing, technical, or sales specialists, each with domain-specific tools.
  • Create a research assistant that hands off between a web-search agent, a data-analysis agent, and a report-writing agent based on task needs.
  • Implement a coding assistant where a planner agent routes to a code-generation agent, a testing agent, and a documentation agent in sequence.
  • Design a multi-domain chatbot where agents for math, writing, coding, and general knowledge collaborate and hand off mid-conversation.
  • Orchestrate a workflow where agents with different LLM models or tool sets work together, each handling its specialization before passing to the next.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are already committed to LangGraph and need multi-agent handoff orchestration.

The library is straightforward and low-friction to install, with no security vulnerabilities. However, the aging maintenance status (253 days since last release) means you should verify compatibility with your LangGraph version and be prepared for slower bug fixes. Not a fit if you need active development or prefer a more mature multi-agent framework.

Install

langgraph-swarm on PyPI

Before you install

Low install friction; pure Python wheel with three runtime dependencies (langchain, langchain-core, langgraph). Maintenance status is aging—last release 253 days ago—so expect slower updates and potential compatibility drift with the LangGraph ecosystem.

Requires Python >=3.10; requires a LangGraph-compatible LLM (e.g., langchain-openai) and a checkpointer for multi-turn conversation state.

License in practice

MIT license permits unrestricted use, modification, and distribution in both open and closed projects with minimal obligations beyond attribution.

Quickstart

pip install langgraph-swarm

from langgraph_swarm import create_swarm, create_handoff_tool
from langchain.agents import create_agent

alice = create_agent(model, tools=[create_handoff_tool(agent_name="Bob", description="Transfer to Bob")], name="Alice")
bob = create_agent(model, tools=[create_handoff_tool(agent_name="Alice", description="Transfer to Alice")], name="Bob")

workflow = create_swarm([alice, bob], default_active_agent="Alice")
app = workflow.compile(checkpointer=checkpointer)

Verify before relying

  • Whether the aging maintenance status (253 days since last release) signals active development paused or stable maturity.
  • Compatibility guarantees with newer LangGraph versions given the dependency on langchain and langchain-core.
  • Performance characteristics and scalability limits for swarms with many agents or high-frequency handoffs.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
langchainlangchain-corelanggraph
MaintenanceAging 253 days since the last release
First released
Downloads153,770 / month, #10,868 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: langgraph_swarm-0.1.0-py3-none-any.whl

Tags

Capabilities
multi-agent swarm frameworkagent handoff systemlanggraph multi-agentcollaborative agent architecturedynamic agent routingagent state managementswarm intelligence agents
Topics
multi-agentlanggraphagent-orchestration

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “multi-agent swarm framework”

  • langgraph-swarmBuilds multi-agent swarm systems where specialized agents hand off…
  • deapDEAP is an evolutionary computation framework for implementing…
  • rfswarm-agentrfswarm-agent lets you run Robot Framework test cases as load tests…

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also langgraph-supervisor · langgraph-prebuilt · ag-ui-langgraph · langmem · langgraph · langgraph-checkpoint · agent-framework-core · langgraph-api · langgraph-sdk · aegra-api

Further reading