Skip to main content

01 — Simple Agent

Create an agent with just a model and instructions.

02 — Agent with Tools

Give the agent tools to call during execution.

03 — Agent with Toolkit

Bundle related tools into a Toolkit class.

04 — Multi-Turn Conversation

Maintain context across multiple interactions.

05 — Streaming Agent

Stream agent output in real time with typed events.

06 — Async Agent

Run agents asynchronously with arun() and arun_stream().