Skip to main content

Prerequisites

This step requires Docker to be installed and running on your machine. To install Docker, follow the official installation guide.

Authenticate

First, authenticate your CLI with the sb0 platform:
sb0 login
The deployment flow is simple:
1

Build

Build your agent into a Docker image:
sb0 agent build
This packages your agent code, dependencies, and runtime into a production-ready container.Expected output:
Building Docker image my-agent:latest...
...
✔ Image built: my-agent:latest
2

Push

From your agent/ directory, push your agent to the platform:
sb0 push
This builds and uploads your agent to the sb0 platform registry.Expected output:
Building agent...
Pushing to platform registry...
✔ Agent published successfully
sb0 uses the latest available version of your agent.
3

Test

Test your deployed agent:
sb0 query "test question"