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#
# 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#
# 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:
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:
| Command | What it does |
|---|---|
/help | Show available commands |
/clear | Clear conversation history |
/exit, /quit | Exit the chat session |
/info | Inspect chat state and metadata |
/status | Show current environment status |
/tasks | Browse active, pending, and completed session tasks |
/verbose | Toggle verbose session telemetry |
/auth | Sign in to your Lovelace account |
/logout | Sign out of your Lovelace account |
/changelog | Show release notes for this version |
/command new | Create a custom slash command with a guided wizard |
/command generate | Generate a custom slash command with AI assistance |
/session list | List saved sessions |
/session new | Start 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:
# 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:
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
/clearor/session newwhen you switch to unrelated work. - Name important sessions: use
/session titleso you can find them later withada sessions list.
Related Guides#
- Agent Execution: run long tasks in the background
- MCP Integration: call external tools
- Workspace Management: organize agents and tasks
Start chatting: run ada chat from your project directory.