--- 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 1. Locate the AGER bundle (`--bundle`, `sample-ager`, or cwd). 2. If `okf-agent-graph` is installed, run `ager-validate` first. If it fails, stop. 3. Run the deterministic emitter: ```bash python3 scripts/emit.py --bundle --out ``` 4. Report written paths. Expected: pyproject.toml, crew.py, README.md. 5. Never claim production-ready without tests. ## References - `references/mapping.md`