Python client bindings for the LangChain agent streaming protocol. Provides a client to interact with remote agents following the protocol specification. Version 0.0.15 supports Python >=3.10, <4.0. New releases are frequent (multiple per month) with backward-incompatible changes expected.
pip install langchain-protocolNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a client and performs a simple agent interaction.
Use client = Client(url='...')
Always pin a specific version and consult the changelog before upgrading.
Use client.runs.create() without thread_id argument for stateless runs, or pass thread_id as argument.
Explicitly pass headers={'Authorization': 'Bearer <token>'} on client creation.No dependency data recorded yet.