Skip to main content
File added late

1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.

vouch-langchain

A LangChain tool that issues Vouch Credentials, so a LangChain agent can cryptographically authorize the tool calls it makes.

Each signed call carries a W3C Verifiable Credential with an eddsa-jcs-2022 Data Integrity proof, and optionally a delegation chain back to an accountable human principal.

Install

pip install vouch-langchain

This pulls in vouch-protocol[langchain].

Configure

The tool reads two environment variables:

  • VOUCH_PRIVATE_KEY the agent's private key (JWK JSON string).
  • VOUCH_DID the agent's DID, e.g. did:web:agent.example.com.

Use

from vouch_langchain import VouchSignerTool

tool = VouchSignerTool()  # reads VOUCH_PRIVATE_KEY / VOUCH_DID
credential_json = tool._run(
    action="read",
    target="https://api.example.com",
    resource="customer:123",
)
# Attach credential_json as a 'Vouch-Credential' header on your request.

Add tool to any LangChain agent's tool list. The agent calls it before an authenticated request and forwards the credential to your service.

Verify on the receiving side

from vouch import Verifier
ok, passport = Verifier.verify_credential(received_json, public_key=agent_pubkey)

License

Apache-2.0.

Metadata

Release files for vouch-langchain 0.1.0

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

File added late

1 file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release files before installing.

Source distribution (sdist)

Source distribution for vouch-langchain 0.1.0
File Size Uploaded
vouch_langchain-0.1.0.tar.gz 2.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vouch-langchain 0.1.0
File Interpreter ABI Platform
vouch_langchain-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.0 kB

Release files / vouch_langchain-0.1.0.tar.gz

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL vouch_langchain-0.1.0.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c8d406bc883db71fa80200f3298218f4fdb0efa26059d996c35d986143402696
BLAKE2b-256 checksum
How to use checksums
4999ea784d23c683b95dc22720e5b71a362d07098332dbe4e455d246cd8373e6
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 Jul 5, 2026.

Transparency log

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

Download URL vouch_langchain-0.1.0-py3-none-any.whl
Size 2.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7769ffdd0ddd75452ce94c34338c06554546523d9fece12a6de0a7c706e159af
BLAKE2b-256 checksum
How to use checksums
c342bf511acabe9875ceefa9a2e2a179cc70144767ef0d4129a58fb09400f8b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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