Interactive Mode
When you run savfox without a subcommand, it launches a ratatui-based terminal user interface for interactive sessions with the AI agent.
Launching
Interface Overview
The TUI provides:
- Chat composer — Type messages and send them to the agent
- Markdown rendering — Agent responses are rendered with syntax highlighting
- Diff display — Proposed file changes shown as unified diffs
- Approval modals — Accept or reject commands and file edits
- Status indicators — Loading animations and progress feedback
Session Management
Resume
Continue a previous conversation where you left off:
Fork
Branch from a previous session to explore alternative approaches:
Archive
Sessions are stored locally and can be archived or listed through the TUI.
Approval Workflow
When the agent wants to execute a command or modify a file, Savfox presents an approval modal:
- Command execution — Review the command before it runs
- File changes — Review the diff before it's applied
You can approve or decline each action. The approval policy can be configured globally:
Model and Personality Selection
From the TUI, you can:
- Switch between available LLM models
- Select different agent personalities / collaboration modes
- Configure via overlays accessible from the interface
Or set the model from the command line:
Slash Commands
The interactive mode supports slash commands for quick actions. Type / in the chat composer to see available commands.
Keyboard Shortcuts
The TUI uses standard terminal keybindings. Navigation and input follow typical terminal conventions.
Tips
- Use
Ctrl+Cto interrupt a running agent turn - Sessions persist automatically — you can always resume later
- Attach images to your message with
-i: