claude --resume. By default this downloads the session as last persisted — written when the agent’s VM went to sleep, or on the periodic keep-alive backup. Pass --fresh to ask the running agent to upload a snapshot of its current session first, so the download is up to date even mid-run.
Synopsis
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
slug | string | on laptop | The agent’s slug. Optional on VMs (defaults to self). |
--fresh | bool | no | Ask the live agent to upload its current session before downloading. Requires agent.edit permission and a running workflow. When no run has happened since the last upload, the upload is skipped — repeated fresh downloads are cheap. Default: false. |
--output | string | no | Output file path. Default: ./<slug>.session.jsonl. |
--workspace | string | no | Workspace name. Overrides the value from murmur.yaml. |
Examples
Download the last-persisted session
Download a fresh snapshot from a running agent
Errors
| Code | Meaning | What to do |
|---|---|---|
NOT_FOUND | No agent with that slug exists, or it has no persisted session. | Check the slug. Use murmur ls to list agents. |
NOT_FOUND (with --fresh) | The agent’s workflow is not running. | Drop --fresh to download the last persisted session of a terminated agent. |
FAILED_PRECONDITION (with --fresh) | The agent is sleeping and its sleep-time session persist failed. | Wake the agent (e.g. murmur queue-add) and retry. |
UNAUTHENTICATED | Identity token is missing or expired. | Run murmur auth or check your murmur.local.yaml configuration. |
Related
- Agents — concept overview
murmur session watch— stream live session eventsmurmur session send— send a follow-up message to the agentmurmur spawn --resurrect— resume a dead agent in the cloud with its session