Skip to content

feat: adapt a whole ADK Java agent to run on the Kotlin engine - #1379

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_952759116
Open

feat: adapt a whole ADK Java agent to run on the Kotlin engine#1379
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_952759116

Conversation

@copybara-service

Copy link
Copy Markdown

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.

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant