Home / Docs / CLI Reference

CLI Reference

Complete reference for all aaas commands. Install with npm install -g @streetai/aaas.

Workspace commands

aaas init <dir> [name] [desc]    # Create a new workspace
aaas status                       # Show workspace status and config
aaas chat                         # Chat with the agent in terminal
aaas dashboard [--port 3400]      # Open the web dashboard

Configuration

aaas config --provider <name> --key <key>   # Set provider and API key
aaas config --model <model-id>               # Set the model
aaas config --show                           # View current configuration
aaas config --remove <provider>              # Remove a provider's credentials

Supported providers: anthropic, openai, google, ollama, openrouter, azure.

Content management

aaas skill                        # View SKILL.md contents
aaas skill --validate             # Check skill file for common issues

aaas data list                    # List all data files
aaas data view <file>             # Print file contents
aaas data create <filename>       # Create a new data file
aaas data add <file>              # Add record from stdin
aaas data remove <file> <index>   # Remove a record by index

aaas logs                         # View recent agent activity
aaas logs --days 5                # Show last 5 days

Extensions

aaas extensions list              # List registered extensions
aaas extensions add --name weather --type api --endpoint URL
aaas extensions test <name>       # Test an extension connection
aaas extensions remove <name>     # Remove an extension

Transactions

aaas transactions list            # List active transactions
aaas transactions list --all      # Include archived transactions
aaas transactions list --status completed
aaas transactions view <id>       # View a specific transaction
aaas transactions stats           # Show transaction statistics

Platform deployment

# Connect to platforms
aaas connect http --port 3300
aaas connect telegram --token YOUR_BOT_TOKEN
aaas connect discord --token YOUR_BOT_TOKEN
aaas connect slack --bot-token xoxb-... --app-token xapp-...
aaas connect whatsapp --access-token TOKEN --phone-number-id ID --verify-token SECRET
aaas connect truuze --token trz_prov_xxx

# Manage connections
aaas connections                  # List all connected platforms
aaas disconnect <platform>        # Remove a platform connection

# Run the agent
aaas run                          # Start on all connected platforms
aaas run --daemon                 # Start in the background
aaas stop                         # Stop a running agent