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.0.tar.gz (3.8 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.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file processfork_autogen-1.0.0.tar.gz.

File metadata

  • Download URL: processfork_autogen-1.0.0.tar.gz
  • Upload date:
  • Size: 3.8 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.0.tar.gz
Algorithm Hash digest
SHA256 99d750bea55e1598ec18259f50aa2eb5d443fd58a6a045f74a4fbbaa87bc8c17
MD5 5d712269f83d3d5ae5605f62b6115fcf
BLAKE2b-256 d6d23a4673fb427416ccaae62e679d40810db137be9515201c0f58821500fa8e

See more details on using hashes here.

Provenance

The following attestation bundles were made for processfork_autogen-1.0.0.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for processfork_autogen-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7c09160f9a17598a80dff48cec5be5ae5d3886fb2aaadf3a97c02709112b6867
MD5 ca730795594fb4d518cbd461921a3ba6
BLAKE2b-256 33cb643b0c9c4b2d482221e752029dd5994b769b0fb88c198d8883efe6e8044f

See more details on using hashes here.

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