Skip to main content
The RunAgent CLI is your primary tool for creating, testing, and deploying AI agents. It provides a simple yet powerful interface for managing the entire agent lifecycle.

Installation

Verify installation:

Global Options

All RunAgent commands support these global options:

Available Commands

setup

Configure authentication and API keys (Coming Soon)

teardown

Remove RunAgent configuration (Coming Soon)

init

Initialize a new agent project

template

Manage project templates

serve

Run agent locally for testing

upload

Upload agent to remote server (Coming Soon)

start

Start uploaded agent on remote server (Coming Soon)

deploy

Full deployment (upload + start) or local deploy

run

Execute a deployed agent

db-status

Show local database status and statistics

delete

Delete an agent from local database

Command Structure

RunAgent follows a consistent command structure:
Examples:
Note: Authentication and remote deployment commands are coming soon

Command Categories

Setup & Configuration (Authentication Coming Soon)

  • setup - Configure authentication with API keys (Coming Soon)
  • teardown - Remove all RunAgent configuration (Coming Soon)
  • db-status - Monitor local database and capacity

Project Management

  • init - Create new agent projects from templates
  • template - List and manage available templates

Local Development

  • serve - Start local FastAPI server for testing and deployment
  • delete - Remove agents from local database

Remote Deployment (Coming Soon)

  • upload - Upload agent code to remote server
  • start - Start uploaded agent on remote server
  • deploy - Full deployment workflow (upload + start)

Execution

  • run - Execute deployed agents with flexible input options

Common Workflows

Development Workflow

1

Setup Authentication (Coming Soon)

Note: Authentication features are coming soon
2

Create Project

3

Install Dependencies

4

Configure Environment

5

Test & Deploy Locally

6

Deploy to Remote (Coming Soon)

Note: Remote deployment features are coming soon

Quick Commands Reference

Note: Authentication features are coming soon

Configuration Management

Authentication Setup (Coming Soon)

Note: Authentication and remote deployment features are coming soon. The setup command will create a configuration file at:
  • Linux/Mac: ~/.runagent/user_data.json
  • Windows: %USERPROFILE%\.runagent\user_data.json

Environment Variables (Coming Soon)

RunAgent CLI will support these environment variables: Note: Authentication-related environment variables are coming soon.

Local Database Management

RunAgent maintains a local SQLite database for managing agents:

Capacity Management

The local database supports up to 5 agents simultaneously. When at capacity:

Output Formats

Most commands support different output formats:

Error Handling

RunAgent provides clear error messages:

Common Exit Codes

Advanced Usage

Animation Control

Debugging

Enable verbose output for troubleshooting:

Piping and Scripting

Aliases and Shortcuts

Add to your shell configuration:

Best Practices

Always commit your runagent.config.json but never commit .env files containing API keys
Use runagent serve and runagent deploy-local to test locally before deploying remotely
Use runagent db-status --capacity to monitor local database usage
Start with templates for faster development: runagent template --list
Use the CLI in CI/CD pipelines for automated deployments

Getting Help

Join our Discord community for support and discussions about RunAgent CLI

Still have a question?