Skip to main content

honornet-agent-presentation-langchain

LangChain tools that make a LangChain agent HonorNet-capable — able to present an issuer-signed credential, an owner-signed mandate, and a per-transaction proof to a HonorNet acceptance endpoint, and receive an approve/decline verdict.

It is a shim, not a framework

This wrapper is a protocol shim under HonorNet's hard rule 3, the same boundary as the MCP client it wraps. The analog is Visa publishing an EMV kernel: the kernel holds the card's key, mints the per-transaction cryptogram, and presents it — it decides nothing about what the cardholder buys.

These tools do exactly that and no more:

  • hold an issuer-signed credential (load_credential),
  • hold an owner-signed mandate (load_mandate),
  • mint the per-transaction proof of possession, assemble the three-part ADR-009 bundle, and present it (present).

They decide nothing about what the agent buys, ranks, or chooses, and never call a model. The approve/decline verdict is always the network's; present relays it verbatim and adds no judgment. The tool set is exactly the three the core client defines — this wrapper cannot add a fourth.

Install

pip install honornet-agent-presentation-langchain

This pulls the core honornet-agent-presentation client (which carries the pure-Python signing, zero third-party deps) and langchain-core.

Use

from honornet_presentation import PresentationClient
from honornet_presentation_langchain import make_honornet_tools

client = PresentationClient(
    agent_seed=AGENT_SEED,                 # the agent's own Ed25519 seed
    endpoint="https://api.honornet.ai/authorize",
    api_key=SANDBOX_OR_LIVE_CALLER_KEY,    # operator-configured, not an agent argument
)
tools = make_honornet_tools(client)        # -> [load_credential, load_mandate, present]

# Hand `tools` to any LangChain agent (create_tool_calling_agent, LangGraph, ...).

The agent decides what the transaction is; the operator configures where it is presented (the endpoint); the shim decides neither. See epic-AC-530 and the four-party model.

License

Apache-2.0.

Metadata

Release files for honornet-agent-presentation-langchain 0.1.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 honornet-agent-presentation-langchain 0.1.0
File Size Uploaded Provenance Actions
honornet_agent_presentation_langchain-0.1.0.tar.gz 8.7 kB With provenance Details for honornet_agent_presentation_langchain-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for honornet-agent-presentation-langchain 0.1.0
File Interpreter ABI Platform Actions
honornet_agent_presentation_langchain-0.1.0-py3-none-any.whl Python 3 none any Details for honornet_agent_presentation_langchain-0.1.0-py3-none-any.whl

Total release size: 17.7 kB

Release files / honornet_agent_presentation_langchain-0.1.0.tar.gz

Download URL honornet_agent_presentation_langchain-0.1.0.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e057242a357820a96c5fc93f14e917220b6e549ccc321919a4ffb68656bbf1cb
BLAKE2b-256 checksum
How to use checksums
845088adbbaec78c77878e43a440b72d2c5a13ef76f880112ef1788fc69a28a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 12, 2026.

Transparency log

Release files / honornet_agent_presentation_langchain-0.1.0-py3-none-any.whl

Download URL honornet_agent_presentation_langchain-0.1.0-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
71d00f8193e0733d937393cf29ffbb06244580d8444b8e969a8cc71e01de0dba
BLAKE2b-256 checksum
How to use checksums
1522b0fd490af48a7f713108b71fefe90b038a0b4a8f7ca5ee77361a06ab7074
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 12, 2026.

Transparency log

Security for honornet-agent-presentation-langchain 0.1.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for honornet_agent_presentation_langchain-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 12, 2026.

Transparency log

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.1.0 This release

2 release files Full 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