{"name":"CLAUDE_CODE_DISABLE_AGENT_VIEW","slug":"claude-code-disable-agent-view","family":"env","title":"Environment variables","noun":"environment variable","description":"Set to `1` to turn off [background agents and agent view](\/docs\/en\/agent-view): `claude agents`, `--bg`, `\/background`, and the on-demand supervisor. Equivalent to the [`disableAgentView`](\/docs\/en\/settings-reference#disableagentview) setting","description_source":"docs","described_by":{"doc":"claude-code\/env-vars","title":"Environment variables"},"presence":{"first_seen":"2.1.139","removed_in":null,"in_current_build":true,"newest_mined":"2.1.308","builds":148,"mined_builds":149,"first_cited":{"version":"2.1.139","released_at":"2026-05-11 18:09:28","spans":1}},"aliases":[],"entries":[{"version":"2.1.139","anchor":"notes","heading":"","line":null,"released_at":"2026-05-11 18:09:28","reason":"found in this entry's text"},{"version":"2.1.139","anchor":"agent-view-disable-setting-renamed","heading":"Agent View Disable Setting Renamed","line":null,"released_at":"2026-05-11 18:09:28","reason":"found in this entry's text"}],"entries_total":2,"docs":[{"source":"claude-code","path":"env-vars","title":"Environment variables","documented":true},{"source":"claude-code","path":"agent-view","title":"Manage multiple agents with agent view","documented":false},{"source":"claude-code","path":"settings","title":"Claude Code settings","documented":false}],"docs_total":3,"gates":[],"related":[{"name":"CLAUDE_CODE_DISABLE_AGENTS_FLEET","slug":"claude-code-disable-agents-fleet","description":"A true value (`1`, `true`, `yes`, `on`) turns off the background-agents fleet, the same as the `disableBackgroundAgents` setting: the fleet gate that otherwise follows `tengu_slate_meadow` returns false, so `claude daemon` subcommands that need the gate stop with `'daemon' is not enabled.`, the built-in Claude agent is left out of the built-in agent list, and `claude daemon run` exits with `claude daemon: background agents disabled (ZDR\/3P\/opt-out)`."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-disable-agent-view","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}