Skip to content
1l3othPublic

About

One desk for all your AI coding agents: a local app for their tasks, chats and work across your computers. By Vong Pichdaraboth. MIT License.

Resources

Contributing

Security policy

Stars

9 stars

Watchers

0 watching

Forks

Repository files navigation

Rex Desk

Rex Desk is a desktop workspace for your AI coding agents. It runs on your own computer and gives each agent its own chat. Agents read your projects, work through your tasks, ask you questions, show proof of what they tested and open pull requests when you approve. You can talk to them from your desk, or from your phone and other computers.

It works with the AI subscriptions you already have: Claude Code, Codex (ChatGPT) and Gemini (through Google's Antigravity CLI), or with a local model on your own computer (Ollama or any OpenAI-compatible server). Rex Desk never asks for or stores those sign-ins.

Rex Desk is free and open source under the MIT License, written and maintained by Vong Pichdaraboth.

Website: rexdesk.app (English and Khmer, with a demo you can click).

Made and maintained by Vong Pichdaraboth (vongpichdarabot@gmail.com). Rex Desk is free, open source software under the MIT License.

An agent finds a bug, asks one question as a card, and fixes it

Proof in the chat A group chat of project agents
An agent shares a screenshot and test output, and opens the changed lines beside the chat Three project agents answer in one room

Recorded in the real app with made-up demo projects.

Download

Get the newest build from the Releases page or from rexdesk.app. Rex Desk is in beta.

System File
Windows 10/11 (64-bit) Rex.Desk_<version>_x64-setup.exe (installer for you only, updates itself)
Windows, for IT or if .exe installers are blocked Rex.Desk_<version>_x64_en-US.msi (installs for every user on the computer; silent install: msiexec /i Rex.Desk_<version>_x64_en-US.msi /qn). Or Rex.Desk_<version>_x64-portable.zip: unzip it and run rex-desk.exe, no install needed
Linux x64, Ubuntu 22.04+ or Debian 12+ Rex-Desk_<version>_amd64.deb: sudo apt install ./Rex-Desk_<version>_amd64.deb
Linux x64, other distributions Rex-Desk_<version>_amd64.AppImage: chmod +x it and run it (needs FUSE 2, libfuse2 or libfuse2t64)
macOS (Apple Silicon) Rex.Desk_<version>_aarch64.dmg

The installers bundle Node.js and the Rex Desk server, so you don't need to install anything else to open the app.

How each one updates: the Windows .exe, the macOS app and the Linux AppImage update themselves (Settings, Updates). The .msi and the .deb are for IT: install the newer .msi or .deb over the old one (msiexec /i ... /qn, or sudo apt install ./....deb, or your deployment tool); your data stays. On Linux your data is in ~/.local/share/Rex Desk.

The installers are not code-signed yet. A Certum open-source code signing certificate is on its way; docs/CODE-SIGNING.md says what will be signed and how to check it. Until then your computer warns you the first time:

  • Windows: if SmartScreen says "Windows protected your PC", choose More info, then Run anyway.

  • Linux: there is no system warning. To check a file, compare its SHA-256 (sha256sum <file>) with the sha256 for it in https://downloads.rexdesk.dev/stable/latest.json.

  • macOS: open the .dmg and drag Rex Desk to Applications. The first time, right-click Rex Desk and choose Open. If macOS says the app is damaged, run this once in Terminal:

    xattr -cr "/Applications/Rex Desk.app"

If your antivirus blocks updates

Some antivirus programs (Kaspersky, for example) stop the silent update. The update card then says did not install and has an Install manually button that shows the installer in its folder. Either run that installer yourself, or add these to your antivirus exclusions (trusted programs) and press Try again:

  • The install folder, usually %LOCALAPPDATA%\Rex Desk, including rex-desk.exe in it.
  • The updates folder, updates inside your Rex Desk data folder (usually %APPDATA%\Rex Desk\updates; Settings, Folders shows where yours is). The downloaded Rex-Desk-<version>-setup.exe runs from there, started by Rex Desk's own node.exe in the install folder.

What happened is written to install-update.log in the updates folder.

Set up

  1. Install at least one AI tool and sign in to it:
    • Claude Code: run claude once and sign in.
    • Codex: run codex login.
    • Gemini: install the Antigravity CLI (winget install Google.AntigravityCLI on Windows) and sign in with your Google account.
  2. Install Git. Agents need it to work on your projects. The GitHub CLI (gh auth login) is only needed for opening pull requests.
  3. Open Rex Desk and sign in. Use a Rex Desk account (email and password, Google or GitHub), then create a password that locks your workspace on this computer. Rex Desk can't recover that password if you forget it.
  4. Follow the setup tour. It shows which AIs are ready and sets one up with a single button (it installs the tool, or Ollama and a starter model), lets you add your project folders, and installs Rex Desk's tools into your AI so agents can talk to you.
  5. Talk to the main agent, Rex. Ask it to meet your projects. It reads each one and creates a specialist agent for it, named like Project_bot. Agents don't need a code project: Rex can make one for writing, research or planning too.

What you can do

  • Chat with agents. Each project has its own agent and personal chat. Group chats bring several agents together, and Rex Agent can make a group chat or talk in one for you. A room can also sync text messages both ways with one allowed Telegram group through an agent bot in that room, with speaker labels and reply links. Media (photos, files, voice notes, stickers) is not synced, and one Telegram group links to one room at a time. For all incoming group text messages beyond bot mentions and replies, make the bot a group admin or disable Group Privacy in @BotFather. You can switch an agent between Claude, Codex, Gemini and Local AI and choose the model, effort and permission mode under the message box.
  • Split view and quick search. Put up to four chats side by side. Press Ctrl+K (Cmd+K on a Mac) to jump to any chat, agent, task or setting.
  • Background jobs. An agent can hand a slow job to a quick helper and keep talking to you; the result shows up in the chat.
  • Tasks. Keep tasks in Rex Desk, or connect a tracker such as Orbit. Hand a task to an agent and it does the work in its own chat or group.
  • Approvals and questions. Agents ask before risky steps, and their questions appear as cards in the chat. Dangerous mode lets them run without asking.
  • Proof. Agents share test output, screenshots and screen recordings in the chat, and they explain their changes on picture pages.
  • Worktrees. Each chat has a Worktrees tab that shows the branches and changed files agents work in.
  • Files. Agents can open a file beside the chat with the lines they mean highlighted. The file window moves out of the way while you type.
  • Voice. Hold Space to dictate in English, Korean or Khmer with a speech model that runs on your computer, and have replies read aloud while they are written. Voice mode lets you talk hands-free with an agent: a badge says when it is listening, thinking or speaking.
  • Local AI. Agents can run on a model on your own computer, through Ollama (with downloads from its library and Hugging Face) or any OpenAI-compatible server.
  • Looks. Settings → General → Look has themes that are their own worlds (Midnight, Cyberpunk, Gojo, Crayon, Sakura, Forest, Sunset), each in light and dark.
  • Computer control (Jev). You can tell your computer what to do by voice or text: open apps, change the volume or Wi-Fi, lock it, and so on. See docs/COMPUTER-CONTROL.md.
  • Phone and other computers. Over Tailscale, you can open Rex Desk from your phone with a QR code (Settings → Devices and phone).
  • Long chats. When a chat's context gets nearly full, the agent writes itself a handoff note and continues in a fresh session.

Your data

  • Everything is saved on your own computer: %APPDATA%\Rex Desk on Windows and ~/Library/Application Support/Rex Desk on macOS. Keys and tokens are encrypted.
  • Each account on a computer has its own locked workspace, and other accounts can't read it.
  • What you send to an agent (code, tasks, messages) goes to the AI service you chose for that agent.
  • Rex Desk's server only listens on your own computer (127.0.0.1:4317). Your phone reaches it through your private Tailscale network.
  • Rex Desk collects no analytics. The services it talks to are listed in docs/CODE-SIGNING.md.

Cloud backup (optional)

Rex Desk works fine without it. Cloud backup copies your workspace to a private database that belongs to your Rex Desk account, so it's safe if your computer breaks and you can open the same workspace on another computer.

  • Turn it on: Settings → Backup and updates. Choose what goes to the cloud; Rex Desk makes the database and renews its key by itself.
  • On a new computer: sign in with the same Rex Desk account and enter your workspace password. Rex Desk finds the backup and restores it.
  • Your own database: start Rex Desk with the environment variable REX_DESK_OWN_DATABASE=1 to back up to your own Turso database instead.

Run from source

You need Node.js 24 or newer and Git.

git clone https://github.com/1l3oth/rex-desk.git
cd rex-desk
npm ci
npx playwright install chromium
npm start

Then open http://127.0.0.1:4318 (a checkout runs as development on 4318; the installed app is the real Rex Desk on 4317). Use npm run dev to restart on every change. A source checkout updates itself: when new commits reach its branch and no agent is working, it pulls them and restarts.

To test screens in a dev or test copy without the first-run setup or the Rex Desk account sign-in, start it with REX_DEV_SKIP_SETUP=1. The installed app ignores it, it saves nothing, and it does not connect an AI. An agent inside Rex Desk inherits the app's REX_DESK_EXE and REX_DESK_VERSION, which turn the switch off: start the copy without them (env -u REX_DESK_EXE -u REX_DESK_VERSION).

Google Drive connector (OAuth setup)

Google OAuth does not support dynamic client registration, so the Google Drive connector (Settings → Connectors → Add connector) reads a pre-registered Google Cloud OAuth client from environment variables on the computer running Rex Desk (client secrets are never stored in public/connectors/catalog.json):

Variable Required Default / notes
REX_GOOGLE_OAUTH_CLIENT_ID Yes OAuth 2.0 Client ID from Google Cloud Console
REX_GOOGLE_OAUTH_CLIENT_SECRET Yes OAuth 2.0 Client Secret from Google Cloud Console
REX_GOOGLE_OAUTH_SCOPES No Space- or comma-separated scopes. Defaults to https://www.googleapis.com/auth/drive.readonly openid email

To configure a Google Cloud OAuth client:

  1. In Google Cloud Console, create or select a project and enable the Google Drive API.
  2. Configure the OAuth consent screen (for external users outside Testing mode, Google requires OAuth verification for restricted Drive scopes; while testing, add your Google account under Test users).
  3. Under Credentials → Create Credentials → OAuth client ID, choose Desktop app (Desktop apps support Rex Desk's loopback http://127.0.0.1:<port>/callback redirect).
  4. Set REX_GOOGLE_OAUTH_CLIENT_ID and REX_GOOGLE_OAUTH_CLIENT_SECRET in the environment before starting Rex Desk, then connect Google Drive in Settings → Connectors.

Build the installers

The Desktop installers workflow (.github/workflows/desktop.yml) builds the Windows .exe, .msi and portable .zip, the macOS .dmg and the Linux .deb and .AppImage on GitHub. Its try job then installs the Windows and Linux packages on clean GitHub machines, opens them and checks that the server answers; on Windows it also upgrades the version people have now to the new one, for the .exe and the .msi. Start it from the Actions tab with Run workflow and fill in:

  • channel: beta for a test release, stable for everyone, none to only build.
  • version: like 0.3.0. Leave it empty to use the version in desktop/src-tauri/tauri.conf.json.
  • notes: what changed, shown in Settings → Updates.

The run signs the Windows installer with the release key, uploads every file to the downloads bucket under releases/<version>/, then replaces <channel>/latest.json, the small file installed apps read. It finishes by downloading the release back and checking the signature, so a run that ends green is a release people can install. Installed apps (Windows, and macOS on Apple Silicon) download it within six hours, or at Settings → Updates → Check now, then show a card with what changed and a Restart to update button. To follow test releases, start Rex Desk with the environment variable REX_UPDATE_CHANNEL=beta.

The bucket is Cloudflare R2 or AWS S3; the secrets and variables the workflow needs are listed at the top of the workflow file. node scripts/release-desktop.mjs --files <folder> stages and signs the same release on your computer without uploading.

To build on your own computer (you need Rust; on Windows, also the MSVC build tools):

npm ci
npm ci --prefix desktop
npm run build --prefix desktop

Test

npm test
npm run test:browser

npm test runs every test/*.test.js. The browser test drives the real interface against fake agents, so it uses no AI credits and pushes nothing.

Contributing

Read docs/ONBOARDING.md to get started and CONTRIBUTING.md for how changes are made. Please send outside contributions as pull requests. Report security problems privately, as SECURITY.md says.

License and author

Rex Desk is released under the MIT License. Copyright (c) 2026 Vong Pichdaraboth, who writes and maintains it (1l3oth on GitHub, vongpichdaraboth.com).

Author and licence

Rex Desk is made and maintained by Vong Pichdaraboth. It is open source under the MIT License.

About

One desk for all your AI coding agents: a local app for their tasks, chats and work across your computers. By Vong Pichdaraboth. MIT License.

Resources

Contributing

Security policy

Stars

9 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages