Skip to main content

vouch-langgraph

Sign every LangGraph tool call and graph node with a Vouch Credential, so an agent's actions carry a verifiable record of who ran them and on whose authority.

LangGraph tools are LangChain tools, so tool-level signing is shared with the LangChain integration. On top of that, sign_node signs each node step, giving a signed trail across the whole graph.

Install

pip install vouch-langgraph

Sign the tools

from langgraph.prebuilt import create_react_agent
from vouch.integrations.langgraph import protect

agent = create_react_agent(llm, tools=protect([search, send_email]))

Every tool call is now signed in Python before it runs.

Sign each node

from vouch.integrations.langgraph import sign_node

@sign_node
def plan(state):
    ...

@sign_node(action="charge_card")
def bill(state):
    ...

Each node step issues its own credential. Verify anywhere with vouch.Verifier.verify_credential, or read the latest with vouch.autosign.current_credential.

Identity

protect and sign_node use the ambient Vouch identity, or a signer= you pass in. Provision one with vouch init --yes, or construct a Signer directly. See the Vouch Protocol docs.

License

Apache-2.0. Part of the Vouch Protocol.

Metadata

Release files for vouch-langgraph 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 vouch-langgraph 0.1.0
File Size Uploaded
vouch_langgraph-0.1.0.tar.gz 2.7 kB Details

Built distribution (wheel)

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

Total release size: 5.0 kB

Release files / vouch_langgraph-0.1.0.tar.gz

Download URL vouch_langgraph-0.1.0.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7e8fa60066a253c8fcca8fe7a9c8fc1fdcfea8f0b98cea53b1789762de495f66
BLAKE2b-256 checksum
How to use checksums
e3a47a5c3b55495e5315ad8f756bced25c0872d8ae348dc6bae18c0327c7b2ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

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

Download URL vouch_langgraph-0.1.0-py3-none-any.whl
Size 2.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
114e2ea3b76f184f7dc2699c71266cfce17efe75525c2aef31ba7c62bb236c63
BLAKE2b-256 checksum
How to use checksums
dde0e271046630161050aabb99032252d9b69fd5df02e51dd279a3040b3421f2
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