xpander-cli

The xpander-cli is a command-line interface for interacting with the xpander.ai control plane. It allows you to create and manage agents, update configurations, and automate workflows from your terminal.

Installation

# Install the CLI
pip install xpander-cli

# Login to xpander
xpander login

Commands

Authentication

# Login to xpander
xpander login

# View current authentication status
xpander auth status

# Logout from xpander
xpander logout

Agent Management

# List available agents
xpander agents list

# Create a new agent
xpander agents create --name "My Agent" --type regular

# Get details for a specific agent
xpander agents get <agent-id>

# Delete an agent
xpander agents delete <agent-id>

Operations

# List operations for an agent
xpander operations list --agent <agent-id>

# Create a new operation
xpander operations create --agent <agent-id> --name "My Operation" --type function

# Update an operation
xpander operations update <operation-id> --prompt "New prompt"

# Delete an operation
xpander operations delete <operation-id>

Full Command Reference

For a complete list of available commands, run:

xpander --help

Or for help with a specific command:

xpander <command> --help