Interactive Examples
Choose an example to get started. Each example runs entirely in your browser!
Getting Started
Tools
Agents as Tools
Create a multi-agent system where agents use other agents as tools for translation
Usage Tracking with Tools
Track API usage metrics including token counts and request statistics when using tools
Forcing Tool Use
Learn how to force agents to use tools with different behaviors: default, first tool result, or custom logic
Why This Playground?
Instant Start
No installation, no configuration. Start coding AI agents immediately in your browser.
Learn by Doing
Interactive examples with real code that you can modify and run instantly.
Full SDK
Complete OpenAI Agents SDK with all dependencies running via PyOdide.
Progressive Learning
From basic concepts to advanced patterns, learn at your own pace.