Overview
Rusty automatically saves conversation sessions to~/.rusty/sessions/ as JSON files. Each session stores the full message history, model information, and timestamps.
Session Storage
Sessions are stored at:- id: Unique session identifier
- messages: Full conversation history
- model: Model used for the conversation
- created_at: Session start timestamp
- updated_at: Last activity timestamp
Listing Sessions
View all saved sessions:Resuming a Session
Resume a previous session by its ID:/resume slash command for an interactive picker that lets you browse and select from saved sessions.
Session Management
Auto-Save
Sessions are saved automatically:- In TUI mode: when you exit (via
/quit,Ctrl+D, or closing the terminal) - In headless mode: after the response completes
- In stdin REPL mode: when you exit
Session Naming
Sessions can be renamed using the/rename slash command in TUI or stdin REPL mode.
Session Limits
There is no hard limit on the number of saved sessions. Sessions accumulate in~/.rusty/sessions/ until manually cleaned up.