Skip to main content

Using the CLI

1

Install and authenticate

2

Create an agent

This provisions a sandboxed VM with Claude Code installed. It takes about 30 seconds.
3

Chat with your agent

The response streams back in real-time.

Using the API

If you prefer to integrate directly, use the REST API with an API key.
1

Get an API key

Create one from the dashboard under Settings > API Keys, or with the CLI:
Save the key β€” it’s only shown once.
2

Create an agent

3

Chat with your agent

The response is an SSE stream:

Next steps

CLI commands

Full reference for all bx commands.

API reference

Complete REST API documentation.