Skip to content
Lovelace

Ada CLI

The Lovelace command-line tool for working with agents from your terminal

Ada CLI (ada, also installed as lovelace) is the terminal client for Ada, the Lovelace assistant. It opens an interactive chat in your terminal and manages the agents, tasks, sessions, and workspaces behind it.

What is Ada CLI?#

Ada CLI combines interactive AI chat, background agent execution, and workspace management in one command-line tool. Chat routes through the local Lattice daemon by default and falls back to the remote assistant service when you are signed in.

Key Capabilities#

Interactive AI Chat

ada chat (the default when you run ada with no command) opens an interactive session in your terminal. Ask questions about your codebase, get suggestions, and work through problems turn by turn.

Background Agents and Tasks

ada agents start "<task>" starts an agent on a task, and ada tasks submit "<description>" queues a task on the local daemon. Agents run in the Lattice daemon, not in your terminal session.

Workspaces

Workspaces are environments for organizing agents and tasks. ada workspaces init initializes a workspace for the current directory.

Model Context Protocol (MCP)

ada mcp adds external MCP servers, lists their tools, and calls those tools directly from the terminal.

Editor Integration

Editors that support the Agent Client Protocol (ACP), such as Zed, spawn ada acp start and communicate with Ada over JSON-RPC on stdio.

Multiple LLM Providers

Use Anthropic, OpenAI, Google Gemini, or a local model served by LM Studio. Pick a provider per session with ada chat --provider <provider>, or configure providers with ada config provider.

How It Works#

Terminal-First Design#

Ada CLI runs entirely in your terminal with a keyboard-driven interface.

Local Runtime#

The CLI talks to the Lattice daemon, a local background service that hosts providers, agents, sessions, and tasks. The daemon starts on demand the first time a command needs it.

Agents#

Long-running work executes as agents in the daemon. List them with ada agents list, check one with ada agents status <agent-id>, and stop one with ada agents stop <agent-id>.

Extensible Through MCP#

Connect third-party MCP servers to add tools, then call them with ada mcp call or explore them interactively with ada mcp repl.

Use Cases#

Software Development#

bash
# Open an interactive session in your project
ada chat

# Start a background agent to write tests
ada agents start "Generate unit tests for src/user-service.ts"

# Start a background security review
ada agents start "Audit the code under src/ for security vulnerabilities"

Hackathon & Rapid Prototyping#

Brainstorm ideas and compare technology choices in ada chat, then hand the build work to agents:

bash
# Generate a project structure
ada agents start "Create a Next.js project structure for a video streaming app"

# Draft a presentation outline
ada agents start "Create a pitch deck outline from README.md"

Learning & Exploration#

Run ada chat from the root of an unfamiliar project and ask questions such as "Explain this project's architecture" or "Which state management library does this app use, and why?"

Documentation & Content Creation#

bash
# Generate API documentation
ada agents start "Generate API documentation for the code under src/api and write it to docs/api"

# Queue a README update on the local daemon
ada tasks submit "Update README.md to reflect the new features in CHANGELOG.md"

# Generate an architecture diagram
ada agents start "Create a system architecture diagram from the code under src/"

Product Management & Planning#

bash
# Draft a feature specification
ada agents start "Write a detailed spec for OAuth integration, using the docs/ directory for context"

# Draft user stories
ada agents start "Write user stories for a collaborative code editor feature"

Workspace Sync#

bash
# Pull remote changes for the active workspace
ada workspaces pull

# Push local changes for the active workspace
ada workspaces push

# Review previous chat sessions
ada sessions list

Getting Started#

  1. Quickstart Guide: install and run your first command
  2. Usage Guides: learn how to use each CLI feature
  3. CLI Reference: complete command documentation

System Requirements#

Supported Platforms:

  • macOS on Apple Silicon
  • Linux on x64 or arm64

Network:

  • Internet connection for cloud AI providers
  • Optional: a local model server (LM Studio) for offline use

Getting Help#


Next Step: Get started with the Quickstart Guide to install and run your first command.