Quickstart
Get up and running with Ada CLI in just a few minutes
This guide installs Ada CLI, connects it to an AI provider, and runs your first chat and agent.
Installation#
macOS / Linux / WSL:
curl -fsSL https://d.uselovelace.com/install | sh
ada --version
The installer adds ada, lovelace (a second name for ada), and the Lattice runtime (lattice-daemon, lattice-ctl). For version pinning, installer options, and troubleshooting, see Installation.
Quick Setup#
Step 1: Start Ada#
# Navigate to your project
cd /path/to/your/project
# Start an interactive chat (the default command)
ada chat
The first time you run ada chat, a setup wizard walks you through:
- Signing in to Lovelace (optional)
- Connecting a provider: a local server such as LM Studio, or an API key for Anthropic or OpenAI
- Choosing a default model
- Choosing local or cloud execution
- Picking a theme
Pass --skip-setup to bypass the wizard for a single run.
Step 2: Sign In (Optional)#
When you are signed in, chat routes to the remote assistant service by default (ada chat --force-local keeps it on the local daemon). If you skipped sign-in in the wizard:
ada auth login
ada auth login opens your browser and also shows a QR code for the device flow. On a machine without a browser, use ada auth login --no-browser and complete sign-in from another device.
Step 3: Verify Your Setup#
# Local diagnostics
ada doctor
# Setup status and recommended next steps
ada setup status
# Authentication status
ada auth status
Step 4: Chat#
Inside ada chat, type a message and press Enter. Try prompts such as:
You: What's the structure of this codebase?
You: How can I improve error handling in auth.ts?
Tips:
- Type
/helpto see available slash commands - Type
/session listto see saved sessions - Type
/exitto end the session
Step 5: Start an Agent#
Agents run long tasks in the Lattice daemon while you keep working:
# Start an agent on a task and wait for it to start
ada agents start "Generate unit tests for src/user-service.ts" --wait
# List running agents
ada agents list
# Check one agent
ada agents status <agent-id>
# Stop an agent
ada agents stop <agent-id>
Next Steps#
Essential Commands#
AI Interaction:
ada chat # Interactive AI chat
ada sessions list # List chat sessions
ada sessions resume # Pick a session to resume
Agents and Tasks:
ada agents list # List running agents
ada agents start "Refactor src/auth" # Start an agent on a task
ada tasks submit "Update the README" # Queue a task on the local daemon
ada tasks list # List tasks
Workspaces:
ada workspaces list # List workspaces
ada workspaces current # Show the active workspace
ada workspaces sync # Sync the active workspace
Configuration:
ada config show # View configuration
ada config provider list # List configured providers
ada doctor # System diagnostics
Learn Common Workflows#
- Common Workflows: daily development, code review, and team collaboration
- Agent Execution Guide: run and monitor agents
- MCP Integration: connect Model Context Protocol servers
- Editor Integration: use Ada from Zed and other ACP editors
Explore Advanced Features#
Multiple Providers:
# Add or update a provider
ada config provider set openai --api-key "$OPENAI_API_KEY" --model <model-id>
# Make it the default
ada config provider activate openai
# Use a specific provider and model for one session
ada chat --provider anthropic --model <model-id>
MCP Integration:
# List configured MCP servers
ada mcp servers list
# List tools from all configured servers
ada mcp tools
# Start an interactive MCP shell
ada mcp repl
Session Management:
# List previous chats
ada sessions list
# Resume a session
ada sessions resume <session-id>
# Show details for the last session
ada sessions info --last
Troubleshooting#
Common Issues#
Authentication fails:
# Sign out, then sign in again
ada auth logout
ada auth login
Command not found:
# Verify installation
which ada
# Reinstall
curl -fsSL https://d.uselovelace.com/install | sh
Daemon not running:
# Show daemon, agent, and reachability health
ada status
# Install and start the Lattice daemon as an OS service
ada setup repair
Workspace issues:
# Show the active workspace
ada workspaces current
# Show sync status for the active workspace
ada sync status
Getting Help#
Built-in Diagnostics:
# System check
ada doctor
# Verbose diagnostic output
ada doctor --verbose
Command Help:
# General help
ada --help
# Command-specific help
ada chat --help
ada agents start --help
What's Next?#
- Explore Common Workflows: practical examples for everyday tasks
- Read the CLI Reference: every available command
- Set Up Editor Integration: use Ada from your editor
Need more help? Run ada doctor for diagnostics.