Manage multiple agents with agent view changedagent-view
Upstream edited this page at 22 Nov 2026 18:48 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 22 Nov 2026 19:07 UTC.
Upstream edited
Recorded here
Lines+4added
Lines−6removed
From line
982
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits79to this page, all time
### A background session shows `Not logged in` ### Dispatch fails with `Could not resolve authentication method`
The whole hunk
from line 982, old and new numbered
/
from line 982
982982| `was not sent SIGKILL` | macOS, Linux | Run the stop command again. If the process remains, check it with `ps -ww -o args= -p <pid>`: Claude Code started with `daemon` is a supervisor, so run `kill -9 <pid>`. Leave anything else; if `claude agents` then can't start a supervisor, delete `~/.claude/daemon.lock`. |
983983| `supervisor (pid=<pid>) is still running` | Windows | End the process with `taskkill /PID <pid>` |
984984
985### Dispatch fails with `Could not resolve authentication method`
985### A background session shows `Not logged in`
986986
987If a background dispatch fails with `Could not resolve authentication method` while interactive sessions authenticate normally, the worker that received the dispatch didn't pick up credentials. Background sessions get their credentials from the [supervisor](#the-supervisor-process), so this error means no stored credential was available to the supervisor process itself. Confirm you have run `/login` or configured an API key, then stop the supervisor:
987If a background session shows [`Not logged in`](https://code.claude.com/docs/en/errors#not-logged-in) while interactive sessions authenticate normally, confirm you have run `/login` or configured an API key, then stop the [supervisor](#the-supervisor-process):
988988
989989```bash theme={null}
990990claude daemon stop --any --keep-workers
991991```
992992
993Within [about a minute](#the-supervisor-process), run `claude agents` or `claude --bg` in your shell to start a fresh supervisor that reads your stored credentials. If you authenticate with an environment variable such as `ANTHROPIC_API_KEY` rather than `/login`, run that next command from a shell where the variable is set.
994
995See the [error reference](https://code.claude.com/docs/en/errors.md#could-not-resolve-authentication-method) for the full list of causes and fixes.
993Within [about a minute](#the-supervisor-process) of stopping it, run `claude agents` in your shell to start a fresh supervisor. If you authenticate with an environment variable such as `CLAUDE_CODE_OAUTH_TOKEN`, run `claude agents` from a shell where the variable is set. Then run [`claude respawn <id>`](#manage-sessions-from-the-shell) to restart the session, and resend your message.
996994
997995### A background session shows `No LLM gateway`
998996
No line in this hunk matches that.