ProcessFork checkpointer for LangGraph — full four-layer snapshots at every node boundary.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file processfork_langgraph-1.0.0.tar.gz.
File metadata
- Download URL: processfork_langgraph-1.0.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e956ea9e58d83802be3d9d9961cf96afd2e26af25024632436c64a34975d7bc
|
|
| MD5 |
029767b52919ffc152b694f1da728100
|
|
| BLAKE2b-256 |
7ebed7b9225d7b1025e300b6a5a01c91a806edf7e1474f4c33f31e6a27849bff
|
Provenance
The following attestation bundles were made for processfork_langgraph-1.0.0.tar.gz:
Publisher:
release.yml on manav8498/processfork
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
processfork_langgraph-1.0.0.tar.gz -
Subject digest:
1e956ea9e58d83802be3d9d9961cf96afd2e26af25024632436c64a34975d7bc - Sigstore transparency entry: 1444633462
- Sigstore integration time:
-
Permalink:
manav8498/processfork@4b0ef63895e72f9fdee73a4b99b605a71f825aea -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/manav8498
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@4b0ef63895e72f9fdee73a4b99b605a71f825aea -
Trigger Event:
push
-
Statement type:
File details
Details for the file processfork_langgraph-1.0.0-py3-none-any.whl.
File metadata
- Download URL: processfork_langgraph-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a13cd0f7e059407519760d296173af60b0b0fce34c2fa6325ca3f0476e393b4
|
|
| MD5 |
3fe7dde240db6cc20c5da16049f4415b
|
|
| BLAKE2b-256 |
3ad4d1ac0c71ee47afc5b308f557169a0b554505e9535cf6aca945cd9f6fd9ea
|