Quick Start

Get from zero to your first AI-assisted coding session in under 60 seconds.

1. Start a Session

Terminal
bash
# Launch the TUI (default mode)
codecli
# Headless mode for a single task
codecli run {"""}fix the type error in src/auth.ts{"""}

2. Have a Conversation

Type your request and press Enter. The agent reads your codebase, plans changes, and executes them in real time.

3. Slash Commands

CommandDescription
/helpShow available commands and keyboard shortcuts
/clearClear conversation history
/compactCompress context to free up token budget
/modelSwitch AI provider or model mid-session
/btwAsk a side question without interrupting the main task
/undoRevert the last file change
/costShow token usage and cost for this session

4. Attach Files

Reference files with @ syntax:

text
Review @src/auth.ts and @src/middleware.ts for security issues

5. Resume Later

Terminal
bash
codecli --continue
codecli --session abc123
PreviousInstallationNextConfiguration