{"name":"AGENT_PROXY_URL","slug":"agent-proxy-url","family":"env","title":"Environment variables","noun":"environment variable","description":"Read and then removed from the environment by the agent proxy's startup step, together with `AGENT_PROXY_AUTH_TOKEN`; it only matters when the proxy is enabled (`CLAUDE_CODE_REMOTE` and `CCR_AGENT_PROXY_ENABLED` set, with a `CLAUDE_CODE_REMOTE_SESSION_ID`). When set, the proxy fetches its CA from this URL and opens its relay WebSocket there instead of at the base URL it would otherwise use (normally `ANTHROPIC_BASE_URL`, default `https:\/\/api.anthropic.com`), and `CCR_AGENT_PROXY_RELAY_MODE=selective` and `CCR_AGENT_PROXY_CA_CERT_B64` are ignored. A settings file's `env` block cannot set it, and the self-hosted runner does not clear `CCR_AGENT_PROXY_ENABLED` for a session whose environment variables include it.","description_source":"code","described_by":{"bundle":"2.1.286","author":"claude-opus-5-5"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.309","builds":150,"mined_builds":150,"first_cited":null},"aliases":[],"entries":[],"entries_total":0,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"AGENT_PROXY_AUTH_TOKEN","slug":"agent-proxy-auth-token","description":"Read and then removed from the environment by the agent proxy's startup step in a remote session, together with `AGENT_PROXY_URL`; the proxy only uses it when enabled (`CLAUDE_CODE_REMOTE` and `CCR_AGENT_PROXY_ENABLED` set, with a `CLAUDE_CODE_REMOTE_SESSION_ID`). When set, the relay WebSocket authenticates with this token in place of the session token, and the proxy starts even if no session token is found. Claude Code also lists it among the credentials it strips from the environment of commands it runs, and a settings file's `env` block cannot set it."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/agent-proxy-url","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}