| 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
- 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, agent.py, README.md.
- Never claim production-ready without tests.
References