cmux: Native macOS Terminal Built for AI Coding Agents

ArticleStanley UliliTool

cmux is a native macOS terminal application designed specifically for AI coding agents. Combining libghostty, WebKit, and Bonsplit with a CLI backed by Unix domain sockets, it allows agents to control embedded browser panes and orchestrate parallel sub-agents.

Key points

  1. Native macOS app written in Swift and AppKit using libghostty, avoiding the resource overhead of Electron.
  2. Embedded WebKit browser panes enable agents to navigate pages, capture DOM snapshots with element references, and interact autonomously.
  3. Control interface uses a cmux CLI communicating with the graphical user interface via low-latency Unix domain sockets using JSON messages.
  4. Enables multi-agent orchestration by letting a primary agent split panes, spin up sub-agents (such as Claude Code), and collect results.

Why it matters

Traditional terminals offer limited visibility into agent decision-making and cannot natively handle browser-based interactions. cmux turns the terminal into an agent-controllable workspace, giving models direct hooks to manipulate UI splits, render web content, and issue status notifications.

Analysis

Stanley Ulili highlights that despite the naming similarity, cmux is unrelated to tmux and built from scratch as a Swift application. Its key innovation is treating the terminal layout and an embedded WebKit browser as tools that the LLM can query and manipulate via standard shell commands. By generating lightweight DOM snapshots with indexed interactive elements, agents can browse and test web interfaces without relying on external headless automation frameworks.

Found in

Summary generated by AI (Gemini 3.8 Flash, 27 September 2026). It may contain errors – the original source is authoritative.

Similar in content, found by the AI search.

  • Link:cmux.com

    cmux: Native macOS Terminal Built for Multitasking and Coding Agents

    cmux is a free and open-source macOS terminal powered by libghostty, designed specifically for multitasking and agent-driven workflows. It features vertical tabs, notification rings for attention-seeking processes, split panes, an integrated scriptable browser, and a CLI/socket API for full programmability.

    AI & LLMs· Tool

  • Link:Austin Wang, Lawrence Chen

    cmux: An Open-Source Terminal Built for Coding Agents

    cmux is a native macOS terminal based on Ghostty, designed specifically for multitasking with coding agents. It features vertical tabs, visual notifications, a built-in browser, and a CLI for automated control.

    AI & LLMs· Announcement

  • Repository:manaflow-ai/cmux

    cmux: Ghostty-Based macOS Terminal for AI Coding Agents

    cmux is an open source macOS terminal multiplexer based on Ghostty, designed specifically for multitasking with AI coding agents. It features vertical tabs, workspace metadata, and visual notifications when agents require human attention.

    26.8kstarsSwift

    AI & LLMs· Tool

  • Repository:herdrdev/herdr

    herdr: Terminal Multiplexer and Runtime for Coding Agents

    herdr is a terminal multiplexer written in Rust, built specifically to manage and orchestrate coding agents like Claude Code, Codex, and Cursor. It maintains terminal sessions in the background, tracks agent states, and provides programmatic control interfaces.

    41.3kstarsRust

    AI & LLMs· Tool

  • Repository:anthropics/claude-code

    Claude Code: Terminal-Based Agentic Coding Tool

    Claude Code by Anthropic is an agentic coding tool that operates in the terminal. It understands codebases, executes routine development tasks, explains complex code, and handles Git workflows using natural language commands.

    144.1kstarsPython

    AI & LLMs· Tool

  • Repository:xai-org/grok-build

    Grok Build: Terminal-Based AI Coding Agent by SpaceXAI

    Grok Build is a Rust-based AI coding agent featuring a full-screen, mouse-interactive TUI. It analyzes codebases, modifies files, runs shell commands, and supports interactive use, headless CI scripting, and editor embedding via the Agent Client Protocol.

    26.5kstarsRust

    AI & LLMs· Tool

Let's talk about your project

Locations

  • Mattersburg
    Johann Nepomuk Bergerstraße 7/2/14
    7210 Mattersburg, Austria
  • Vienna
    Ungargasse 64-66/3/404
    1030 Wien, Austria

Parts of this content were created with the assistance of AI.