Quickstart Examples

July 9, 2026 ยท View on GitHub

Minimal examples that define and run agents in a single script. Use runtime.run(agent, prompt) which handles deploy + workers + execution automatically.

Great for learning and prototyping. The main examples now use the same runtime.run() happy path by default and keep deploy/serve as commented production guidance when you need a long-lived worker process.

# Run any example:
uv run python quickstart/01_basic_agent.py