{"record":{"id":"3c65802a79cfc77a","repo":"openai/codex","slug":"codex-agents-requires-remote-on-this-platfor","errorCode":null,"errorMessage":"`codex agents` requires `--remote` on this platform","messagePattern":"`codex agents` requires `--remote` on this platform","errorType":"validation","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"codex-rs/cli/src/main.rs","lineNumber":1133,"sourceCode":"                                        && value.get(\"writable_roots\").is_some())\n                            }))\n                {\n                    anyhow::bail!(\n                        \"`codex agents` cannot apply local provider or additional-directory overrides to a remote server\"\n                    );\n                }\n                if is_workload_identity_selected() {\n                    anyhow::bail!(\n                        \"`codex agents` is unavailable while workload identity is active\"\n                    );\n                }\n                if root_remote.is_none() {\n                    resolve_remote_endpoint(\n                        /*remote*/ None,\n                        root_remote_auth_token_env.clone(),\n                    )?;\n                    #[cfg(not(unix))]\n                    anyhow::bail!(\"`codex agents` requires `--remote` on this platform\");\n                }\n                interactive.agents_overview = true;\n            }\n            let exit_info = run_interactive_tui(\n                interactive,\n                root_remote.clone(),\n                root_remote_auth_token_env.clone(),\n                arg0_paths.clone(),\n            )\n            .await?;\n            handle_app_exit(exit_info)?;\n        }\n        Some(Subcommand::Exec(mut exec_cli)) => {\n            reject_remote_mode_for_subcommand(\n                root_remote.as_deref(),\n                root_remote_auth_token_env.as_deref(),\n                \"exec\",\n            )?;","sourceCodeStart":1115,"sourceCodeEnd":1151,"githubUrl":"https://github.com/openai/codex/blob/339751715c64496cb86246bfb3935f40e309dd3d/codex-rs/cli/src/main.rs#L1115-L1151","documentation":"Error \"`codex agents` requires `--remote` on this platform\" thrown in openai/codex.","triggerScenarios":"Thrown at codex-rs/cli/src/main.rs:1133 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"339751715c64496cb86246bfb3935f40e309dd3d","analyzedAt":"2026-08-25T05:35:09.876Z","schemaVersion":2},"datasetVersion":"2026-08-25T06:17:31.827Z"}