Desk: Open-Source macOS CLI Workspace for Coding Agents
Desk is an open-source macOS application that provides a workspace for CLI coding agents, supporting integration with tools like Claude Code, Codex, and GitHub through environment variables and local authentication.
Installation and Setup
Installation of Desk, the open-source macOS workspace for CLI coding agents, begins with downloading the application via Terminal or manually from the latest release on GitHub. Using Terminal, run the command: curl -fL https://github.com/s-nish/desk/releases/latest/download/Desk.dmg -o ~/Downloads/Desk.dmg && open ~/Downloads/Desk.dmg. Alternatively, users can download Desk.dmg directly from the project's release page. Once downloaded, drag the Desk application to the Applications folder. After installation, users must sign in to their preferred coding agents, such as claude or codex. If the application was downloaded through a browser, macOS may prompt users to adjust privacy settings: navigate to System Settings ▸ Privacy & Security and select 'Open Anyway' to proceed.
Agent Integration and Configuration
Desk enables seamless integration with existing command-line agents by leveraging the tools users already have installed and configured. It supports a range of agents, including Claude Code, Codex, Gemini CLI, Cursor Agent, Grok, OpenCode, and GitHub, without requiring additional setup. Configuration is handled through environment variables and default folders, such as CLAUDE_CONFIG_DIR, CODEX_HOME, and GH_CONFIG_DIR, which Desk detects automatically upon launch. For authentication, Desk reads specific fields locally, such as oauthAccount.emailAddress from .claude.json and the email claim from Codex's auth.json, ensuring privacy by not transmitting sensitive information. This approach minimizes user friction while maintaining compatibility with existing workflows.
Workspace and Project Management
Desk provides a dedicated workspace and project management system tailored for CLI coding agents on macOS. When users check out or review someone else's pull request, Desk prompts for confirmation and marks the worktree as untrusted. Agents initiated in such contexts operate without the branch's specific settings, hooks, and MCP servers, using user-defined configurations and strict MCP settings. This ensures a secure and isolated environment for tasks like Claude Code planning and Codex execution, with a read-only sandbox for safety. The workspace interface includes a Home screen that displays all projects as cards, offering one-click access to Claude Code, Codex, and Shell sessions, along with recent conversations for quick reference.
User Interface and Customization
Desk’s user interface is designed with a focus on customization and visual clarity. It launches with a default theme featuring Electric: Midnight #02070A, Electric Blue #0297DE, and a subtle Cantaloupe #FC734D accent, complemented by serif headings and pill-shaped buttons. The Home screen includes an animated pixel-wave backdrop, adding a dynamic visual element. Users can choose from 12 original palettes and 6 neutral ones, with the option to apply individual colour overrides for personalized settings. The editor supports eight file colour themes, including Match Desk, VS Code Dark, GitHub Dark, Dracula, Nord, GitHub Light, Solarized Light, and Monochrome, allowing developers to tailor their workspace to their preferred coding environment. Smooth scrolling is also available for enhanced usability.
Development and Testing
The development and testing process for Desk involves a combination of command-line tools and automated testing frameworks. To begin, developers use npm install to set up dependencies, followed by npm run tauri dev for live-reloading during development. For building the final application, npm run tauri build generates the Desk.app and .dmg files in the src-tauri/target/release/bundle directory. Backend tests are executed with cd src-tauri && cargo test, covering components like terminal handling, account discovery, and file operations.
src-tauri/srccontains the Rust backend, including modules for terminal management, account discovery, and GitHub integration.srchouses the React-based UI, whileterminals.tsandeditors.tsensure that xterm.js and CodeMirror remain active outside React, preserving session state across tab and project switches.- The landing page is built using plain HTML, CSS, and JavaScript, and app state is saved to
~/Library/Application Support/Desk/state.json.
Sources and reporting notes
Based on published source material. No independent hands-on testing is claimed.