Skip to main content

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


Download files

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

Source Distribution

processfork_autogen-1.0.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

processfork_autogen-1.0.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

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

Hashes for processfork_autogen-1.0.1.tar.gz
Algorithm Hash digest
SHA256 24de226f5a397537c083f71192f750f30019a4ca259fcfb535079366837d8047
MD5 ca64051741d39b64722b35cb07648a09
BLAKE2b-256 5ce45710e09006ad96355507ac68961227fa445d418f4d4eb7fa2f272b21c169

See more details on using hashes here.

Provenance

The following attestation bundles were made for processfork_autogen-1.0.1.tar.gz:

Publisher: release.yml on manav8498/processfork

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file processfork_autogen-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for processfork_autogen-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a262e07587f6d93511e48a5aa5a35cc9e3a21f9b357e88084adcf271fa7168df
MD5 48a4cf934e50d2dc7c1b9bbb8b4e3a71
BLAKE2b-256 6835f024b7bbae7a6b338da63c9ff07ad54860c3b5ebb6470fc8e1eb6cd38997

See more details on using hashes here.

Provenance

The following attestation bundles were made for processfork_autogen-1.0.1-py3-none-any.whl:

Publisher: release.yml on manav8498/processfork

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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