A session is an isolated cloud machine running Claude Code. Each session has a memorable label like “brave-tiger-1234” for easy reference.
Creating Sessions
Start a new session with:
This will:
- Create a new cloud machine
- Upload your current directory (see Workspace Sync)
- Start Claude Code
- Connect your terminal
Options
| Flag | Description |
|---|
--no-upload | Skip uploading current directory |
--no-sync-back | Disable real-time file sync back to local |
--api <url> | Override API URL (for development) |
--agent codex | Use Codex instead of Claude Code (experimental) |
Examples
# Standard session with workspace upload
catty new
# Session without uploading files
catty new --no-upload
# Session without sync-back
catty new --no-sync-back
Session Labels
Each session gets a memorable label like:
brave-tiger-1234
swift-falcon-5678
clever-dolphin-9012
Labels are easier to remember than UUIDs and are used for all session operations.
Listing Sessions
View all your sessions:
Output shows:
- Session label
- Status (running, stopped)
- Creation time
Reconnecting
Sessions persist until explicitly stopped. Reconnect to an existing session:
catty connect brave-tiger-1234
Use Tab completion with the session label for convenience.
Reconnect Options
| Flag | Description |
|---|
--no-sync-back | Disable sync-back for this connection |
# Reconnect without sync-back
catty connect brave-tiger-1234 --no-sync-back
Stopping Sessions
Stop a running session:
catty stop brave-tiger-1234
Stopping a session destroys the cloud machine. Any files not synced back will be lost.