Skip to content
Lovelace

Interactive Chat

Have conversations with AI about your code, directly in your terminal

ada chat opens an interactive session in a full-screen terminal UI. It is the default command, so running ada with no arguments does the same thing. Chat takes no message argument: you type messages inside the session.

Starting a Chat Session#

bash
# Start from your project directory
cd /path/to/your/project
ada chat

The first run opens a setup wizard for sign-in, provider, and model selection. Pass --skip-setup to bypass it for a single run.

Chat Options#

bash
# Use a specific provider and model for this session
ada chat --provider anthropic --model <model-id>

# Resume a previous session
ada chat --session <session-id>

# Keep chat on the local daemon even when signed in
ada chat --force-local

# Run in the CLI process instead of routing through the Lattice daemon
ada chat --no-daemon

--provider accepts openai, anthropic, gemini, and lm-studio.

Where Chat Runs#

By default, chat routes through the local Lattice daemon. When you are signed in, it routes to the remote assistant service instead, unless you pass --force-local. With --no-daemon, chat runs the same agent and task features directly in the CLI process.

Multi-Turn Conversations#

Type a message and press Enter. Ada keeps the conversation history for the session, so you can ask follow-ups, change topics, or request a different approach:

text
You: Help me add OAuth sign-in to this Next.js app

Ada: Which providers do you need, and do you already have a database set up?

You: Google and GitHub, using Prisma with PostgreSQL

Ada: Here's a step-by-step plan...

Slash Commands#

Type / to see completions for available commands. Built-in commands:

CommandWhat it does
/helpShow available commands
/clearClear conversation history
/exit, /quitExit the chat session
/infoInspect chat state and metadata
/statusShow current environment status
/tasksBrowse active, pending, and completed session tasks
/verboseToggle verbose session telemetry
/authSign in to your Lovelace account
/logoutSign out of your Lovelace account
/changelogShow release notes for this version
/command newCreate a custom slash command with a guided wizard
/command generateGenerate a custom slash command with AI assistance
/session listList saved sessions
/session newStart a new session
/session use <id>Switch to another session
/session title <title>Rename the current session
/session delete <id>Delete a session

Session Management#

Sessions are saved conversation histories. Manage them from inside chat with /session, or from the shell with ada sessions:

bash
# List sessions
ada sessions list

# Show details for a session, or for the last one
ada sessions info <session-id>
ada sessions info --last

# Resume a session (pick interactively when no ID is given)
ada sessions resume
ada sessions resume <session-id>

# Rename a session
ada sessions update <session-id> --title "OAuth sign-in"

# Delete a session
ada sessions delete <session-id>

Handing Work to Agents#

For work that should keep running while you do something else, start an agent from the shell instead of asking in chat:

bash
ada agents start "Generate unit tests for src/auth"

Use /tasks inside chat to browse the session's tasks.

Best Practices#

  • Be specific: name the files, functions, or behavior you are asking about.
  • Iterate: build on earlier answers with follow-up questions instead of one large request.
  • Start fresh for new topics: use /clear or /session new when you switch to unrelated work.
  • Name important sessions: use /session title so you can find them later with ada sessions list.

Start chatting: run ada chat from your project directory.