ProcessFork integration for AutoGen 0.4+ — atomic group-chat snapshots.
Project description
processfork-autogen
ProcessFork integration for AutoGen
0.4+. Wraps a RuntimeContext so a whole agent group's state can be
snapshotted and forked atomically.
Install
pip install "processfork-autogen[autogen]"
Use
from processfork_autogen import processfork_runtime
from autogen_agentchat.teams import RoundRobinGroupChat
team = RoundRobinGroupChat(
[alice, bob],
runtime=processfork_runtime("~/.processfork"),
)
await team.run(task="...")
# Snapshot the whole team:
cid = await team.runtime.snapshot("pre-vote")
forks = await team.runtime.fork(cid, n=4)
The runtime tracks each agent's message history under one trace blob plus per-agent partitions in the effects ledger. Snapshots are atomic across the team (no agent's state can advance mid-snapshot).
See agent_docs/integration-autogen.md for the 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_autogen-1.0.1.tar.gz.
File metadata
- Download URL: processfork_autogen-1.0.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24de226f5a397537c083f71192f750f30019a4ca259fcfb535079366837d8047
|
|
| MD5 |
ca64051741d39b64722b35cb07648a09
|
|
| BLAKE2b-256 |
5ce45710e09006ad96355507ac68961227fa445d418f4d4eb7fa2f272b21c169
|
Provenance
The following attestation bundles were made for processfork_autogen-1.0.1.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_autogen-1.0.1.tar.gz -
Subject digest:
24de226f5a397537c083f71192f750f30019a4ca259fcfb535079366837d8047 - Sigstore transparency entry: 1448387644
- Sigstore integration time:
-
Permalink:
manav8498/processfork@227aa9373ed285de5d038581d08df3b89b5e1bbf -
Branch / Tag:
refs/tags/v1.0.4 - Owner: https://github.com/manav8498
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@227aa9373ed285de5d038581d08df3b89b5e1bbf -
Trigger Event:
push
-
Statement type:
File details
Details for the file processfork_autogen-1.0.1-py3-none-any.whl.
File metadata
- Download URL: processfork_autogen-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a262e07587f6d93511e48a5aa5a35cc9e3a21f9b357e88084adcf271fa7168df
|
|
| MD5 |
48a4cf934e50d2dc7c1b9bbb8b4e3a71
|
|
| BLAKE2b-256 |
6835f024b7bbae7a6b338da63c9ff07ad54860c3b5ebb6470fc8e1eb6cd38997
|
Provenance
The following attestation bundles were made for processfork_autogen-1.0.1-py3-none-any.whl:
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_autogen-1.0.1-py3-none-any.whl -
Subject digest:
a262e07587f6d93511e48a5aa5a35cc9e3a21f9b357e88084adcf271fa7168df - Sigstore transparency entry: 1448387840
- Sigstore integration time:
-
Permalink:
manav8498/processfork@227aa9373ed285de5d038581d08df3b89b5e1bbf -
Branch / Tag:
refs/tags/v1.0.4 - Owner: https://github.com/manav8498
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@227aa9373ed285de5d038581d08df3b89b5e1bbf -
Trigger Event:
push
-
Statement type: