Skip to content

Sessions

Sessions let you pause a conversation and pick it up exactly where you left off, including the full message history and any in-progress context.

From inside the REPL:

> /save my-refactor

If you omit a name, a timestamp is used. Sessions are stored as JSON files in ~/.cyclops/sessions/.

> /load my-refactor

The history is restored and the conversation continues from the last message.

> /sessions

Shows all saved sessions with their names and timestamps.

You can also load a session when starting Cyclops Code (not yet supported via a flag; use /load once in the REPL).

~/.cyclops/sessions/<name>.json

Session files are plain JSON. You can inspect or delete them manually.

To clear the current history without saving:

> /clear

This wipes the conversation and clears the screen. The model starts with no prior context.

For long sessions, the full history can grow large and consume context window space. Use /compact to summarize the history via the LLM:

> /compact

The conversation is replaced with a single summary message. Useful before switching to a new sub-task in the same session.