| name | ager-to-crewai |
| description | Translate a validated AGER/OKF AgentGraph into a CrewAI hierarchical Crew (manager_agent, max_iter, tasks). |
AGER → CrewAI
This plugin compiles. It does not author AGER. Authoring is okf-agent-graph.
Mapping
| AGER | CrewAI |
|---|
| AgentGraph | Crew(process=hierarchical) |
| OrchestratorAgent | manager_agent |
| Worker / Judge / Synthesizer | Agent + Task |
| LoopPolicy.max_turns | Crew.max_iter |
| ScratchPad | Crew memory=True |
| Tool + ToolRule | Agent tools + documented guards |
Steps
- Locate the AGER bundle (
--bundle, sample-ager, or cwd).
- If
okf-agent-graph is installed, run ager-validate first. If it fails, stop.
- Run the deterministic emitter:
python3 scripts/emit.py --bundle <AGER_ROOT> --out <OUT>
- Report written paths. Expected: pyproject.toml, crew.py, README.md.
- Never claim production-ready without tests.
References