Date: Mon, 01 Jun 2026 06:36:51 +0000 From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 99c510e9cba7 - main - misc/py-langchain-protocol: New port: Python bindings for the LangChain agent streaming protocol Message-ID: <6a1d2883.1c918.1dce1f4b@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=99c510e9cba755664aa0db86dc6c688d8bb27e9c commit 99c510e9cba755664aa0db86dc6c688d8bb27e9c Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2026-06-01 03:32:02 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2026-06-01 06:36:44 +0000 misc/py-langchain-protocol: New port: Python bindings for the LangChain agent streaming protocol --- misc/Makefile | 1 + misc/py-langchain-protocol/Makefile | 23 +++++++++++++++++++++++ misc/py-langchain-protocol/distinfo | 3 +++ misc/py-langchain-protocol/pkg-descr | 12 ++++++++++++ 4 files changed, 39 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index 9e2ccf525d79..0f8c7da8c9a8 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -516,6 +516,7 @@ SUBDIR += py-langchain-core SUBDIR += py-langchain-google-genai SUBDIR += py-langchain-openai + SUBDIR += py-langchain-protocol SUBDIR += py-langchain-tests SUBDIR += py-langchain-text-splitters SUBDIR += py-langgraph diff --git a/misc/py-langchain-protocol/Makefile b/misc/py-langchain-protocol/Makefile new file mode 100644 index 000000000000..8c1b3dc64add --- /dev/null +++ b/misc/py-langchain-protocol/Makefile @@ -0,0 +1,23 @@ +PORTNAME= langchain-protocol +DISTVERSION= 0.0.16 +CATEGORIES= misc python # machine-learning +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Python bindings for the LangChain agent streaming protocol +WWW= https://github.com/langchain-ai/agent-protocol/tree/main/streaming \ + https://github.com/langchain-ai/agent-protocol + +LICENSE= MIT + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.13.0:devel/py-typing-extensions@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/misc/py-langchain-protocol/distinfo b/misc/py-langchain-protocol/distinfo new file mode 100644 index 000000000000..af401c3d738e --- /dev/null +++ b/misc/py-langchain-protocol/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1780265644 +SHA256 (langchain_protocol-0.0.16.tar.gz) = 806c7cdd951b1c4f692fa40fce60821ff0f221d4360e27673ddf2c2b99c2b7ff +SIZE (langchain_protocol-0.0.16.tar.gz) = 5969 diff --git a/misc/py-langchain-protocol/pkg-descr b/misc/py-langchain-protocol/pkg-descr new file mode 100644 index 000000000000..f4ca45821f77 --- /dev/null +++ b/misc/py-langchain-protocol/pkg-descr @@ -0,0 +1,12 @@ +The LangChain Agent Protocol is a framework-agnostic specification for +serving Large Language Model (LLM) agents in production. It defines +standardized APIs for executing agents (Runs), managing multi-turn +interactions (Threads), and handling long-term memory (Store). + +The protocol includes a thread-centric streaming layer for observing and +controlling live agent executions, featuring support for message deltas, +tool lifecycle events, and human-in-the-loop interactions. + +This package provides the Python bindings and server stubs for the +protocol, enabling developers to build and interact with interoperable +agentic applications using strongly typed payloads.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a1d2883.1c918.1dce1f4b>
