--- name: ager-to-claude-agent-sdk description: Translate a validated AGER/OKF AgentGraph into a Claude Agent SDK lead + subagents project (max_turns, tools). --- # AGER → Claude Agent SDK This plugin **compiles**. It does not author AGER. Authoring is `okf-agent-graph`. ## Mapping | AGER | Claude Agent SDK | | --- | --- | | OrchestratorAgent | ClaudeAgentOptions.system_prompt (lead) | | Worker / Judge / Synthesizer | agents={} subagent defs | | LoopPolicy.max_turns | ClaudeAgentOptions.max_turns | | Tool | allowed tools on each subagent | | ScratchPad | documented artifact keys | ## 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, agent.py, README.md. 5. Never claim production-ready without tests. ## References - `references/mapping.md`