Self-hosted remote Agent IDE

Your agents.
Your machines.
One workspace.
Self-hosted.

Self-host Cowboy on your infrastructure. Direct Codex, Claude Code, Antigravity, Grok, and DeepSeek across every enrolled Machine, then reconnect to workers that keep running where they started.

Your control plane. Your data. Your credentials. Always yours.

  • ACP native
  • Signed + pinned plugins
  • Fail-closed safety
  • Linux + macOS Machines
Abstract Cowboy Desktop and Phone workspaces connected through one Hub to multiple macOS and Linux Machines
Live topology Clients Hub Machines Agents 3M6A
Cowboy Hub seq · route · replay
Machine 01 macOS · laptop
Codex Claude
Machine 02 Linux · workstation
Codex DeepSeek
Machine 03 Linux · server
Grok Your plugin
1 self-hosted instance
1→N Machine fan-out
7 Agent Providers
3× release verification

Safe by construction

Remote control.
Local boundaries.

Signed + pinned

Publisher, contract, package, and runtime artifacts resolve to one immutable release.

Machine-scoped

Installing a Provider on one Machine never silently changes another Machine.

Fail-closed

Incompatible or altered bytes never replace the active generation.

One control plane, deliberate surfaces

Stay close to the work,
wherever it is running.

Cowboy keeps Machine-hosted workers alive when a browser closes. Come back from a desk or a phone and reconnect to the same session, state, and worktree.

01 / Desktop Keyboard-first. Everything visible.

Dense session navigation, split workspaces, Vim motions, visible commands, and live tool output make Desktop an IDE instead of a stretched mobile layout.

Keyboard controls everything Vim-like · fully addressable
Abstract three-column Cowboy Desktop interface with a Markdown prompt being composed
02 / Mobile Touch-first. The same running work.

A focused Agent view, native selection and paste, large targets, safe keyboard behavior, and progressively disclosed code tools.

Abstract Cowboy Mobile Sessions, Agent conversation, and Code intelligence views
MachinesPlace work on the right host
AgentPlans, tools, prompts, permissions
CodeDiffs, symbols, diagnostics, Git
SessionsPause, resume, reconnect, reorder

Local and remote execution

AI on one Machine.
Work on another.

Choose a project, then an AI

Browse projects by Machine and directory, then choose an installed AI. Cowboy determines Local or Remote from where the AI and project live.

One Plugin per Provider

Codex and Claude Code each support both modes through their existing Plugin. In Remote mode, the AI runtime and authentication stay on one Machine; files, commands, and task processes run on the project Machine.

One bound target throughout

Agent tools, Code, Review, Git, and uploads use the same project Machine. Cowboy handles routing, reconnect, and cancellation. An unavailable target never silently redirects execution to the AI Machine.

The plugin ecosystem

Plugins are not add‑ons.
They are the product boundary.

Every integration is independently versioned, packaged, signed, published, installed, upgraded, rolled back, and removed through one generic lifecycle. Cowboy learns capabilities from typed contracts instead of hardcoding vendor-shaped screens.

Browse source

Agent Provider v3.6.65
Codex OpenAI

Codex with its standard OpenAI account and configuration

Agent Provider v3.20.106
Claude Code Anthropic

Claude Code with its standard Anthropic account and configuration

Agent Provider v0.2.64
Antigravity Google

Official Antigravity CLI with a personal Google account (not Google-supported in Cowboy)

Agent Provider v3.2.64
Grok Build xAI

Official Grok Build agent with standard xAI authentication

Agent Provider v3.1.122
Codex · DeepSeek DeepSeek

Codex in an isolated DeepSeek runtime with V4.1 Flash and V4 Pro

Agent Provider v3.1.123
Claude Code · DeepSeek DeepSeek

Claude Code in an isolated DeepSeek runtime with a one-million-token lane

Agent Provider v1.0.79
DeepSeek Harness DeepSeek

DeepSeek's native agent harness in an isolated DeepSeek runtime

Code Intelligence v1.39.14
Zed Code Intelligence Zed

Process-isolated symbols, hover, definitions, and references for every connected worktree.

Agent calls v1.0.21
Review cowboy-first-party

Read-only code reviews, design reviews and analyses by another agent family through Cowboy managed calls.

Memory v1.0.16
Matrix cowboy-first-party

Shared, evidence-backed long-term memory across every Agent session.

Workspace extension v0.2.18
GitHub cowboy-first-party

Pull requests, issues and Actions for this repository, using its Machine’s existing GitHub CLI session.

