CLI Command Reference
Complete reference for all Ada CLI commands
This reference provides detailed documentation for every command available in Ada CLI. Each command has its own dedicated page with usage examples, options, and interactive terminal demonstrations.
Core Commands
ada chat
Start AI-powered chat sessions with workspace context.
ada chat [options]
Key features: Interactive AI assistance, workspace awareness, session management, multi-turn conversations
ada agents
Manage and execute autonomous agent workers for background tasks.
ada agents <subcommand> [options]
Key features: Background task execution, agent lifecycle management, daemon control, execution logging
ada workspace
Manage workspaces and project organization.
ada workspace <subcommand> [options]
Key features: Workspace creation, project synchronization, context switching, status monitoring
lovelace mcp
Interact with Model Context Protocol servers for extended capabilities.
lovelace mcp <subcommand> [options]
Key features: Server management, tool execution, interactive REPL, resource access
Setup & Configuration
ada setup
Interactive setup wizard for first-time configuration.
ada setup [options]
Key features: Guided authentication, provider configuration, workspace initialization
lovelace auth
Manage platform authentication and user sessions.
lovelace auth <subcommand> [options]
Key features: OAuth authentication, session management, token refresh, multi-device support
lovelace config
View and modify CLI configuration settings.
lovelace config <subcommand> [options]
Key features: Configuration management, provider settings, workspace defaults
ada doctor
Run system diagnostics and health checks.
ada doctor [options]
Key features: System validation, automatic issue detection, health reporting, fix suggestions
Analysis & Sessions
ada analyze
Perform comprehensive codebase analysis.
ada analyze [path] [options]
Key features: Symbol analysis, dependency graphs, architecture review, security scanning
ada sessions
Manage and search chat session history.
ada sessions <subcommand> [options]
Key features: Session browsing, search functionality, export capabilities, session resumption
Additional Commands
lovelace billing
View and manage billing information.
lovelace billing <subcommand> [options]
ada knowledge
Manage knowledge base and documentation.
ada knowledge <subcommand> [options]
ada reset
Reset CLI configuration to defaults.
ada reset [options]
Global Options
These options are available for all commands:
| Option | Description |
|---|---|
--verbose, -v | Enable verbose output |
--quiet, -q | Suppress non-essential output |
--debug | Enable debug logging |
--config <path> | Use specific config file |
--workspace <name> | Override default workspace |
--no-color | Disable colored output |
--help, -h | Display help for command |
Exit Codes
All commands use these standard exit codes:
| Code | Meaning |
|---|---|
0 | Success |
1 | General error |
2 | Invalid arguments or usage |
3 | Authentication error |
4 | Network error |
5 | Permission error |
Environment Variables
Configure CLI behavior with these environment variables:
| Variable | Description | Default |
|---|---|---|
LOVELACE_CONFIG_DIR | Configuration directory path | ~/.lovelace |
LOVELACE_WORKSPACE | Default workspace name | - |
LOVELACE_API_URL | API endpoint URL | https://api.uselovelace.com |
LOVELACE_LOG_LEVEL | Logging level | info |
LOVELACE_NO_COLOR | Disable colored output | false |
Logging levels: debug, info, warn, error, silent
Command Categories
By Use Case
Development Workflow:
ada chat- Interactive AI assistanceada analyze- Code analysisada sessions- Review past conversations
Automation & Background Tasks:
ada agents- Execute long-running taskslovelace mcp- Integrate external tools
Project Management:
ada workspace- Organize projectslovelace config- Customize settings
Setup & Maintenance:
ada setup- Initial configurationlovelace auth- Manage authenticationada doctor- System diagnosticsada reset- Reset to defaults
By Frequency
Daily Use:
ada chatada agentsada workspace
Occasional Use:
ada analyzeada sessionslovelace mcplovelace config
First-Time / Troubleshooting:
ada setuplovelace authada doctorada reset
Getting Help
Each command has built-in help:
# General help
lovelace --help
# Command-specific help
ada chat --help
ada agents --help
# Subcommand help
ada workspace list --help
lovelace mcp exec --help
Related Documentation
- Quickstart Guide - Get started in 5 minutes
- Usage Guides - Feature-specific how-tos
- Examples - End-to-end workflows
- Configuration Schema - Detailed config reference