Skip to main content
Glama

Hi0 gives external AI agents (Claude Code, Codex, Grok Build, Antigravity, OpenClaw, and other MCP clients) their own isolated Linux desktop inside a local micro-VM. Instead of hijacking your host cursor or running blind in headless scripts, agents work inside real Linux GUI apps while you watch live and click once to take over or lock input.

Architecture

External MCP Clients (Claude Code, Codex, Grok Build, Antigravity, ...)
        │  Streamable HTTP (127.0.0.1:17700/mcp) or stdio
        ▼
  Hi0 Hub (packages/wland-hub)
    ├── InputArbiter         epoch-gated human/agent control + instant lock
    ├── DisplayMux           per-window Wayland stream fan-out to Web UI
    └── 4-tier MCP router    T0 Shell/Files -> T1 CDP -> T2 AT-SPI2 -> T3 Vision/Pointer
        │
        ▼  Apple Container (macOS) / WSL2 & Docker (Windows)
  Linux Micro-VM (container/)
    ├── wland                pure-Wayland compositor (STREAM v2, up to 120 FPS)
    ├── guiuser (uid 1000)   Chromium, VS Code, Obsidian, LibreOffice, Foot, WebApps
    ├── shelluser (uid 1001) isolated shell_exec worker with separate UID
    └── egress firewall      blocks private RFC1918 / link-local / ULA ranges

A few design choices worth calling out:

  • No VNC / noVNC. Windows stream directly from a headless Wayland compositor (wland) as independent surfaces, so moving or switching apps does not fight a single flat framebuffer.

  • Semantic before pixels. ui_observe reads Chromium/Electron DOM trees over a private CDP pipe (~10 ms) and native GTK/Qt widgets over AT-SPI2 before falling back to lossless screenshots.

  • Human always wins. Locking the desktop from the top bar blocks every agent channel immediately. Handing control back increments the session epoch, invalidating stale element refs from before the interruption.

  • Scoped files and credentials. /workspace syncs with a dedicated host folder (plus any folders you explicitly link under /projects/<name>). Saved credentials live in the OS keychain and are filled through the hub without exposing plaintext to the agent.

Related MCP server: Astra MCP

MCP tools

Hi0 exposes 12 tools over Streamable HTTP (http://127.0.0.1:17700/mcp) and stdio (@hi0/mcp-server):

Group

Tools

Apps & windows

app_list, app_launch, app_window

Observe & act

ui_observe, ui_act, ui_pointer, ui_type, ui_screenshot, ui_wait

Shell & files

shell_exec, workspace_files

Handoff

human_takeover

Install (macOS)

Requires an Apple Silicon Mac (macOS 15+) and Apple container:

brew install --cask container
  1. Download Hi0-0.1.0-alpha.1-arm64.dmg from Releases and drag Hi0.app to /Applications.

  2. Since early alpha builds are not yet Apple-notarized, clear the quarantine attribute before first launch (or allow it in System Settings → Privacy & Security):

    xattr -cr /Applications/Hi0.app
  3. Launch Hi0. First run pulls the ARM64 Linux runtime image, initializes your workspace folder, and boots the desktop.

Connect an agent

Open Settings → AI Users & Connections in Hi0 to detect installed clients and write their MCP config automatically, or point any Streamable HTTP MCP client at:

{
  "mcpServers": {
    "hi0": {
      "url": "http://127.0.0.1:17700/mcp"
    }
  }
}

Current status and limitations

Hi0 is an early alpha (v0.1.0-alpha.1). Expect breaking changes and do not keep sensitive production data in it yet.

  • No hardware GPU on macOS yet. Apple container does not currently expose VirtIO-GPU, so Chromium WebGL and heavy 3D canvases run on software rasterization on macOS.

  • Pure Wayland, no XWayland. X11-only Linux GUI apps will not launch; stick to Wayland-native apps (Chromium, VS Code, Obsidian, LibreOffice, Foot, Nautilus, marimo, JupyterLab) or WebApps.

  • macOS notarization pending. First launch requires xattr -cr /Applications/Hi0.app or Gatekeeper approval.

  • Windows support in progress. The WSL2 (with /dev/dxg DirectX 12 GPU) and WebView2 shell implementation is in main and currently undergoing hardware verification before release installers are published.

Build from source

Requires Node.js >= 22, pnpm@10, and Xcode Command Line Tools (macOS) or Rust + NSIS (Windows).

pnpm install
pnpm build
pnpm hub:start                        # http://127.0.0.1:17700

Build the self-contained macOS app bundle or DMG:

HI0_BUNDLE_RUNTIME=1 pnpm mac:build   # dist/Hi0.app
pnpm mac:dmg                          # dist/Hi0-0.1.0-alpha.1-arm64.dmg

Verify typecheck, unit tests, and design tokens:

pnpm typecheck && pnpm test && pnpm design:check

License

Apache-2.0. Third-party attributions are listed in THIRD_PARTY_NOTICES.md.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to automate Linux desktop GUI by launching and interacting with Wayland applications in isolated virtual KWin sessions, or connecting to live desktops for collaborative automation.
      163 PyPI
      88
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables tool-capable AI models to operate a private Linux desktop and headless browser, with terminal, file, and application controls, while keeping your physical mouse and keyboard separate.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to spin up real Linux desktops in Docker and drive them by reading windows, pages, and documents as text and acting with tools like opening apps, running menu commands, filling file dialogs, and exporting files. It exposes these capabilities uniformly over MCP, function calling, HTTP, CLI, and Python/TypeScript SDKs, with token-efficient diffs, code mode, and parallel or forked desktops.
      38 PyPI
      1
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Enables AI coding agents to work inside a disposable Windows guest desktop, where they can run shell commands, launch applications, inspect and operate native GUI controls, perform browser DOM actions, and transfer files. Fresh observations, PNG screenshots, and hashed artifacts let agents verify results without touching the host desktop.
      18
      MIT