Machine browser v1.0.15
Machine browser cowboy-first-party

Owner-operated Chromium on the Machine for account sign-in, isolated per account.

Authentication v1.0.0
Better Auth Better Auth · OIDC

Self-hosted Better Auth (v1.7+) over strict OIDC: private_key_jwt Ed25519, EdDSA JWKS, max_age=0, RFC 9207 iss, and Back-Channel Logout.

Authentication v1.0.0
Passkeys WebAuthn

Hardware-backed Passkeys for primary sign-in and step-up verification with plugin-owned credential storage.

Authentication v1.0.0
Password Local

Optional local password sign-in using the Controller's built-in password driver, with zero extra tables or browser code.

Authentication v1.0.0
Google Google · OIDC

Sign in with Google Accounts through signed OIDC endpoints and private server-side credentials.

Authentication v1.0.0
Apple Apple · OIDC

Sign in with Apple for a Services ID using ES256 client assertions and form_post callbacks.

Telemetry v1.1.0
Victoria VictoriaMetrics

Opt-in OTLP export to VictoriaLogs, VictoriaMetrics, and VictoriaTraces. Diagnostics stay local in rotating files by default.

Signed, pinned, fail-closed

One lifecycle. No moving targets.

Build, Catalog ingestion, and the target Machine each verify the same immutable release. Incompatible bytes fail closed; the active generation keeps running.

  1. 01
    Build

    A typed manifest and payload become one data-only .cowboy-plugin.

  2. 02 Sign

    Publisher identity, contract fingerprint, and every runtime artifact are bound.

  3. 03
    Publish

    The Catalog exposes immutable releases without silently installing them.

  4. 04
    Install

    A chosen Machine activates a complete generation atomically.

  5. 05 Run

    Sessions stay pinned to the exact installed release until an explicit change.

plugins/codex/plugin.json schema 1
{
  "id": "codex",
  "version": "3.6.65",
  "kind": "agent_provider",
  "entrypoint": "provider.json",
  "component_release": "3.182.0",
  "components": [
    { "id": "cowboy.plugin-contract", "version": "1.13.0" },
    { "id": "cowboy.plugin-sdk", "version": "1.22.0" },
    … 5 more pinned components
  ]
}
Typed capabilities

Let plugins describe themselves.

Provider marks, setup, authentication, model controls, activity, transcript style, and host behavior all travel through validated data contracts.

Shared components

Reuse implementation, keep releases independent.

Plugins pin exact SDK, UI, runtime, and code-intelligence components. A component can evolve without turning the whole ecosystem into one monolith.

Machine isolation

Install where the work actually runs.

The Hub joins Catalog releases with each Machine's platform and contracts. Credentials and runtime state stay at the owning boundary.

One remote control plane

One place to direct
every Machine.

Desktop and Mobile converge on one self-hosted Cowboy Hub. The Hub routes durable sessions across enrolled Machines, so you can switch hosts without switching IDEs or SSH tabs and reconnect to the same worker without moving or stopping it.

Read the architecture
DesktopKeyboard MobileTouch
HTTPS · WebSocket Cowboy Hub seq · state · fan-out One control plane UDS · outbound WSS
Machine 01 macOS · laptop Connected Codex · Claude
Machine 02 Linux · workstation Connected Codex · DeepSeek
Machine 03 Linux · server Connected Grok · your plugins

One mark. Fifty ways to make it yours.

Lilac Flow by default. Explore 25 solid and 25 gradient styles in Settings, with matching accents in light and dark.

A selection of Cowboy's fifty icon colorways

Open source and ready to build

Put every agent within reach.

Build from source in a pinned Nix shell, run one Hub on SQLite or PostgreSQL behind your HTTPS origin, then enroll the Linux and macOS Machines where your real work lives.

  1. 01
    Build and start the HubPinned Nix toolchain, SQLite by default.
  2. 02
  3. 03
cowboy — quick start
# 1 · Build the Hub
$ git clone https://github.com/dravengarden/cowboy.git
$ cd cowboy && nix develop
$ just install && just build

# 2 · Start it behind your HTTPS origin
$ COWBOY_PUBLIC_ORIGIN=https://cowboy.example \
    ./target/release/cowboy-controller serve \
    --database-url sqlite:///tmp/cowboy.sqlite3
✓ Hub listening on 127.0.0.1:3333

# 3 · On each Machine, with a one-time code
$ cowboy register https://cowboy.example --background
Back to top