Examples
Explore complete, runnable SDK examples organized by difficulty.
Working examples are available in the SDK repository, organized by difficulty:
| Example | Difficulty | Description |
|---|---|---|
| quickstart | Beginner | Send one prompt, stream the response (~15 lines) |
| cli-agent | Beginner | Interactive terminal chat with a shell tool |
| code-review-bot | Intermediate | AI code reviewer with custom tools and structured output |
| multi-agent | Advanced | Parallel agents with streaming web UI |
| desktop-app | Advanced | Full Tauri + Next.js desktop app |