Chat
Interacting with Mind CLI
The Mind CLI provides an interactive chat mode that lets you have natural conversations with AI directly in your terminal. The default experience uses a rich terminal UI with syntax-highlighted code, interactive panels, and visual tool progress.
Starting a session
To start a chat session:
Or start a chat with a specific context:
To run the session in a managed cloud sandbox instead of on your machine, add --cloud:
Entering multi-line statements
Insert a newline in your prompt using any of these methods:
- Shift+Enter — works in iTerm2, Ghostty, Kitty, Warp, and Zed
- Ctrl+J — works in all terminals including tmux
- Alt+Enter — works in Terminal.app and Ghostty
- /editor — opens your default editor (defaults to vi) for composing longer prompts
You can also use the /reply command to open your editor with the most recent assistant message quoted for reply.
Running shell commands inline
Run shell commands without going through the AI by prefixing with !:
Output streams in real time. TTY commands like vim, ssh, and top get full terminal access.
Managing context
Use /context to view and manage what files are included in your session:
Conversation persistence
Mind can remember your conversations based on the folder where you started them. When you start a session where you previously chatted with Mind, you can tell Mind to automatically load that conversation history, allowing you to continue the same session.
Directory-based persistence
Starting a fresh conversation
You can start a fresh conversation without restarting the CLI using the /chat new command.