Skip to content

Commit 6469854

Browse files
authored
chore(bump): allow using with langchain 1.0 (#103)
1 parent 0a3f3f0 commit 6469854

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
# 🤖 LangGraph Multi-Agent Swarm
1+
# 🤖 LangGraph Multi-Agent Swarm
22

33
A Python library for creating swarm-style multi-agent systems using [LangGraph](https://github.com/langchain-ai/langgraph). A swarm is a type of [multi-agent](https://langchain-ai.github.io/langgraph/concepts/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.
44

55
![Swarm](static/img/swarm.png)
66

7+
> [!NOTE]
8+
> This library has been updated to support LangChain 1.0. However, it has **not** been tested with the new agents in `langchain.agents`. The library currently only supports the prebuilt `langgraph.prebuilt.create_react_agent`. This update allows users to migrate to LangChain 1.0 without changing their existing code. For users of the swarm package, we recommend continuing to use `langgraph.prebuilt.create_react_agent` rather than the new `langchain.agents` for now.
9+
710
## Features
811

912
- 🤖 **Multi-agent collaboration** - Enable specialized agents to work together and hand off context to each other

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "pdm.backend"
44

55
[project]
66
name = "langgraph-swarm"
7-
version = "0.0.14"
7+
version = "0.0.15"
88
description = "An implementation of a multi-agent swarm using LangGraph"
99
authors = [
1010
{name = "Vadym Barda", email = "[email protected] "}
@@ -14,7 +14,7 @@ license-files = ["LICENSE"]
1414
readme = "README.md"
1515
requires-python = ">=3.10"
1616
dependencies = [
17-
"langgraph>=0.6.0,<0.7.0",
17+
"langgraph>=0.6.0,<2",
1818
"langchain-core>=0.3.40,<0.4.0"
1919
]
2020

uv.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)