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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vouch_langgraph-0.1.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vouch_langgraph-0.1.0-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file vouch_langgraph-0.1.0.tar.gz.

File metadata

  • Download URL: vouch_langgraph-0.1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for vouch_langgraph-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7e8fa60066a253c8fcca8fe7a9c8fc1fdcfea8f0b98cea53b1789762de495f66
MD5 4b0e7d861f592901235bc309476a10b9
BLAKE2b-256 e3a47a5c3b55495e5315ad8f756bced25c0872d8ae348dc6bae18c0327c7b2ec

See more details on using hashes here.

File details

Details for the file vouch_langgraph-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for vouch_langgraph-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 114e2ea3b76f184f7dc2699c71266cfce17efe75525c2aef31ba7c62bb236c63
MD5 065683e6ff5d7830926af8532a6835b7
BLAKE2b-256 dde0e271046630161050aabb99032252d9b69fd5df02e51dd279a3040b3421f2

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page