Claude Code v2.1.187 ·
EntryKind: in v2.1.187,
New FeaturesSection of the release
What
A new CLI flag that starts the session as a background agent and returns immediately, rather than waiting for the conversation to complete.
Usage
claude --bg "implement the feature described in TASK.md"
# or
claude --background "run the test suite and summarize failures"
Details
- The session runs detached; you can track and manage it with
claude agents - Useful for fire-and-forget tasks or parallel workstreams
Evidence
New flag definition (search for "--bg, --background" or "Start the session as a background agent")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeFixed claude --help not listing the --bg/--background flag
See this entry in the whole of v2.1.187 →