Caricamento in corso...
Caricamento in corso...
Last synced: Today, 22:00
Technical reference for the OpenClaw framework. Real-time synchronization with the official documentation engine.
Use this file to discover all available pages before exploring further.
Computer Use is a Codex-native MCP plugin for local desktop control. OpenClaw does not vendor the desktop app, execute desktop actions itself, or bypass Codex permissions. The bundled
codexcomputer-useUse this page when OpenClaw is already using the native Codex harness. For the runtime setup itself, see Codex harness.
OpenClaw.app's Peekaboo integration is separate from Codex Computer Use. The macOS app can host a PeekabooBridge socket so the
peekabooUse Peekaboo bridge when you want OpenClaw.app to be a permission-aware host for Peekaboo CLI automation. Use this page when a Codex-mode OpenClaw agent should have Codex's native
computer-useThe iOS app is separate from Codex Computer Use. It does not install or proxy the Codex
computer-usecanvas.*camera.*screen.*location.*talk.*Use iOS when you want an agent to drive an iPhone node through the gateway. Use this page when a Codex-mode agent should control the local macOS desktop through Codex's native Computer Use plugin.
Codex Computer Use is not the only way to expose desktop control. If you want OpenClaw-managed runtimes to call TryCua's driver directly, use the upstream
cua-driver mcpAfter installing
cua-driverbashcua-driver mcp-config --client openclaw
or register the stdio server yourself:
bashopenclaw mcp set cua-driver '{"command":"cua-driver","args":["mcp"]}'
That path keeps the upstream MCP tool surface intact, including the driver schemas and structured MCP responses. Use it when you want the CUA driver available as a normal OpenClaw MCP server. Use the Codex Computer Use setup on this page when Codex app-server should own plugin installation, MCP reloads, and native tool calls inside Codex-mode turns.
CUA's driver is macOS-specific and still requires the local macOS permissions that its app prompts for, such as Accessibility and Screen Recording. OpenClaw does not install
cua-driverSet
plugins.entries.codex.config.computerUsejson5{ plugins: { entries: { codex: { enabled: true, config: { computerUse: { autoInstall: true, }, }, }, }, }, agents: { defaults: { model: "openai/gpt-5.5", agentRuntime: { id: "codex", fallback: "none", }, }, }, }
With this config, OpenClaw checks Codex app-server before each Codex-mode turn. If Computer Use is missing but Codex app-server has already discovered an installable marketplace, OpenClaw asks Codex app-server to install or re-enable the plugin and reload MCP servers. On macOS, when no matching marketplace is registered and the standard Codex app bundle exists, OpenClaw also tries to register the bundled Codex marketplace from
/Applications/Codex.app/Contents/Resources/plugins/openai-bundledExisting sessions keep their runtime and Codex thread binding. After changing
agentRuntime/new/resetUse the
/codex computer-usecodexopenclaw codex ...text/codex computer-use status /codex computer-use install /codex computer-use install --source <marketplace-source> /codex computer-use install --marketplace-path <path> /codex computer-use install --marketplace <name>
statusinstallOpenClaw uses the same app-server API that Codex itself exposes. The marketplace fields choose where Codex should find
computer-use| Field | Use when | Install support |
|---|---|---|
| No marketplace field | You want Codex app-server to use marketplaces it already knows. | Yes, when app-server returns a local marketplace. |
text marketplaceSource | You have a Codex marketplace source app-server can add. | Yes, for explicit text /codex computer-use install |
text marketplacePath | You already know the local marketplace file path on the host. | Yes, for explicit install and turn-start auto-install. |
text marketplaceName | You want to select one already registered marketplace by name. | Yes only when the selected marketplace has a local path. |
Fresh Codex homes may need a short moment to seed their official marketplaces. During install, OpenClaw polls
plugin/listmarketplaceDiscoveryTimeoutMsIf multiple known marketplaces contain Computer Use, OpenClaw prefers
openai-bundledopenai-curatedlocalmarketplaceNamemarketplacePathRecent Codex desktop builds bundle Computer Use here:
text/Applications/Codex.app/Contents/Resources/plugins/openai-bundled/plugins/computer-use
When
computerUse.autoInstallcomputer-usetext/Applications/Codex.app/Contents/Resources/plugins/openai-bundled
You can also register it explicitly from a shell with Codex:
bashcodex plugin marketplace add /Applications/Codex.app/Contents/Resources/plugins/openai-bundled
If you use a nonstandard Codex app path, set
computerUse.marketplacePath/codex computer-use install --source <marketplace-source>Codex app-server can list and read remote-only catalog entries, but it does not currently support remote
plugin/installmarketplaceNamemarketplaceSourcemarketplacePathIf status says the plugin is available in a remote Codex marketplace but remote install is unsupported, run install with a local source or path:
text/codex computer-use install --source <marketplace-source> /codex computer-use install --marketplace-path <path>
| Field | Default | Meaning |
|---|---|---|
text enabled | inferred | Require Computer Use. Defaults to true when another Computer Use field is set. |
text autoInstall | false | Install or re-enable from already discovered marketplaces at turn start. |
text marketplaceDiscoveryTimeoutMs | 60000 | How long install waits for Codex app-server marketplace discovery. |
text marketplaceSource | unset | Source string passed to Codex app-server text marketplace/add |
text marketplacePath | unset | Local Codex marketplace file path containing the plugin. |
text marketplaceName | unset | Registered Codex marketplace name to select. |
text pluginName | text computer-use | Codex marketplace plugin name. |
text mcpServerName | text computer-use | MCP server name exposed by the installed plugin. |
Turn-start auto-install intentionally refuses configured
marketplaceSource/codex computer-use install --source <marketplace-source>autoInstallmarketplacePathOpenClaw reports a stable setup reason internally and formats the user-facing status for chat:
| Reason | Meaning | Next step |
|---|---|---|
text disabled | text computerUse.enabled | Set text enabled |
text marketplace_missing | No matching marketplace was available. | Configure source, path, or marketplace name. |
text plugin_not_installed | Marketplace exists, but the plugin is not installed. | Run install or enable text autoInstall |
text plugin_disabled | Plugin is installed but disabled in Codex config. | Run install to re-enable it. |
text remote_install_unsupported | Selected marketplace is remote-only. | Use text marketplaceSourcetext marketplacePath |
text mcp_missing | Plugin is enabled, but the MCP server is unavailable. | Check Codex Computer Use and OS permissions. |
text ready | Plugin and MCP tools are available. | Start the Codex-mode turn. |
text check_failed | A Codex app-server request failed during status check. | Check app-server connectivity and logs. |
text auto_install_blocked | Turn-start setup would need to add a new source. | Run explicit install first. |
The chat output includes the plugin state, MCP server state, marketplace, tools when available, and the specific message for the failing setup step.
Computer Use is macOS-specific. The Codex-owned MCP server may need local OS permissions before it can inspect or control apps. If OpenClaw says Computer Use is installed but the MCP server is unavailable, verify the Codex-side Computer Use setup first:
computer-useOpenClaw intentionally fails closed when
computerUse.enabledStatus says not installed. Run
/codex computer-use install--source--marketplace-pathStatus says installed but disabled. Run
/codex computer-use installStatus says remote install is unsupported. Use a local marketplace source or path. Remote-only catalog entries can be inspected but not installed through the current app-server API.
Status says the MCP server is unavailable. Re-run install once so MCP servers reload. If it remains unavailable, fix the Codex Computer Use app, Codex app-server MCP status, or macOS permissions.
Status or a probe times out on computer-use.list_apps
A Computer Use tool says Native hook relay unavailable
/new/resetTurn-start auto-install refuses a source. This is intentional. Add the source with explicit
/codex computer-use install --source <marketplace-source>© 2024 TaskFlow Mirror
Powered by TaskFlow Sync Engine