| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Adds JavaAdkToKt.asKtAgent to adapt an ADK Java agent into a Kotlin agent that runs on the ADK Kotlin engine: it runs its own flow (model calls, tools, callbacks, and sub-agent transfers) while the Kotlin runner drives and persists it as an opaque leaf agent. The invocation's resumability is carried across, so the Java flow pauses on a pending long-running call instead of re-issuing it. Live mode is not supported. PiperOrigin-RevId: 952759116
| Back | FazBrowse Home | New Git URL |
feat: adapt a whole ADK Java agent to run on the Kotlin engine
Adds JavaAdkToKt.asKtAgent to adapt an ADK Java agent into a Kotlin agent that
runs on the ADK Kotlin engine: it runs its own flow (model calls, tools,
callbacks, and sub-agent transfers) while the Kotlin runner drives and persists it
as an opaque leaf agent. The invocation's resumability is carried across, so the
Java flow pauses on a pending long-running call instead of re-issuing it. Live
mode is not supported.