This document covers the various ways to use Mitto and its command-line options.
Interactive terminal interface for working with AI coding agents:
# Start with default ACP server
mitto cli
# Use a specific ACP server
mitto cli --acp claude-code
# With custom working directory
mitto cli --dir /path/to/project
# With debug logging
mitto cli --debugBrowser-based interface with rich Markdown rendering and session management:
# Start on default port (8080)
mitto web
# Custom port
mitto web --port 3000
# Open browser automatically
mitto web --open
# With debug logging
mitto web --debugNative macOS application with system integration:
# Open the app
open Mitto.app
# With environment overrides
MITTO_ACP_SERVER=claude-code open Mitto.app
MITTO_WORK_DIR=/path/to/project open Mitto.app
# Serve static files from disk for hot-reloading (frontend development)
MITTO_STATIC_DIR=./web/static ./Mitto.app/Contents/MacOS/mitto-appAvailable commands during an interactive session:
| Command | Description |
|---|---|
/quit, /exit, /q |
Exit the CLI |
/cancel |
Cancel current operation |
/help, /h, /? |
Show available commands |
| Flag | Description |
|---|---|
--acp <name> |
Select ACP server from configuration |
--config <path> |
Use custom configuration file |
--auto-approve |
Auto-approve all permission requests |
--debug |
Enable debug logging |
--dir <path> |
Set working directory |
| Flag | Description |
|---|---|
--port <number> |
HTTP server port (default: 8080) |
--host <addr> |
HTTP server host (default: 127.0.0.1) |
--open |
Open browser on startup |
--no-sessions |
Disable session persistence |
--workspaces <file> |
Load workspaces from a JSON/YAML file (overlay, not persisted) |
--folders <file> |
Overlay folder-level settings (name/code/color/auto_children/beads) from a JSON/YAML file (not persisted) |
Mitto automatically saves conversation sessions. Sessions are stored in:
- macOS:
~/Library/Application Support/Mitto/sessions/ - Linux:
~/.local/share/mitto/sessions/ - Windows:
%APPDATA%\Mitto\sessions\
Each session is stored as a directory containing:
events.jsonl- Conversation eventsmetadata.json- Session metadata (title, timestamps, etc.)
| Variable | Description |
|---|---|
MITTO_DIR |
Override default data directory |
MITTO_ACP_SERVER |
Default ACP server to use |
MITTO_WORK_DIR |
Default working directory |
MITTO_STATIC_DIR |
Serve static files from this dir (dev/app) |
MITTORC |
Path to configuration file |
# Clone and build
git clone https://github.com/inercia/mitto.git
cd mitto && make build
# Start interactive session
./mitto cli# Start web server for a specific project
mitto web --dir ~/projects/my-app --port 3000
# Start another for a different project
mitto web --dir ~/projects/other-app --port 3001# Use Claude Code
mitto cli --acp claude-code
# Use Auggie
mitto cli --acp "auggie"- Configuration - ACP servers and settings
- Web Interface - Authentication, hooks, themes
- macOS App - Hotkeys, notifications
- Development - Building and testing