Files
copilotkit__copilotkit/showcase/integrations/google-adk/docs/setup/frontend-tools-setup.mdx
Tyler Slaton a07e97b224 chore: run pnpm format
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2026-05-20 21:30:28 -07:00

23 lines
598 B
Plaintext

<Steps>
<Step>
### Install the ADK + AG-UI bridge
```bash
pip install ag-ui-adk
```
</Step>
<Step>
### Add `AGUIToolset()` to your agent
`AGUIToolset()` is the tool that exposes CopilotKit's frontend-tool
channel to the model — drop it into your `LlmAgent`'s `tools=` list and
frontend tools become available on every turn. Pair it with
`stop_on_terminal_text` as the `after_model_callback` so CopilotKit's UI
knows when the agent has finished its turn.
<DemoCode file="src/agents/hitl_in_chat_agent.py" region="setup" />
</Step>
</Steps>