Files
2026-07-13 12:58:18 +08: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>