CLI Reference
Complete reference for the BeeAI command-line interface
BeeAI command-line interface (CLI) provides powerful tools to discover, run, and manage agents directly from your terminal. This document serves as a comprehensive reference for all available commands and options.
Basic Usage
The basic syntax for BeeAI commands follows this pattern:
To see a list of all available commands:
Core Commands
List
List all available agents:
This displays a table with agent names, statuses, descriptions, UI types, locations, missing environment variables, and error messages.
Run
Run an agent with specified input:
Examples:
Info
Get detailed information about a specific agent:
Shows details including description, input/output schemas, examples, configuration options, and provider information.
Add
Add an agent to your environment:
Use beeai add
when:
- You want to use an agent (one-step process)
- You don’t care about build details
- You want the simplest workflow
Location formats:
Remove
Remove an agent from your environment:
Logs
View and follow the logs for an agent:
This displays the agent’s log output and continues streaming new logs as they are generated.
Build
Build an agent from a local directory or repository:
Arguments:
context
: Docker context for the agent (default: current directory)
Options:
--tag <name>
: Docker tag for the agent--multi-platform
: Build for multiple platforms--import / --no-import
: Import the image into BeeAI platform (default: true)
Use beeai build
when:
- You want to test builds before using them (
--no-import
) - You need custom build options (
--multi-platform
, custom--tag
) - You’re developing and want to control the build process
- You want to build images for sharing (not immediate use)
Examples:
Environment Management
Environment Setup
Interactive setup for LLM provider environment variables:
This guides you through setting up the required environment variables for your chosen LLM provider.
Environment Variables
Manage environment variables for agents:
Examples:
System Commands
Start
Start the BeeAI server:
Stop
Stop the BeeAI server:
UI
Launch the web interface:
This runs the server in the foreground.
Version
Display version information:
Shows versions of:
beeai-cli
beeai-server
acp-sdk
Global Options
Most commands support these general options:
--help
: Show help information for a command--debug
: Enable debug output for troubleshooting