Google ADK
Render events from a Google ADK session running on your server.
Send ADK events to your view
Install the tested ADK package on your server.
Keep ADK’s Runner and session service on the server. Send events in order over your app’s transport, then install the Ghost views to render them.
Configure the runner's agent, session service and model on the server following the ADK event loop. The application transport owns authentication, serialization, backpressure and cancellation propagation. An existing ADK AG-UI bridge can instead use the AG-UI client path.
Partial content and richer events
ADK sends new text fragments in partial events. The non-partial event contains the assembled text. Ghost replaces the preview for that invocation, author, and branch with the assembled text. Deliver events in order and keep their IDs stable.
Function calls and responses retain native call IDs; an input-ready call is not proof of execution. adk-actions and adk-grounding data retain transfers, state changes and grounding for an application renderer. Thought text is withheld by default. mapPart and explicit reasoning-summary classification are available through normalizer options.
Boundaries and troubleshooting
ADK owns session state and tool execution. Keep native session/user/invocation IDs and actions rather than flattening a transfer into another assistant label. If replay duplicates text, check that partials and authoritative events arrived in order. If your server emits snake_case JSON rather than TypeScript objects, the projection accepts the documented event aliases, but validate the transport schema at your boundary.