Skip to main content

Command

Description

Builds and pushes your agent to the sb0 platform registry. Must be run from your agent/ directory.

Usage

From your agent/ directory:

Expected Output

Requirements

Before pushing:
  1. Authenticate with sb0 login
  2. Build your agent with sb0 build
  3. Test locally with sb0 run --prompt "test"

Complete Workflow

What Gets Published

The platform deployment includes:
  • Your agent code and dependencies
  • Python runtime and system packages
  • sb0 runner for handling requests
  • Configuration from agent.config.yaml

Testing Your Deployed Agent

After pushing, test your agent with:
This sends a query to your deployed agent and streams the response.

Updating Your Agent

To update a deployed agent:
  1. Make changes to your agent code
  2. Test locally: sb0 run --prompt "test"
  3. Rebuild: sb0 build
  4. Push updates: sb0 push
The platform will automatically use the latest version.

Common Issues

Not Authenticated

Solution:

Agent Not Built

Solution:

Not in Agent Directory

Solution:

Next Steps