Skip to content

spillwavesolutions/google-adk-ager

v0.1.1MIT

Translate a validated AGER/OKF AgentGraph into Google ADK (Python, TypeScript, Go, Java, Kotlin) β€” LlmAgent (non-graph) and Workflow graph (ADK 2.0).

google-adk-ager

AGER β†’ Google ADK translator plugin.

Author graphs with okf-agent-graph. This plugin compiles.

Emits both ADK shapes, in all five official languages:

ModeWhatLanguages
agent (non-graph)LlmAgent + sub_agentsPython, TypeScript, Go, Java, Kotlin
graphADK 2.0 Workflow / workflow.ChainPython, Go
graphSequential + Parallel + Loop templatesTypeScript, Java, Kotlin (Workflow 2.0 not GA)

A host gets a manifest, never a fork. See docs/HOSTS.md.

Install

claude plugin marketplace add SpillwaveSolutions/google-adk-ager
claude plugin install google-adk-ager@google-adk-ager-marketplace

codex plugin marketplace add SpillwaveSolutions/google-adk-ager

Cursor: /plugin install google-adk-ager β€” docs/CURSOR.md.

Use

/ager-to-google-adk
python3 scripts/emit.py --bundle path/to/sample-ager --out ./generated
python3 scripts/emit.py --lang python --mode graph --adk-version 2 --out ./generated/py-graph
python3 scripts/emit.py --lang java --mode agent --out ./generated/java-agent
python3 scripts/emit.py --lang kotlin --mode graph --out ./generated/kt-graph
python3 scripts/emit.py --lang go --mode all --adk-version 2 --out ./generated/go
python3 scripts/emit.py --lang typescript --mode all --out ./generated/ts

--lang: all (default) | python | typescript | go | java | kotlin
--mode: all (default) | agent | graph
--adk-version: 2 (default, Workflow for Python/Go) | 1 (template workflows)

License

MIT