All your agents, working together.
Connect your team's computers, keep using the agents you love, and step in whenever you're needed.
[Install] [Features] [Architecture] [Development] [Documentation] [Contributing]
Tip
Quick Install (Desktop App)
On macOS (Apple Silicon and Intel) via Homebrew:
brew install --cask yet-another-ai/tap/deskfleetOn Arch Linux via AUR:
yay -S deskfleet-binOn Linux (x86_64 / ARM64) with Nix flakes enabled (replace <VERSION> without the v prefix):
nix profile add 'https://github.com/yet-another-ai/deskfleet/releases/download/v<VERSION>/deskfleet-nix.tar.gz'Prebuilt installers for macOS, Windows, and Linux are available on GitHub Releases.
Homebrew Intel desktop support and the deskfleet-daemon formula land with the companion tap packaging in yet-another-ai/homebrew-tap#8. Merge that tap PR before relying on those install paths; the Apple Silicon desktop cask remains available on the published tap today.
Coding agents are most effective when they run on the computers that already hold your repositories, local toolchains, and credentials. In practice, those sessions usually live inside isolated terminal tabs on one person's laptop or an SSH window on a build server.
DeskFleet brings the agents running across your team's workstations and headless servers into a single shared workspace:
- Use the agents you already know on the machines where your code lives.
- Work together in the same session—read the conversation, queue follow-up tasks, steer an active turn, or approve tool permissions as a team.
- Step in directly through live Git diffs, native PTY terminals, file transfers, and remote desktop access whenever a task needs human hands.
Both the client applications and the control-plane server are open source under Apache-2.0.
- Bring Your Own Agents (ACP) — Connect installed and authenticated Agent Client Protocol (ACP) agents including Codex CLI, Claude Code, Cursor CLI, Grok CLI, Oh My Pi, DeepSeek Harness, or custom ACP executables. Manage installation, updates, and interactive CLI login directly from Settings → Agents.
- Shared Team Sessions — Multiple teammates can participate in the same live agent session. Messages keep their author attribution, queued prompts stay in a shared backlog, Steer now redirects an in-progress turn when supported by the provider, and answered permission prompts update for everyone.
- Isolated Worktrees or Live Directories — Group local directories into Workspaces. Start each session in a fresh Git worktree from committed
HEADor work directly in your existing checkout. - Archive & Restore Without Losing Context — Archiving a session stops active processes and removes generated worktrees to reclaim disk space while keeping conversation and terminal history intact. Restoring recreates those worktrees at their last committed
HEADs. - Peer-to-Peer WebRTC Access — Stream live Agent updates, inspect Git state, attach to persistent PTY terminals, transfer files, and view or control remote desktops over authenticated WebRTC with automatic TURN relay fallback.
- Cross-Machine Coordination & Scheduled Tasks — Every managed session receives a built-in MCP server (
@deskfleet/mcp) with workspace-scoped credentials so agents can inspect context, sessions, and recurring scheduled tasks across enrolled machines. - Offline-Readable History — Each machine daemon keeps its authoritative execution journal in local SQLite and synchronizes replicas to the central PostgreSQL server, so conversations remain readable even when a machine is offline.
- Your Environment, Your Credentials — Repositories, local build tools, and agent CLI credentials remain on the machine executing the work.
DeskFleet supervises any ACP-compatible agent installed on an enrolled machine:
- Codex CLI
- Claude Code
- Cursor CLI
- Grok CLI
- Oh My Pi
- DeepSeek Harness
- Custom ACP Executables (configurable executable path and environment variables)
| Platform | Architecture | Desktop App | Headless Daemon | Web Client (PWA) | Packages & Installers |
|---|---|---|---|---|---|
| macOS | Apple Silicon (arm64) |
✅ | ✅ | ✅ | Homebrew Cask / Formula, .dmg, .tar.gz, Nix (nix-darwin) |
| macOS | Intel (x64) |
✅ | ✅ | ✅ | Homebrew Cask / Formula, .dmg, .tar.gz, Nix (nix-darwin) |
| Windows | x64 |
✅ | ✅ | ✅ | .exe installer, standalone .tar.gz |
| Linux | x86_64, arm64 |
✅ | ✅ | ✅ | AppImage, .deb, .rpm, .tar.gz, AUR (deskfleet-bin), Nix flake |
The Electron desktop app includes an embedded machine daemon in its main process. Closing the window keeps DeskFleet in the system tray so active sessions, terminals, and scheduled tasks continue running until you quit the app.
- macOS (Apple Silicon and Intel) via Homebrew:
Intel desktop cask support requires the companion tap packaging in
brew install --cask yet-another-ai/tap/deskfleet
yet-another-ai/homebrew-tap#8. Merge that tap PR before relying on Intel Homebrew installs; the Apple Silicon cask remains available on the published tap today. - macOS with nix-darwin (Apple Silicon and Intel): add the release flake as an input, apply its
overlays.default, and includepkgs.deskfleetinenvironment.systemPackages. nix-darwin installs the signed app bundle under/Applications/Nix Appsand owns upgrades; the Electron updater stays disabled. See Nix distribution for the flake input. - Arch Linux:
yay -S deskfleet-bin
- Debian / Ubuntu and Fedora / RHEL (
.debforamd64/arm64,.rpmforx86_64/aarch64; replace<VERSION>and the architecture with the release you downloaded):Your package manager owns upgrades. The distribution packages do not use the AppImage self-updater.sudo apt install ./deskfleet-<VERSION>-linux-amd64.deb sudo dnf install ./deskfleet-<VERSION>-linux-x86_64.rpm
- Linux with Nix (
x86_64oraarch64with flakes enabled; replace<VERSION>with the release version withoutv). The same release flake also exposes Apple Silicon and Intel macOS apps for nix-darwin:To try it without adding it to your profile, usenix profile add 'https://github.com/yet-another-ai/deskfleet/releases/download/v<VERSION>/deskfleet-nix.tar.gz'nix runwith the same URL. See Nix distribution for packaging details. - Direct Downloads: Download
-mac-arm64.dmgfor Apple Silicon,-mac-x64.dmgfor Intel Macs,.exefor Windows, or.AppImage/.deb/.rpm/.tar.gzfor Linux from GitHub Releases.
For remote workstations, VMs, and build servers without a desktop session, DeskFleet packages @deskfleet/daemon as a standalone Bun executable (deskfleet-daemon, or deskfleet-daemon.exe on Windows).
On macOS (Apple Silicon and Intel), after the companion tap packaging in yet-another-ai/homebrew-tap#8 merges, install the daemon-only formula and manage it with Homebrew services:
brew install yet-another-ai/tap/deskfleet-daemon
brew services start yet-another-ai/tap/deskfleet-daemonThe formula installs only deskfleet-daemon from the published deskfleet-macos-{arm64,x64}.tar.gz archives (not deskfleet-server). Enroll the machine before relying on the service; see the Daemon Guide.
- Download the daemon archive for your platform from GitHub Releases (or build it from source with
mise run daemon:pack), or use the Homebrew formula above on macOS once the tap PR is merged. - Prepare enrollment on the headless machine for your backend and team, paste the bundle into Add machine → Another machine in the desktop or web client, and import the issued credential.
- See the Daemon Guide for the complete enrollment workflow, CLI flags, and storage layout.
DeskFleet is a Rust and TypeScript monorepo. The central control plane is built with Rust and Actix Web backed by PostgreSQL. Each machine runs a TypeScript daemon (inside Electron's main process or as a standalone Bun executable) backed by local SQLite and Rust native libraries via napi-rs for WebRTC transport, PTY terminals, screen capture, hardware video encoding, and input forwarding. The Electron and Web clients share a Vue component library.
flowchart LR
Client["Electron / Web Client\n(Vue + TypeScript)"] <-->|"HTTPS / WebSocket\nCatalog, History, Signaling"| Server["Central Server\n(Rust / Actix Web / PostgreSQL)"]
Server <-->|"Outbound Control Socket\nPresence, History, Signaling"| Daemon["Machine Daemon\n(TypeScript + SQLite)"]
Client <-->|"WebRTC (P2P / TURN)\nOperations, Files, Terminal, Desktop"| Daemon
Daemon <-->|"ACP"| Agent["Agent CLI\n(Codex, Claude Code, Cursor, Grok, ...)"]
Agent <-->|"MCP stdio"| MCP["DeskFleet MCP\n(@deskfleet/mcp)"]
MCP <-->|"Authorized Operations"| Daemon
Daemon <-->|"napi-rs"| Native["Native Capabilities\n(Rust WebRTC, PTY, Capture, Media)"]
| Path | Description |
|---|---|
apps/desktop |
Electron desktop client hosting the local machine daemon in its main process |
apps/web |
Installable PWA web client sharing UI components with the desktop app |
apps/daemon |
Machine daemon library and standalone Bun executable |
apps/server |
Actix Web control-plane API, authentication, signaling, and static web host |
apps/desktop-service |
Native desktop service helper |
packages/components |
Shared Vue UI components, styles, and localization catalogs (en-US, zh-CN, ja-JP) |
packages/protocol |
Platform-neutral wire contracts and validators shared by the daemon, agents, and clients |
packages/client |
Shared client stores, platform contracts, and HTTPS/WebSocket/WebRTC adapters |
packages/mcp |
Built-in @deskfleet/mcp stdio server injected into managed ACP sessions |
crates/* |
Rust workspace crates for data models, storage, protocol contracts, WebRTC, PTY, and desktop media |
docs |
VitePress product website, interactive browser demos, and user manual |
agents/docs |
Engineering architecture, protocol, security, and deployment documentation |
Rust Workspace Crates
| Crate | Path | Responsibility |
|---|---|---|
deskfleet-model |
crates/model |
Typed resource IDs, the machine/workspace/worktree hierarchy, directory bindings, and session associations |
deskfleet-store |
crates/store |
SeaORM entities and transactional local SQLite workspace/worktree catalog persistence |
deskfleet-control-store |
crates/control-store |
PostgreSQL identities, teams, machines, authorization, and central replicas |
deskfleet-migration |
crates/migration |
Catalog schema migrations and optional migration CLI |
deskfleet-protocol |
crates/protocol |
Central Rust wire contracts and protocol version; generates @deskfleet/protocol/generated/central-control |
deskfleet-native |
crates/native |
Platform capabilities (WebRTC peers, PTY terminals, desktop capture/media) independent of Node.js |
deskfleet-node |
crates/node |
Thin napi-rs bindings exposing deskfleet-native and local catalog persistence as @deskfleet/native |
deskfleet-desktop-viewer |
crates/desktop-viewer |
Independent native remote desktop viewer window (winit / wgpu) |
deskfleet-capture / encoder / input |
crates/capture, crates/encoder, crates/input |
Cross-platform screen capture, video encoding (nvenc, platform codecs), and input injection |
deskfleet-linux-desktop / gstreamer-media / wayland / x11 |
crates/linux-desktop |
Linux Wayland Portal/PipeWire and X11 desktop capture, media, and input backends |
deskfleet-windows-desktop |
crates/windows-desktop |
Windows desktop capture and input backend |
deskfleet-server |
apps/server |
Actix Web control-plane server binary |
DeskFleet uses mise to lock tool versions (rust, node, pnpm, cmake, apm) and orchestrate build and test tasks across Rust and TypeScript.
- mise
- Docker with Docker Compose (for local PostgreSQL, Valkey, and coturn TURN services)
- On Windows, use PowerShell 7 (
pwsh)
From the repository root:
mise trust
mise install --locked
mise run installWith Docker running, start the local infrastructure, seed a development Site Admin account, and launch the API + Web client:
mise run infra:up
mise run dev:seed
mise -E development run dev- Web client: Open
http://localhost:5174/ - API health check:
curl http://localhost:8080/healthz(DESKFLEET_BIND_ADDRsets the bind address;RUST_LOGconfigures logging) - Seeded Site Admin credentials:
admin@deskfleet.test/deskfleet-dev-password - Email verification sink: Local registration and verification emails are written to
.local/mail/
Note
Keep mise -E development run dev running when developing the Electron desktop app—Electron uses the local Web service for browser sign-in.
Run any of the following in another terminal from the repository root:
| Surface | Command | Details |
|---|---|---|
| Desktop app (Electron) | mise run desktop:dev |
Starts Electron with hot reload. Use the system tray menu to quit. |
| Standalone daemon (source) | mise run daemon:dev |
Runs @deskfleet/daemon in the foreground and prints its loopback health address. |
| Standalone daemon (Bun executable) | mise run daemon:pack && mise run daemon:smoke |
Packages apps/daemon/dist/deskfleet-daemon (.exe on Windows) and smoke-tests it. |
| Product website & demos | mise run docs:dev |
Starts VitePress at http://127.0.0.1:5175/ with interactive browser-local demos (en, zh, ja). Build static output to docs/.vitepress/dist/ with mise run docs:build. |
Local checks and CI share the same task graph in mise.toml:
mise run checkTo run individual Cargo commands without shell activation, prefix with mise exec -- (for example, mise exec -- cargo test --workspace --locked).
Repository-local agent skills (rust-skills, stop-that-shit, stss, vueuse-functions) live in .agents/skills/ and are tracked alongside apm.yml and apm.lock.yaml. Restore them with:
mise run skills:install| Guide | Description |
|---|---|
| User Guide | Getting started, enrolling machines, configuring ACP agents, and team collaboration |
| Architecture | Component boundaries, data ownership, protocols, multi-instance routing, and WebRTC |
| Development Environment | Local Docker Compose stack, test databases, relay smoke tests, and focused tasks |
| Self-Hosted Backend | Production deployment for the Actix Web API, PostgreSQL, OAuth/SMTP, reverse proxy, and TURN |
| Server Configuration | Environment variables, authentication origins, and container image settings |
| Daemon Guide | Headless machine enrollment, CLI options, single-turn execution, and local storage |
| Desktop Guide | Electron process layout, build-time variables, native viewer, and packaging |
| Web Client Guide | PWA installation, static hosting, and frontend configuration |
| MCP Server | Built-in @deskfleet/mcp stdio server and custom MCP server configuration |
| Native Bindings | @deskfleet/native (napi-rs) WebRTC, PTY, and desktop capture APIs |
| CI & Packaging | GitHub Actions workflows, Nix flake distribution, and release artifacts |
| Agent Guide | Repository conventions and engineering workflow for contributors and coding agents |
Contributions are welcome! Please read CONTRIBUTING.md for development workflow guidelines and instructions on signing the Contributor License Agreement.
The DeskFleet client, daemon, and server are licensed under the Apache-2.0 License. Vendored agent skills in .agents/skills/ retain their upstream licenses.
