Skip to main content

processfork-langgraph

ProcessFork checkpointer for LangGraph. Full four-layer snapshots at every node boundary, not just LangGraph's state dict.

Install

pip install "processfork-langgraph[langgraph]"

Use

from langgraph.graph import StateGraph
from processfork_langgraph import ProcessForkCheckpointer

graph = StateGraph(MyState).compile(
    checkpointer=ProcessForkCheckpointer(store="~/.processfork"),
)

graph.invoke({"input": "go"}, config={"configurable": {"thread_id": "demo"}})

The checkpointer surface mirrors langgraph.checkpoint.BaseCheckpointSaver so existing code works unchanged. Each checkpoint is now a real ProcessFork image: model + cache + world + effects + trace.

Forking a thread

from processfork_langgraph import fork_thread

forks = fork_thread(graph, thread_id="demo", n=12, explore="try alternatives")
for cid in forks:
    print(cid)

fork_thread uses pf-merge's manifest-level fork: each branch points at the same layer blobs (CoW; no copy) but has a unique fingerprint and a single parents = [<source>] entry.

See agent_docs/integration-langgraph.md for the full spec.

Metadata

Release files for processfork-langgraph 1.0.1

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

Source distribution (sdist)

Source distribution for processfork-langgraph 1.0.1
File Size Uploaded Provenance
processfork_langgraph-1.0.1.tar.gz 5.5 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for processfork-langgraph 1.0.1
File Interpreter ABI Platform
processfork_langgraph-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 10.5 kB

Release files / processfork_langgraph-1.0.1.tar.gz

Download URL processfork_langgraph-1.0.1.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
800788bd9a0766794ee2bb2a75c3192f9a79d62f8e2e934138a571f356f08441
BLAKE2b-256 checksum
How to use checksums
ee478988f40256a59e8bdfd91c0120b59258df716cdc141216e95378641d4217
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 May 6, 2026.

Transparency log

Release files / processfork_langgraph-1.0.1-py3-none-any.whl

Download URL processfork_langgraph-1.0.1-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b06abd04cd2e33bad9cd07d3b263f76f5f5862d8488e8f313757c1e7ab7309d5
BLAKE2b-256 checksum
How to use checksums
d6cc353c1382793a5d2cd35e773da55328e1820a90ee995bed10c5e9f46cae56
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 May 6, 2026.

Transparency log

Security for processfork-langgraph 1.0.1

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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for processfork_langgraph-1.0.1.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 May 6, 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.

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