Overview

Sessions

Commands#

List previous chats and choose one to resume:

agent ls

Resume the most recent conversation:

agent resume

Continue the previous session directly:

agent --continue

Resume a specific conversation by id:

agent --resume="chat-id-here"

When to resume and when to start fresh#

Resume when you are continuing the same piece of work and the earlier context still holds: the same files, the same goal, the same constraints you already explained.

Start fresh when the task changes. A long session carries all of its earlier turns, including abandoned approaches and dead ends. On a new problem that history is noise, and it competes for context with what actually matters.

Was this page helpful?