Download the signed DMG for Apple Silicon or Intel. Open it, drag OX Desktop onto Applications, then launch OX Desktop from Applications.
While OX Desktop is open, it checks its release channel in the background, verifies each update, and restarts when local agents are idle. The app, session host, bundled phone interface, and CLI update together. The DMGs linked above follow the rolling dev release.
Use Settings → Appearance & input → OX updates → Check manually to turn off automatic installation. To check on demand, go to Settings → Accounts → Check for updates. If macOS prevents OX from replacing the app in Applications, move it to the Applications folder in your home folder and open it there. If your copy predates automatic updates, replace it once with the app from the latest DMG.
The rolling dev release is published after a successful build of main. Once its assets include ox-desktop-linux-* and ox-desktop-macos-*, the installer can choose the right package for Linux x86-64 or ARM64, Intel macOS or Apple Silicon. Dev release and assets
curl -fsSL https://raw.githubusercontent.com/oxstack/ox/main/install.sh | sh -s -- --dev --desktop
ox desktop .Run the launch command from the project you want to open, or pass a directory such as ox desktop ~/Work/my-project. The installer verifies the archive checksum, installs ox, ox-desktop and ox-host under ~/.local/bin by default, and adds OX Desktop to your Linux launcher or macOS ~/Applications. Follow the installer's PATH hint if your shell cannot find ox.
Installer-managed copies of OX Desktop and the headless session host check for releases in the background. Desktop offers Restart to update after it has verified the entire package. Later keeps the current release running. Open Settings → Accounts → Restart to update to see the prompt again. From a terminal, ox update applies the staged release or downloads one. Older desktop installations need one more run of the installer above to enable this behavior.
The desktop, session host, phone interface and CLI switch together. A running host allows up to ten minutes for active turns to finish. Turns still running at the deadline can be interrupted. Paired phones reconnect to the updated host. Use ox host doctor to check the running host version.
On a fresh install, OX Desktop opens the Codex route. If Codex is unavailable and an API model is saved, Desktop selects that model on the Codex route. You can choose Claude Code from the workbench. Restoring a Claude project, browsing its history and composing a draft use local data. Sending a turn or starting a Claude worker launches the stock client. If something is missing, the card in the middle shows the next step: a Codex, Claude Code or API key switch, then Install, Update or Sign in, plus Configure an API provider and, when the other CLI is installed, Use installed … instead. OX runs the official CLIs on your computer, also for API models. While you install or sign in, the card checks every couple of seconds and opens the workspace by itself. Check connection is the fallback. Saving a provider switches the window to its first new model. When the project is your home directory, Choose project folder… opens the folder picker.
Install the stock CLI for the routes you want to use. Desktop tests Codex and Claude Code against the versions in gate.toml. An older reported version produces a warning during initialization. Features depend on the protocol the installed client supplies. Open an existing thread from the sidebar, or choose New session and send a prompt with Enter.
Open a project and choose a runtime and billing route in the header. Codex can use your ChatGPT subscription, Claude Code can use your Claude subscription, and either runtime can use an OX API alias. Each alias uses its configured provider account. The sidebar lists saved Codex and Claude conversations across projects and billing routes. Open Commands → Refresh sessions to pick up conversations created in a terminal while Desktop is open. Switching projects keeps running turns and approvals attached to their originating project. Select a session to resume its thread in the original profile.
On a host that stores projects, the sidebar groups sessions by the projects defined there, not by every folder an agent ran in. A project has a name, an optional GitHub repository, one or more folders and its worker rules. A session belongs to the project whose folder contains its working directory most closely, so a project with several folders is one group. Pinned projects sit right below the pinned threads, above your sections; the other projects with sessions follow. Sessions outside every project share one Recent · no project group, newest first, and each row names the folder it ran in. Right-click such a session for Make project from this folder or Add folder to project. Right-click a project header to pin it, which the phone shows too, or for Edit project…, colour and order. New thread under New session starts a session in a folder the host makes for it, outside every project, and New project opens the project editor. The command palette offers both. New thread starts on the host's default route for new threads when it offers it, otherwise on the route you are using or used last; when none of those is available it says why and asks. With… beside it, New thread with… on Projects and the palette's New thread with … entries choose the route first, and on a host that stores a default, With… → Use as default for new threads sets or clears it. Settings → New threads shows and changes the same default per host. Before the first message, the AGENT picker switches a new thread's harness and provider in the same folder. In a started conversation a different harness or billing starts a new session, or Continue in… carries the conversation over; a model on the same route changes in place. A host without projects keeps one header per folder with local stars.
With paired hosts, Projects lists the defined projects, pinned first. Projects with the same repository on several hosts share one row; New session asks which folder and host to use. Edit renames a project, sets or clears its repository, adds or removes folders, pins it, edits its worker rules or deletes it. Deleting removes only the definition; sessions and files stay. A refusal from the host appears in the editor. If another device changed the projects first, the editor reads them again and keeps what you typed, so Save retries. A nested project inherits each worker rule it does not set from the project around it. Folders no project owns are not listed. When a host cannot read its projects file, Projects and the sidebar, under New project, show the host's sentence for it. On a host that can repair the file, Repair projects file (also in the command palette) keeps a backup copy of the current file on the host and recovers every project it can; the host's notes about the backup and anything it dropped stay where you repaired until you dismiss them. Until then the host refuses other project edits, and the editor shows that refusal. The Start worker sheet starts on the project's default route when its host offers it. It still lists every host and route, and shows the project's guardrails as a note: they bind workers an agent starts, not a worker you start yourself.
In Settings → Accounts, sign in through stock Codex or Claude Code, or choose Configure provider. Pick a service or Custom, enter its endpoint and protocol, and use the Models section for static model IDs and capability overrides. Save provider opens API keys, where you can enter, rotate or remove a destination-bound key. Configure Brave under Web search. Exported keys take precedence. Starred models sets only the order: starred models appear first, and any model can be used. If Codex selects a legacy custom provider, its tab lets you edit the model and relay connection in place. Changes apply to new client launches. For a new Claude subscription profile, choose Sign in with Claude and complete the stock client’s sign-in. Return to the workbench to connect.
Use Test saved connection to list coding models at one provider’s endpoint. Advanced configuration opens text editors for the provider registry, favorites and the selected legacy connection. Private and unrecognized registry fields stay in the original file. A changed-on-disk notice keeps your unsaved text or native form edits available for review and retry.
Desktop starts the packaged OX session host on first use. Close and reopen the window to reconnect to an active turn or pending request. Run ox host status to see whether the host is running, the local socket and state paths, and whether it starts at login. Run ox host install to start it at login through systemd on Linux or launchd on macOS. Use ox host uninstall to remove that login service; sessions, pairings and Codex and Claude Code data stay. ox host uninstall --purge also deletes OX's host state. ox host doctor checks the host, Tailscale Serve, paired devices and the stock clients, and names the fix for anything blocking.
- Connect the laptop and phone to Tailscale. In Settings → Remote access on the laptop, select Enable Tailscale Serve (if HTTPS port 8443 already serves another application, enter a different Tailscale HTTPS port or run
ox host pair --port <port>). If Serve asks for administrator access, choose Run in OX terminal, check the command and run it. Type your password at the terminal prompt. OX checks the resulting mapping before it offers a pairing QR. - Install OX Mobile on your phone. On the laptop, choose Pair a device.
- In OX Mobile, choose Scan pairing QR code, allow the camera, and scan the laptop screen. You can also paste the invitation or enter the host address and code. Each installation has its own entry in Remote access.
- On iPhone, use Host settings → Notifications to turn alerts on. See the native guide for first use and Android setup.
The phone and desktop show live sessions across projects. The phone groups consecutive tool calls into one collapsed row. Tap the count, then a specific call, to read its command and output. Assistant replies render headings, lists, tables and code inline. Start a thread on either device, then open its row on the other to follow the same reply, answer an approval, steer a worker or press Stop. The session settings use the runtime’s confirmed mode, including YOLO. Your selection on one screen stays independent of what you open on the other. Device revocation and disabling remote access take effect on open connections. Tailscale Serve
When OX Desktop is in the background, a session alert names the host. Click it to open the thread on that host. Open Settings → Notifications to choose alerts for approvals, questions, finished turns, completed Codex goals and failures. If you enable both turn and goal alerts, a turn that completes a goal sends one goal alert. The switches apply to this computer. Turn on Include thread titles if you want them in OS notifications. Turn on Include request and result details to show what an alert is about, and Allow once or deny from the notification to answer an approval from its alert; the buttons appear only for a request that offers exactly “allow once” and “deny”. On Wayland, clicking an alert selects the thread, and the compositor determines whether to switch to the OX workspace.
In OX Mobile, Home lists the host's projects and recent threads. Host settings manages accounts, credentials, providers, and advanced configuration. Run ox help settings for the same map from the CLI. OX Mobile guide
Terminal access is per device. On the laptop, open Settings → Remote access, find the paired phone and select Allow terminal access. In OX Mobile, choose Host terminal in Host settings or Project terminal on the project's Sessions screen. Review the program and folder, then tap Run. Commands are visible as you type. When the terminal switches off echo for a password prompt, OX masks the field. Show and Hide change the display on your phone for that prompt. Input goes directly to the terminal and stays out of agent transcripts. Closing the terminal, revoking the phone, or choosing Disable terminal access on the laptop closes that terminal session. Existing and newly paired devices start with terminal access off.
Terminal processes keep the stock client configuration directories (CODEX_HOME and CLAUDE_CONFIG_DIR). Store API keys for resumed sessions in OX Settings. The host keeps its shell credentials and control socket out of the terminal environment.
To use the laptop terminal from the desktop, open the command palette and choose Open project terminal. A suggested shell command can also offer Review in terminal. Check the command and directory, then explicitly start it. A native approval handoff first declines the original tool action so it runs only once. Input and output belong to the terminal window.
If you cannot install OX Mobile, open the private HTTPS Serve address on your phone. On iPhone, use Safari’s Share → Add to Home Screen and enable Open as Web App if shown. Open the installed web app, choose Scan pairing QR, and scan a fresh invitation. Its pairing is separate from Safari and OX Mobile. For browser push, open Settings → Notifications → Enable on this device. On iPhone, browser push requires an installed Home Screen app and iOS 16.4 or later. Apple’s Home Screen instructions · WebKit Web Push guide
Settings → Appearance & input controls the theme source, text size, animation and Enter behavior. With Enter selected, Shift+Enter inserts a line break. Drag the sidebar or review divider to resize it. OX restores the window size, pane widths, open projects and selected thread on restart.
On Omarchy, OX reads the active desktop palette and follows theme changes while the window is open. A running pixel ox marks history loads. During a turn, the activity sprite changes as the agent thinks, writes, uses tools or runs a worker. Omarchy’s disabled-animations toggle or OXA_REDUCED_MOTION=1 keeps the sprites still. Click a tool row or thinking summary to see its details. A code card shows the language and offers Copy.
With Theme source → System selected, you can override the Desktop palette by saving theme.toml beside preferences.json. The directory is $XDG_STATE_HOME/ox/desktop when set, otherwise ~/.local/state/ox/desktop on Linux or ~/Library/Application Support/ox/desktop on macOS.
background = "#18202e"
foreground = "#eaf1ff"
accent = "#92bcf5"Desktop applies valid changes while your sessions run. A malformed file or unreadable foreground/background pair keeps the last working palette. Remove the file to return to the system palette, or choose Light or Dark to use the built-in theme.
Live weather follows the system timezone by default and sends only that timezone's city-level coordinates to MET Norway. Use my location asks the desktop's location portal for a city-level position. On Linux the portal needs GeoClue and Location Services turned on; on Omarchy or Arch, install geoclue and run gsettings set org.gnome.system.location enabled true. macOS asks for Location Services permission the first time. If the system refuses the request, Settings names what is missing and you can enter latitude and longitude instead.
The permissions picker in the composer applies to the selected Codex thread. Choose Read only, Workspace, Auto-review, or YOLO. YOLO grants full filesystem and network access and runs commands without approval. A burning ox marks that mode after Codex accepts it. Switch back in the same picker.
Subagents and OX workers appear beneath the session that started them. Click a child to see its activity, send an instruction, or stop it. Click the parent to return to the conversation. Saved OX jobs from a previous process show their recorded activity. Live OX controls reconnect through the session host.
Press Enter to send a message or Shift+Enter for a new line. Change this under Settings → Appearance & input. Select the token count below the composer to inspect the session’s context window, token breakdown and reported account limits.
Open the command palette with Ctrl+K on Linux or Cmd+K on macOS. Search for a thread, recent project, billing route or Codex command. Results include their project and route. Use the arrow keys and Enter to open a result, or Escape to return to your draft. Keyboard reference
Type @ and part of a filename to search the current project with Codex. Use the arrow keys to choose a path and Tab to insert it. Paste a PNG, JPEG, GIF or WebP from the clipboard, or drag an image file onto the composer. The attachment stays with the draft until the turn or steering instruction is accepted. If a model reports text-only input, choose another model or remove the image before sending.
The composer, command palette, and ordinary Settings text fields support native input-method composition. The credential control accepts directly typed or pasted printable ASCII API tokens. It masks the token and keeps it out of copy, cut and undo history.
Select Claude subscription or Claude Code · OX API to start a conversation. The workbench uses the installed Claude Code stream controls. Each open Claude session has its own process. Send during a turn to steer it, use Stop to interrupt it, and use the request badge to answer a background approval. Expand a parent session to read its subagent activity. Thread actions → Fork thread opens an independent session on the same billing route.
The permission menu offers Claude’s Default, Auto, Plan, Accept edits, and YOLO · bypass permissions modes. Default follows your permission rules and asks when approval is needed. Auto lets Claude review eligible actions. If your configuration disallows Auto, the picker shows the reason and keeps the previous mode. Choose YOLO in the composer to skip tool approvals for that Claude session. The flame lights when Claude confirms bypass mode and stays static with reduced motion. Check the confirmed permission mode in the composer. The host can apply a saved starting mode to new sessions.
Type / for commands available from the installed client. Claude Code supplies its built-in commands and project skills when the session starts. For example, use /goal or /effort when your installed version advertises them. Choose a model beside the message box or type /model sonnet. Model changes on the current subscription or within the same configured API provider keep the conversation and session ID. Use /terminal to continue an idle session in the stock terminal, on the same route and in the same directory. OX reads stock’s session journals to display history. It stores API alias associations in its own desktop state directory. When an older journal has no recorded alias, select its original alias to resume.
Sign in to your Google account on the host, then choose Antigravity in the route picker. The composer uses the models and modes reported by Antigravity. Choose YOLO before launch to use Antigravity's process-wide approval bypass. Use Stop to cancel a turn and the request badge to answer an approval. Select a saved session in the sidebar to load its history through ACP. Antigravity host setup
To continue a Codex or Claude Code plan, choose Continue in… → Antigravity. OX carries the latest visible plan with the selected source messages. The source and target are linked in the sidebar. Handoff details
For advice in the current Codex or Claude thread, see one-turn Antigravity reviews.
In a trusted project on the computer running OX Desktop, open Agent → Run with → OpenCode and choose a configured OX API model. The host checks the installed OpenCode server before accepting a prompt. Paired devices use the other hosted runtimes. Hosted OpenCode route and checks
Type / in the desktop or phone composer to see commands for the installed Codex and the selected route. Use /goal <objective> to set a goal, /goal to view it, and /goal pause, /goal resume, or /goal clear to manage it. Use /speed to see service tiers offered by the active model. Selecting a tier applies it to subsequent turns in that thread. The menu also offers session actions such as /new, /resume, and /compact. Use /model or the model selector beside the message box to change the model. On the phone, a terminal-only command can be opened in the native session terminal when the paired device has terminal access.
Use /terminal to open the stock CLI’s complete live command menu. For a command the desktop does not implement, Copy command and open stock Codex opens the same project, billing route and thread, then copies the command. Paste it into the native composer for Codex to interpret. Close that CLI session before reconnecting in the desktop.
Native session names appear in the sidebar. With automatic titles enabled, Desktop requests a short title for a new unnamed conversation from the same model through its current billing route. The opening message supplies the title prompt and the extra request uses that route’s allowance. To name an older unnamed conversation, open it and choose Thread actions → Generate title. Existing sessions are indexed without model calls.
Use Thread actions to rename, fork, archive, or search a conversation. A fork opens as a separate thread in the same project and billing route. Archive asks for confirmation. The changes pane groups patches by file and shows the plan for the selected turn. Use its copy actions to take a single patch or the full diff.
Right-click a message to copy its Markdown source or an individual code block. In Find in transcript, enter a phrase and move between matching rows with Next and Previous. The Copy menu also works from a search result. When the loaded history contains no match, Next continues into earlier pages. Thread actions also lets you expand or fold details and toggle thinking summaries.
Codex owns the thread history, approval requests and ChatGPT session. The session host reads and updates them through the stock app-server. It connects each project and billing route to its own server so tool calls run in the selected directory. The OX companion handles provider configuration, saved API keys and OX workers.
OX stores its desktop state under $XDG_STATE_HOME/ox/desktop when that variable names an absolute directory. Defaults are ~/.local/state/ox/desktop on Linux and ~/Library/Application Support/ox/desktop on macOS. Workspace, layout and preferences use separate JSON files. Saved provider keys stay in OX’s credential store.
Download the artifact for your OS and architecture from the OX Desktop workflow. Each archive includes the matching desktop app, session host and CLI. Use the artifact from the branch and commit you intend to test.
- On macOS, open the DMG and drag OX Desktop onto Applications. Artifacts from the package job are ad hoc signed and intended for testing. The release downloads and the
ox-desktop-signed-macos-*artifacts use Developer ID signing and Apple notarization. Terminal may request Automation permission for native sign-in or a terminal handoff. - On Linux, extract the tarball and run
./ox-desktop/ox-desktop. Keep all three executables in the extracted directory. Linux builds target glibc 2.39 or later and use Wayland or X11 with a Vulkan-capable driver. The tarball contains its shared library requirements inshared-libraries.txt.
Install stock Codex or Claude Code for each route you intend to use. A desktop launch searches your PATH, user-local binaries and the standard Homebrew locations. If you use a different installation directory, start the desktop executable from a shell with the CLI on PATH.
To install a checked workflow artifact locally, download and unzip the GitHub artifact for your platform. From this checkout, point the installer at the directory containing the Linux tarball or macOS ZIP and its sibling .sha256 file.
OX_INSTALL_BASE_URL="file://$PWD/desktop/dist" sh install.sh --desktop
ox desktop ~/Work/my-projectInstall Rust 1.100 or later. On macOS, install Xcode and the Metal toolchain. On Linux, install the native development libraries listed in the desktop workflow. From the repository root:
desktop/package.shThe host-native archive appears in desktop/dist. To run a development build, build the app, host and gateway in the same target directory:
cargo build --locked --bin ox --target-dir desktop/target
cargo build --locked --manifest-path desktop/Cargo.toml -p ox-host -p ox-desktop
./desktop/target/debug/ox desktop .Run desktop tests with cargo test --workspace --locked --manifest-path desktop/Cargo.toml.
The desktop workflow attaches the matching performance probe alongside each application package. Use the probe from the same commit to reproduce the performance measurements. The stock Codex checks cover billing-route isolation, worker directories, approvals and session recovery.
To run the stock-client integration tests, point the fixture at your built OX and installed Codex binaries. For a mise installation, use mise which codex to resolve the binary outside the test home. The fixture runs in temporary homes and sends inference requests to local test servers.
OX_TEST_OX_BIN="$PWD/desktop/target/debug/ox" CODEOX_TEST_CODEX_BIN="$(command -v codex)" \
cargo test --locked --manifest-path desktop/Cargo.toml views::workbench::tests::stock_session -- --ignored --exactOn Linux, keyboard_window.py starts a private Sway compositor, D-Bus session and fcitx5 Pinyin input method. It exercises the packaged GUI against stock Codex and a loopback provider. Install Sway, wtype, wl-clipboard, fcitx5 with Pinyin, D-Bus, busctl and the Vulkan driver used by GPUI.
python3 desktop/tests/keyboard_window.py desktop/target/debug/ox-desktop "$(mise which codex)"Append --gtk-drop to drag a PNG from a GTK 3 window into the composer. Install the Python GObject bindings for GTK 3 and build ox-desk-probe beside the GUI. If the probe lives elsewhere, use --gtk-drop /path/to/ox-desk-probe.
On the host, set extra arguments or environment variables for hosted Codex and Claude sessions in ~/.config/ox/stock-clients.json (or $XDG_CONFIG_HOME/ox/stock-clients.json). Each argument is a separate JSON string. For example:
{
"codex": {"args": ["--profile", "work", "-c", "model_reasoning_effort=\"high\""]},
"claude": {"args": ["--add-dir", "/work/shared", "--mcp-config", "/home/me/mcp.json"], "env": {"EDITOR": "vim"}}
}Restart the hosted client to apply changes. OX reserves its session and billing environment. Claude workers retain their explicit launch contract.