Skip to main content

substr8-langgraph

LangGraph adapter for Substr8 RunProof generation.

Installation

pip install substr8-langgraph

Quick Start

from langgraph.graph import StateGraph
from substr8_langgraph import instrument_graph

# Build your graph
graph = StateGraph(...)
compiled = graph.compile()

# Instrument it
instrumented = instrument_graph(
    compiled,
    agent_id="my-agent",
    project="my-project",
)

# Execute - RunProof is generated automatically
result = instrumented.invoke({"input": "hello"})

print(result["run_id"])       # Unique run identifier
print(result["proof_status"]) # "verified" if valid
print(result["proof"])        # Full RunProof object

Features

  • Automatic event capture: Tool calls, LLM interactions, node transitions
  • Hash chain integrity: Every event is cryptographically linked
  • Merkle root commitment: Efficient verification of complete trace
  • Sync & async support: Works with invoke() and ainvoke()
  • Streaming support: Proof emitted as final event

RunProof Schema

Proofs follow the runproof/v2 schema. See docs.substr8labs.com/sdk for details.

License

MIT

Metadata

Release files for substr8-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 substr8-langgraph 0.1.0
File Size Uploaded Provenance Actions
substr8_langgraph-0.1.0.tar.gz 7.3 kB Without provenance Details for substr8_langgraph-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 15.5 kB

Release files / substr8_langgraph-0.1.0.tar.gz

Download URL substr8_langgraph-0.1.0.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
bd1d122c56604367fd3ab868b3aed2243b55de9899cc31918f87dbd342d30dba
BLAKE2b-256 checksum
How to use checksums
8ee0cca5c1e861d7556dc81275cb53929cc6000d4dbd82a765ffb3c5e4aa9caf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

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

Download URL substr8_langgraph-0.1.0-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f2bc14bb86e8da2668e4b263043715f1f5bc34992b396d145e6bea9bc0d56956
BLAKE2b-256 checksum
How to use checksums
3bead134f5f7a1b6975daba5ab7459747b9a69d15fa1a1c3faaa7d7eda6fe3af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Security for substr8-langgraph 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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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 No 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