BSD Ports

ai/py-langchain-protocol 0.0.18 MidnightBSD

Python bindings for the LangChain agent streaming protocol

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Port added
Last update
Commit
b807d69740
License
mit
Categories
ai, python

Description

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.

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}langchain-protocol

From mports:

cd /usr/mports/ai/py-langchain-protocol && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}langchain-protocol>0:ai/py-langchain-protocol

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Build dependencies 1
Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
langchain_protocol-0.0.18.tar.gz6150ec3e11782f1ed0c9db38e5a9ed01b0e7a0d3fba406faa8aef6594b73c56a63e6
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
b807d69740 Lucas Holt Add LangChain AI ports and dependencies
AI-Assisted-by: OpenAI Codex <[email protected]> Signed-off-by: Lucas Holt <[email protected]>