Skip to content

klim agents sessions

Each provider keeps a record of past agent conversations. klim agents sessions is a uniform view: list them, resume one, or delete an old session you no longer need.

Terminal window
klim agents sessions list
klim agents sessions resume <id>
klim agents sessions delete <id>
CommandDescription
listShow every saved session across providers.
resumeRe-open a session — equivalent to klim agents launch --session <id>.
deleteDelete a session record from the provider’s history store.
FlagDescription
--providerLimit to one provider.
--limit(list only) Cap rows returned (default 50).
--outputtext (default), json, or yaml.

Session ids embed the provider, the working directory, and the session nonce, URL-escaped so they survive shell-quoting:

claude:home%2Fuser%2Frepo:4b5e737e
copilot:home%2Fuser%2Frepo:770b0f2b

You can copy a row’s id from klim agents sessions list and pass it verbatim to resume / delete.

Terminal window
# Latest 20 sessions across every provider
klim agents sessions list --limit 20
# Just Claude Code, YAML
klim agents sessions list --provider claude-code --output yaml
# Resume the most recent session for the current directory
klim agents sessions resume claude:$(pwd | jq -sRr @uri)
# Delete a session
klim agents sessions delete copilot:home%2Fuser%2Frepo:770b0f2b