What
Starting a session with --bg/--background prints an id, and the flag description now spells out that claude attach, logs, stop and rm all take that id, with claude agents listing the running sessions.
Details
- Replaces the older description, which only pointed at
claude agents.
Evidence
Prints the id that claude attach, logs, stop and rm take; claude agents lists them
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Added since
A small documentation edit on CLI reference touched a line naming --background after this was published.
| `--bg`, `--background` | Start the session as a [background agent](/docs/en/agent-view) and return immediately. Prints the session ID and management commands. Combine with `--exec` to run a shell command as a background job instead of a …cli-reference see the edit
Added since
A small documentation edit on CLI reference touched a line naming --bg after this was published.
| `--bg`, `--background` | Start the session as a [background agent](/docs/en/agent-view) and return immediately. Prints the session ID and management commands. Combine with `--exec` to run a shell command as a background job instead of a …cli-reference see the edit
Confirmed since
Anthropic's documentation has since written up --background, on CLI reference.
| `--bg`, `--background` | Start the session as a [background agent](/docs/en/agent-view) and return immediately. Prints the session ID and management commands. Combine with `--exec` to run a shell command as a background job instead of a …cli-reference see the edit
Added since
A small documentation edit on What's new touched a line naming claude agents after this was published.
Also this week: **fork mode** is on by default in interactive sessions, so Claude can delegate a side task to a subagent that inherits the full conversation; **GitLab** merge request URLs work with `--worktree` and the `claude agents` view…whats-new/index see the edit
Confirmed since
Anthropic's documentation has since written up --bg, on Manage multiple agents with agent view.
| `claude daemon stop --any` | Stop the supervisor process and the background sessions it hosts. Pass `--keep-workers` to leave background sessions running so the next supervisor reconnects to them. The next `claude agents` or `claude --bg…agent-view see the edit
Confirmed since
Anthropic's documentation has since written up claude agents, on Claude Code changelog.
* Fixed `claude agents`: pressing ← again at a natural pace to go back to the agent list no longer gets ignored until you pause for over a secondchangelog see the edit
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agrees
Anthropic's documentation has since written up claude agents, on Claude Code changelog.
Anthropic's release notes agree
Fixed backgrounded sessions (←, /background, --bg) losing a Vertex/Bedrock gateway (ANTHROPIC__BASE_URL + CLAUDE_CODE_SKIP__AUTH) exported…