Skip to main content

Command

Description

Creates a new agent project with complete scaffolding, configuration, and dependencies automatically installed.

Usage

Create a new project:
This creates both agent/ and gateway/ directories. The gateway is platform infrastructure—you’ll work primarily in the agent/ directory.

What Gets Created

Agent Directory (agent/)

Gateway Directory (gateway/)

Platform infrastructure—you can ignore this for now.

Automatic Setup

The sb0 init command automatically:
  1. Creates project structure - Agent and gateway directories
  2. Generates configuration - agent.config.yaml and pyproject.toml
  3. Embeds packages - Copies sb0-runner and sb0-protocol wheels
  4. Locks dependencies - Runs uv lock to create uv.lock
  5. Installs dependencies - Runs uv sync --no-dev to create .venv/

Example Output

Configuration Files

agent.config.yaml

pyproject.toml

Next Steps

After initialization:
  1. Navigate to agent directory:
  2. Set your API key:
  3. Test your agent: