Skip to content

CLI Reference

Synopsis

agent-sessions [options]

Options

FlagDescriptionDefault
--agent <name>Specify the AI agent (claude, gemini, codex, cursor)(selector)
--fzfUse fzf for session selectionfalse
--deleteEnable delete modefalse
--no-splashSkip the splash screen animationfalse
-v, --versionPrint version and exit
-h, --helpPrint help and exit

Examples

bash
# Launch interactive TUI (shows Agent Selector)
agent-sessions

# Launch directly for Gemini
agent-sessions --agent gemini

# Use fzf picker for Cursor
agent-sessions --agent cursor --fzf

# Enable deletion with no splash for Claude
agent-sessions --agent claude --delete --no-splash

# Check version
agent-sessions --version

Exit Codes

CodeMeaning
0Normal exit or session resumed
1No sessions found for selected agent

Released under the MIT License.