Skip to main content

pgns-agent-langchain

LangChain/LangGraph adapter for pgns-agent. Wrap any LangChain runnable or LangGraph agent in a production-ready A2A server.

Installation

pip install pgns-agent-langchain

Quick Start

from langchain_openai import ChatOpenAI
from pgns_agent import AgentServer
from pgns_agent_langchain import LangChainAdapter

llm = ChatOpenAI(model="gpt-4o")

server = AgentServer("my-agent", "A LangChain-powered agent")
server.use(LangChainAdapter(llm))
server.listen(3000)

Streaming

from pgns_agent_langchain import LangChainStreamAdapter

server.use(LangChainStreamAdapter(llm))

License

Apache-2.0

Metadata

Release files for pgns-agent-langchain 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pgns-agent-langchain 0.2.0
File Size Uploaded Provenance Actions
pgns_agent_langchain-0.2.0.tar.gz 13.8 kB Without provenance Details for pgns_agent_langchain-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pgns-agent-langchain 0.2.0
File Interpreter ABI Platform Actions
pgns_agent_langchain-0.2.0-py3-none-any.whl Python 3 none any Details for pgns_agent_langchain-0.2.0-py3-none-any.whl

Total release size: 21.9 kB

Release files / pgns_agent_langchain-0.2.0.tar.gz

Download URL pgns_agent_langchain-0.2.0.tar.gz
Size 13.8 kB
Tags Source
SHA-256 checksum
How to use checksums
46a9bb4e57c304c0c5434f3b7de7d20636801be1156e08dae538040aa7e42747
BLAKE2b-256 checksum
How to use checksums
b65249b78286f41b7f1ce4e727aa40833668590bad76de5b84128535df1b937f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / pgns_agent_langchain-0.2.0-py3-none-any.whl

Download URL pgns_agent_langchain-0.2.0-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
69f427a3d2558b4c6c58b588f037317985e2af19121bcd502d3e914c45552964
BLAKE2b-256 checksum
How to use checksums
c47efc2189b581b5e5a40f36fdb58a205a6ae03bcadeaf6385be19494d06a3b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Security for pgns-agent-langchain 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page