Skip to main content

Prerequisites

You have installed the sb0 CLI:

Create Your Agent Project

Create a new directory and scaffold your agent:
This creates the directory my-agent/ with your agent code and configuration.
Your agent/ directory contains:
The key files are:
  • handle_query.py, which contains your agent’s logic:
  • agent.config.yaml, which contains the build and runtime configuration:

“Hello World!”

You can now test your agent with a single prompt:
Expected output:
This step requies an Anthropic API key. Get one at console.anthropic.com. Then add it to your environment: