git: d934f3f8511a - main - misc/py-langgraph: New port: LangGraph: Building stateful, multi-actor applications with LLMs

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 05 Jan 2026 09:28:24 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d934f3f8511aeda6990185f59226bd53df2772e3

commit d934f3f8511aeda6990185f59226bd53df2772e3
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-01-05 02:04:47 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-01-05 09:28:15 +0000

    misc/py-langgraph: New port: LangGraph: Building stateful, multi-actor applications with LLMs
---
 misc/Makefile               |  1 +
 misc/py-langgraph/Makefile  | 29 +++++++++++++++++++++++++++++
 misc/py-langgraph/distinfo  |  3 +++
 misc/py-langgraph/pkg-descr | 17 +++++++++++++++++
 4 files changed, 50 insertions(+)

diff --git a/misc/Makefile b/misc/Makefile
index 26a74cf48178..5c1e493bc295 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -486,6 +486,7 @@
     SUBDIR += py-langchain-openai
     SUBDIR += py-langchain-tests
     SUBDIR += py-langchain-text-splitters
+    SUBDIR += py-langgraph
     SUBDIR += py-langgraph-checkpoint
     SUBDIR += py-langgraph-prebuilt
     SUBDIR += py-langgraph-sdk
diff --git a/misc/py-langgraph/Makefile b/misc/py-langgraph/Makefile
new file mode 100644
index 000000000000..a19262895a92
--- /dev/null
+++ b/misc/py-langgraph/Makefile
@@ -0,0 +1,29 @@
+PORTNAME=	langgraph
+DISTVERSION=	1.0.5
+CATEGORIES=	misc python # machine-learning
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	LangGraph: Building stateful, multi-actor applications with LLMs
+WWW=		https://docs.langchain.com/oss/python/langgraph/overview \
+		https://github.com/langchain-ai/langgraph
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}langchain-core>=0.1:misc/py-langchain-core@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}langgraph-checkpoint>=2.1.0<4.0.0:misc/py-langgraph-checkpoint@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}langgraph-prebuilt>=1.0.2<1.1.0:misc/py-langgraph-prebuilt@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}langgraph-sdk>=0.3.0<0.4.0:misc/py-langgraph-sdk@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pydantic2>=2.7.4:devel/py-pydantic2@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}xxhash>=3.5.0:devel/py-xxhash@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	pep517 autoplist pytest
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/misc/py-langgraph/distinfo b/misc/py-langgraph/distinfo
new file mode 100644
index 000000000000..6e16f7e47f03
--- /dev/null
+++ b/misc/py-langgraph/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1767436472
+SHA256 (langgraph-1.0.5.tar.gz) = 7f6ae59622386b60fe9fa0ad4c53f42016b668455ed604329e7dc7904adbf3f8
+SIZE (langgraph-1.0.5.tar.gz) = 493969
diff --git a/misc/py-langgraph/pkg-descr b/misc/py-langgraph/pkg-descr
new file mode 100644
index 000000000000..8481c52ae82d
--- /dev/null
+++ b/misc/py-langgraph/pkg-descr
@@ -0,0 +1,17 @@
+LangGraph is a low-level orchestration framework for building, managing, and
+deploying long-running, stateful agents.
+
+Core benefits of LangGraph include:
+- Durable execution: Build agents that persist through failures and can run
+  for extended periods, automatically resuming from exactly where they left off.
+- Human-in-the-loop: Seamlessly incorporate human oversight by inspecting and
+  modifying agent state at any point during execution.
+- Comprehensive memory: Create truly stateful agents with both short-term
+  working memory for ongoing reasoning and long-term persistent memory
+  across sessions.
+- Debugging with LangSmith: Gain deep visibility into complex agent behavior
+  with visualization tools that trace execution paths, capture state
+  transitions, and provide detailed runtime metrics.
+- Production-ready deployment: Deploy sophisticated agent systems confidently
+  with scalable infrastructure designed to handle the unique challenges of
+  stateful, long-running workflows.