Code
cookbook/05_agent_os/interfaces/agui/agent_with_silent_tools.py
Usage
1
Set up your virtual environment
2
Set Environment Variables
3
Install Dependencies
4
Run Example
Key Features
- Silent Frontend Tools:
external_execution_silent=Truehides the “I have tools to execute” message - Backend Tools:
DuckDuckGoToolsruns on the server - Frontend Tools:
generate_haikuruns in the browser viaexternal_execution=True - Cleaner UX: Frontend tool calls happen without verbose status chatter
Setup Frontend
- Clone the AG-UI repository:
git clone https://github.com/ag-ui-protocol/ag-ui.git - Install the TypeScript SDK:
cd ag-ui/typescript-sdk && pnpm install - Build the Agno integration:
cd integrations/agno && pnpm run build - Start Dojo:
cd ../../apps/dojo && pnpm run dev - Open
http://localhost:3000and select the Agno integration