langchain-ai

    langchain-ai/langgraph-swarm-py

    For your multi-agent needs

    ai-agents
    agents
    langgraph
    llms
    multiagent
    multiagent-systems
    Python
    MIT
    1.6K stars
    226 forks
    1.6K GitHub watchers
    Updated Oct 30, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    No releases in the last 90 days; the most recent was 332 days ago, with 10 contributors on GitHub.

    Gained 45% fewer stars in the last 90 days than in the 90 days before.

    Use Cases & Benefits

    • Enables creation of swarm-style multi-agent systems in Python where agents dynamically hand off control based on specialization.
    • Maintains conversation state by remembering the last active agent, ensuring seamless multi-turn interactions across specialized agents.
    • Use for building collaborative AI systems where multiple specialized agents handle different tasks in a coordinated workflow.
    • Use for implementing multi-agent chatbots that require dynamic agent switching and context sharing for complex conversations.
    • Use for developing customizable multi-agent architectures with support for short-term and long-term memory persistence.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    A Python library for creating swarm-style multi-agent systems using LangGraph. A swarm is a type of multi-agent architecture where agents dynamically hand off control to one another based on their specializations. The system remembers which agent was last active, ensuring that on subsequent interactions, the conversation resumes with that agent.

    This library is built on top of LangGraph, a powerful framework for building agent applications, and comes with out-of-box support for streaming, short-term and long-term memory and human-in-the-loop

    Excerpt from the langchain-ai/langgraph-swarm-py README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    226+6

    Open issues

    22+1

    Compared with peers in AI Agents

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    langchain-ai/langgraph-swarm-py compared with AI Agents repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    vercel-labs/agent-desktop17.0K+13.3K33today
    thedotmack/claude-mem113.6K+8.8K35today
    stablyai/orca116.8K+6.6K40today
    milind-soni/OpenMausBot13.5K+6.0K45today
    HKUDS/DeepTutor55.5K+5.5K655 days ago
    langchain-ai/langgraph-swarm-py1.6K—23332 days ago
    Category median55.5K+6.6K40—

    Also by langchain-ai

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description