Skip to main content
tool_confirmation.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export your OpenAI API key

4

Use the helper

This helper is imported by AG-UI Showcase, which mounts it at /tool_confirmation and serves on port 9001. Run the showcase entry point instead.
Full source: cookbook/05_agent_os/interfaces/agui/tool_confirmation.py