Metadata-Version: 2.4
Name: processfork-crewai
Version: 1.0.0
Summary: ProcessFork memory adapter for CrewAI ≥0.130 — time-travel debugging across crew runs.
Author-email: manav8498 <manavpatel91570@gmail.com>
License: MIT
Requires-Python: >=3.9
Requires-Dist: processfork>=1.0.0
Provides-Extra: crewai
Requires-Dist: crewai>=0.130; extra == 'crewai'
Description-Content-Type: text/markdown

# processfork-crewai

ProcessFork memory adapter for [CrewAI](https://www.crewai.com/) ≥0.130.
Replaces CrewAI's stock `CrewMemory` with a ProcessFork-backed
implementation; every crew step becomes a `.pfimg` you can time-travel
through.

## Install

```bash
pip install "processfork-crewai[crewai]"
```

## Use

```python
from crewai import Crew
from processfork_crewai import ProcessForkMemory

crew = Crew(
    agents=[researcher, writer, editor],
    memory=ProcessForkMemory(store="~/.processfork", crew_id="ml-blogpost"),
    tasks=[...],
)

result = crew.kickoff()

# Time-travel:
crew.memory.checkout("sha256:...pre-edit")
```

Captures:
- All three agents' message histories into the trace blob.
- Tool-call ledgers (web-search, file-write, etc.).
- The `output_files/` directory each task writes to (world.fs).

See `agent_docs/integration-crewai.md` for the spec.
