GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - agentmuxai/agentmux: The Open-Source Agent Operating Environment Built for Getting Work Done

BranchesTags
Open more actions menu

Latest commit

 

History

9,153 Commits
9,153 Commits

Folders and files

NameName
Last commit message
Last commit date
.cargo
.cargo
 
 
.changesets
.changesets
 
 
.claude/skills
.claude/skills
 
 
.config
.config
 
 
.githooks
.githooks
 
 
.github
.github
 
 
assets
assets
 
 
build
build
 
 
crates
crates
 
 
docker
docker
 
 
docs
docs
 
 
frontend
frontend
 
 
licenses
licenses
 
 
packaging
packaging
 
 
public
public
 
 
schema
schema
 
 
scripts
scripts
 
 
sdk/widget-sdk
sdk/widget-sdk
 
 
templates
templates
 
 
test
test
 
 
tools
tools
 
 
.bump.json
.bump.json
 
 
.dockerignore
.dockerignore
 
 
.editorconfig
.editorconfig
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.nvmrc
.nvmrc
 
 
.prettierignore
.prettierignore
 
 
.stylelintignore
.stylelintignore
 
 
.stylelintrc.json
.stylelintrc.json
 
 
ACKNOWLEDGEMENTS.md
ACKNOWLEDGEMENTS.md
 
 
BUILD.md
BUILD.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
LEGAL.md
LEGAL.md
 
 
LICENSE
LICENSE
 
 
NOTICE
NOTICE
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
Taskfile.yml
Taskfile.yml
 
 
UPGRADE_FLOOR
UPGRADE_FLOOR
 
 
VERSION_HISTORY.md
VERSION_HISTORY.md
 
 
deny.toml
deny.toml
 
 
eslint.config.js
eslint.config.js
 
 
eslint.theme-colors.config.js
eslint.theme-colors.config.js
 
 
index.html
index.html
 
 
knip.json
knip.json
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
prettier.config.cjs
prettier.config.cjs
 
 
rust-toolchain.toml
rust-toolchain.toml
 
 
settings-template.jsonc
settings-template.jsonc
 
 
tsconfig.citypecheck.json
tsconfig.citypecheck.json
 
 
tsconfig.json
tsconfig.json
 
 
version.cjs
version.cjs
 
 
vite.config.ts
vite.config.ts
 
 
vitest.config.ts
vitest.config.ts
 
 

Repository files navigation

AgentMux

Alpha

AgentMux is alpha software. Some features are incomplete or still settling, and behavior can change between releases. A few things to keep in mind:

  • Rough edges — parts of the UI may not work as expected, and something that works today can regress in a later release.
  • Don't rely on persistence — settings, pane layouts, and agent state may not carry over cleanly across versions, so avoid storing anything you can't easily recreate.
  • Interfaces are still moving — config files, accounts, bundles, and MuxAPI can change shape without a migration path during alpha.
  • Platform coverage varies — Windows gets the most testing right now; macOS and Linux builds are a bit further behind.

Running into something? Please open a GitHub issue at https://github.com/agentmuxai/agentmux/issues — that's how alpha gets to beta.


AgentMux

The agent operating environment

Run any agent as a first-class pane — Claude Code, Codex, Gemini, Copilot, and more — each with its own identity, native memory, and a structured view of tool calls and diffs. Agents can drive the workspace itself through a local API. Multi-provider, local-first, with a Rust core. Free and open source.

License Website

The Problem

Today's agents run inside terminal wrappers — raw stdout, no real identity, no shared context, and no way to talk to each other. You re-onboard a stranger every session, you can't see what an agent is actually doing mid-task, and long-lived provider CLIs sit there hogging memory the whole time.

  • Agents are afterthoughts. A terminal wrapper hands you raw output, not a structured view of tool calls, reasoning steps, and file diffs.
  • Every provider is a silo. Claude, Codex, and Gemini each run in isolation — no shared workspace, no interop, no way for one agent to hand off to another.
  • You're the integration layer. Copy-pasting between windows, re-explaining the same context, babysitting heavyweight CLI processes.

What AgentMux Does

AgentMux is an open-source agent operating environment. Run any agent as a first-class pane — with its own identity, native memory, and a structured view of tool calls and file diffs — and let agents drive the workspace itself through a local API. AgentMux owns the session state, so many provider CLIs run one-shot per turn instead of as long-lived processes, and one Rust core holds many agents at once.

Cross-platform (Windows, macOS, Linux). Rust backend (Tokio + Axum). CEF host (bundled Chromium). Apache 2.0.

  • Multi-provider agent panes — Claude Code, Codex, Gemini, GitHub Copilot, Kimi, OpenClaw, Pi, Antigravity, OpenCode, Kilo Code, Cline, goose, Grok Build, DeepSeek Harness and Muse Code as first-class providers, and Aider and Crush in a terminal pane of their own, alongside terminal, editor, browser, file and media panes (all widgets). Structured views of tool calls, reasoning, and diffs — not a terminal wrapper.
  • Universal pane tabs — every pane is a generic container that can hold any mix of widgets as tabs, not just more of its own type. A pane's own tab strip is its header (one row, not a header-plus-strip stack), and its "+" opens a picker of every widget type — agent, terminal, browser, editor, sysinfo, swarm, drone, and the rest — so you build up an agent-plus-terminal-plus-browser workspace inside a single pane instead of endlessly splitting. Inspired by cmux's Workspace → Pane → Surface → Panel model. See Panes and tabs below.
  • Agents drive the workspace — Through MuxAPI, a running agent can open panes, rename tabs, navigate the layout, and message peer agents, using the tools of its built-in MCP server. Agents are operators, not passengers.
  • Interagent comms — the Message tool sends one agent's message into another agent's conversation, on this machine or another, so you can build hand-offs and broadcasts; its repository channel lets agents tell each other what they are changing.
  • Swarm — A live view of every agent and its subagents, background tasks and todos, including agents on other machines you're connected to. Follow one agent, or broadcast a message to several at once.
  • Accounts — Sign-ins and keys for providers and services (Claude, Codex, GitHub, AWS, API keys and more), kept in Connectors → Accounts and bound to each agent, at most one per provider. They survive renames; switching an agent's account restarts that agent.
  • Bundles — A collection of instructions, context files and skills, captured once and reused across agents. MCP servers aren't part of a bundle; they're bound to agents in Connectors. Backend: db_bundles; managed in the Memory pane (the widget bar's Memory, then Bundles).
  • Memory — The Memory pane holds Global Memory (instructions every agent gets at launch), each agent's Personal Memory (its own memory files, with history, agent:memory:*), Skills and Bundles. Right-click an Agent pane and choose Personal memory to open that agent's memory there.
  • AgentMux owns the session state — Codex, Gemini, Kimi and Antigravity are invoked once per turn. Claude Code runs as a persistent stream, and Copilot, OpenClaw, Pi, OpenCode, Kilo Code, Cline, goose, Grok Build and DeepSeek Harness as long-lived ACP processes, and Muse Code as a long-lived muse serve process speaking its own protocol, MSP. Aider and Crush run their own interface in a terminal pane. Either way AgentMux holds the durable session state, so a conversation survives a restart of its CLI.
  • Reducer stack — The launcher, host and sidecar each keep their state in a reducer with a structured event log, so "what mutated this state?" has one place to look.
  • Browser pane — A native Chromium view, not an iframe: a child window of the AgentMux frame on Windows, a CEF Views overlay on Linux and macOS. Full Chromium fidelity (links, popups, DRM).
  • MuxAPI (formerly the App API) — Local WebSocket RPC with an intent-based layer (agent.open, agent.send, pane.open) and about 450 lower-level commands (panes, files, memory, skills, bundles, fleet, and more). Agents reach it through the built-in agentmux MCP server; external tools can call it directly. See MuxAPI.
  • Build your own widgets — A widget is a folder with a widget.json and web files. It runs sandboxed, and installing it asks you to approve each permission it wants; an agent can build one and install it the same way. Manage them in Settings → Widgets. See Build a widget and sdk/widget-sdk/.
  • Kanban, Vault and Audit — Three panes for overseeing agents. The Kanban shows what every agent is working on, what waits for them, and what needs you; agents keep their cards current through the Tasks tool. The Vault holds your secrets (ID numbers, cards and bank accounts, API keys, logins, notes), which agents use by name without ever seeing a value. The Audit has four sections: Events (what agents did: every jekt, fleet and pane action, and what they did with your secrets), Conversations (every agent's recorded conversation), Typed (what you typed) and Storage (where it is all kept). Jobs (what runs by itself) are in the Jobs pane. See Kanban, Vault, Audit and Jobs.
  • Pin any section — Panes with sections (Connectors, Memory, Settings, the Vault, Audit, Swarm) can be opened on one from the widget bar. Right-click the pane's header and choose Pin “Remotes” to bar, or add an entry with "section" to your widgets.json. See Sections.
  • Across machines — Find other AgentMux instances on your network (opt-in), message agents across machines over MuxBus, run terminals on SSH and WSL hosts (Connectors → Remotes), and watch a live agent feed from a paired phone. See LAN discovery and Connectors.
  • Work queue and schedules — Agents can enqueue, claim and finish shared tasks, and run prompts on a schedule with cron; a run missed while the app was closed is recorded as missed, and a schedule can ask for the latest one to be delivered when the agent returns.
  • Bundle import and export — Move an agent's setup between machines as a single file (ABF).
  • Drag and drop — Rearrange panes by dragging headers, reorder tabs, tear panes off into floating windows, and dock them into any window.
  • Real PTY support — Authentic terminal emulation via xterm.js and portable-pty.
  • Run multiple versions side-by-side — Each instance is fully isolated (separate CEF data, separate backend sidecar, separate ports). Test a new build while the old one is still running.
  • Local-first — Agents run on your machine, and AgentMux sends no telemetry. It checks GitHub Releases for new versions and, by default, downloads them (the update:auto and update:autodownload settings turn that off). A few features reach the network only when you use them: MuxBus cloud messaging, installing provider CLIs, and voice input, whose audio goes to Groq only after you add a Groq key in Settings → Recording and start voice input.

Quick Start

Prerequisites

Tool Version Purpose
Node.js 24.11+ (CI uses the exact version in .nvmrc) Frontend build
Rust pinned by rust-toolchain.toml; rustup installs it on first use Backend + CEF host
Task Latest Build orchestration
CMake 3.20+ CEF native build (cef-dll-sys)
Ninja 1.10+ CEF native build (cef-dll-sys)

Platform-specific:

  • Windows: Visual Studio Build Tools, and 7-Zip for task package. task dev finds Ninja itself (see BUILD.md)
  • macOS: Xcode Command Line Tools, brew install cmake ninja
  • Linux: build essentials, CMake, Ninja and the GTK/Wayland development packages; the full apt install line is in BUILD.md. Running AgentMux on Linux: docs/linux.md.
  • Optional: zig and cargo-zigbuild, to bundle the SSH remote helpers into a package. Without them, packaging prints a warning and skips the helpers.

Development

Starting from nothing (no Task, no toolchain installed yet)? See BUILD.md for scripts/bootstrap.sh / scripts/bootstrap.ps1, which install Task (and Git on Windows), and task init, which verifies the prerequisites above before you run anything else.

task init           # verify toolchain, install frontend dependencies
task dev            # CEF host + Vite hot reload

Production Build

task package            # Windows portable (.7z), on Windows
task package:macos      # macOS .dmg, on macOS
task package:linux      # Linux AppImage, on Linux

Each writes to ~/Desktop. task package builds a local portable with a unique build label — no version bump, no git changes. See SPEC_LOCAL_BUILD_VERSIONING_2026_05_28.md for the full build labeling and data-isolation details.

Logs

The muxlog helper (shipped in every AgentMux terminal) discovers and renders logs across every running instance — the shared dir, each task dev instance (~/.agentmux/dev/<branch>/), and per-build channels — so you never hunt for a file or guess a version. It defaults to your own instance (in an agent pane) and otherwise to the most-recently-active one and renders the NDJSON logs as compact time level target message.

What Command
List every instance's logs (newest first) muxlog ls
Tail the active host log (follow) muxlog host
Tail the active sidecar log muxlog srv
Frontend [fe] lines only muxlog fe
Launcher log muxlog launcher
Search the sidecar (agent transcript excluded) muxlog srv grep <regex>
Errors + warnings across host & sidecar muxlog errors
Startup-handshake trace (debug reconnect loops) muxlog bridge
Target a specific instance muxlog host -i <branch|version>
Full usage muxlog help

Works identically across task dev, portable, and installed builds. Full reference (targets, filters, recipes, how discovery works): docs/MUXLOG.md. Per-process log layout and the underlying data dirs: docs.agentmux.ai/internals/data-layout and /internals/debugging.

Widgets

The canonical list is crates/srv-core/src/config/widgets.json. Icons are Font Awesome Free names, vendored in public/fontawesome/.

On the widget bar by default, in this order:

Widget Icon View What it is
Agent wand-magic-sparkles agent An AI agent with streaming output and tool execution
Swarm people-group swarm Every agent, its subagents and background work, across machines
Memory brain memory Global and Personal Memory, Skills and Bundles
Connectors plug connectors Accounts, MCP servers, and SSH/WSL remotes
Files folder-open files File browser
Browser globe browser A native Chromium view
Settings cog settings App settings
Help circle-question help Built-in documentation

In the widget bar's "More" menu, in this order:

Widget Icon View What it is
Kanban table-columns kanban What every agent is working on, what waits for them, and what needs you
Terminal terminal term Terminal with xterm.js and a real PTY
Editor file-code editor Code editor with syntax highlighting; images and video open here too and update live as the file changes on disk
Messengers comments — A group: Discord, Slack, Telegram, WhatsApp and Teams, each a browser pane on the app's web client
Sysinfo chart-line sysinfo Live system metrics (CPU, memory, network, disk)
Drone diagram-project drone Visual DAG-of-blocks engine
Vault lock vault Your secrets, which agents use without seeing them
Toolchain wrench toolchain Node, npm, Git, Docker, provider CLIs and installed widgets
Tower tower-observation tower CPU and memory per pane and per process (a read-only task manager)
Audit list-check audit Sections: Events (what agents did: every jekt, fleet and pane action, and what they did with your secrets), Conversations, Typed and Storage (where history is kept)
Atlas map atlas Every agent on every machine, as a map
Reviews code-pull-request reviews Every task's pull request and review state

Jobs (what runs by itself: scheduled jobs, their runs and what they cost) is not a widget: open it from the command palette ("Open Jobs"). Its view id is warden.

Right-click a widget to pin it to the bar or unpin it, or to hide it. Opening one of the management panes (Settings, Memory, Vault and the like) focuses it if it is already open in the window; Shift-click opens another. As the title bar narrows, the widget bar drops its labels, then moves what doesn't fit into a "…" overflow button. Widgets you build yourself appear alongside these.

Sections

Some panes are a row of sections: Connectors (Accounts, MCP servers, Remotes), Memory (Global, Personal, Skills, Bundles), Settings (Appearance, Animations, Window & Panes, Browser, Terminal, Keyboard shortcuts, Sounds, Notifications & Tray, Recording, Paired devices, Widgets, Agents, Advanced), Swarm (Supervise, Broadcast) and the Vault (Personal data, Cards and banks, API keys, Logins, Notes, Kept by AgentMux, Activity). A widget-bar entry can open one of them on a given section. To add your own, right-click the pane's header and choose Pin “Remotes” to bar, or add an entry to your widgets.json, next to settings.json:

{
  "section@connectors-remotes": {
    "label": "Remotes",
    "icon": "server",
    "section": "remotes",
    "blockdef": { "meta": { "view": "connectors" } }
  }
}

"section": "cards" on "view": "vault" opens the Vault on Cards and banks. Settings ▸ Widgets flags a section the pane doesn't have. Each pane declares its sections on its manifest (frontend/app/store/pane-sections.ts); a widget opens one with am.panes.open("vault", { "vault:section": "cards" }).

Panes and tabs

Opening a widget from the widget bar puts it in its own pane — one leaf of the window's split layout. A pane isn't tied to one widget type, though: every pane is a generic container that holds an ordered list of tabs, and any of those tabs can be any widget. The pane's tab strip is its header (one row — icon, tabs, and the minimize/magnify/close controls together, not a header with a separate strip stacked under it), and the "+" on that strip opens a picker of every widget in the tables above, pinned or not. Pick one, and it's added as a new tab in that same pane — no new split, no growing tree. An agent pane with a terminal tab and a browser tab next to it, all in one pane, is a normal layout, not a special case.

Splitting the window into more panes is still there (drag a header to a pane's edge, or the widget bar's own click target): tabs add breadth to a pane you already have, splits add more panes.

Tabs inside each pane, so every pane holds several, come from cmux (manaflow-ai), an open-source terminal built for running multiple AI coding agents in parallel. Design rationale, terminology, and the full rollout plan: docs/specs/SPEC_PANE_TABS_UNIVERSAL_CMUX_REDESIGN_2026_09_17.md.

Not widgets — opened from elsewhere

Surface How to reach it
Agent setup Right-click an Agent pane for Seat…, Bundles… (in order, the bundles the agent starts with) and Personal memory; My Agents has Seat…, Bundles… and Environment…, plus Rename, Duplicate and View History. The accounts an agent signs in with are in Connectors → Accounts, its MCP servers in Connectors → MCP servers, its skills in Memory → Skills, its registration for messages between machines in the Swarm (the row's badge), and the agents hidden from paired devices in Settings → Paired devices.
The AgentMux menu The logo button in the top tab bar: New Tab, New Window, Theme, Opacity, Workspaces, Command Palette, DevTools, Online Docs, Reload Window, Exit. Settings, Connectors, Memory and Toolchain open from the widget bar or the command palette. Settings' footer has Open raw settings.json and Open raw widgets.json, which open in AgentMux's Editor.
Command Palette Ctrl+Shift+P (also Ctrl+P outside a terminal; ⌘P on macOS), or the AgentMux menu. Every keyboard shortcut is listed in Help and in docs/keybindings.md.
DevTools AgentMux menu → DevTools, or Toggle DevTools in the command palette, when developer mode is on (the default in dev builds). Toggles Chromium DevTools.

Agents

Each agent has two names:

Field Purpose Changeable?
Display name Shown in the picker, pane title, notifications ✅ Yes — rename any time
Slug Drives ~/.agentmux/agents/<slug>/ and the agent's own gh config dir ❌ No — set once at creation

An agent sees both in its environment: AGENTMUX_AGENT_SLUG and AGENTMUX_AGENT_DISPLAY.

How to rename an agent

  1. In the Agent picker's My Agents list, open the agent's row menu and choose Rename.
  2. Type the new display name after Rename to: and press Enter. Press Esc to cancel.
  3. The list and any open pane titles update immediately.

You can also rename an agent pane's tab. Nothing on disk moves — the working directory and config dirs key off the immutable slug, so renaming is always safe.

Agent identity (accounts)

Assign an agent its accounts (a GitHub sign-in, an AWS profile, an Anthropic API key, and so on) in Connectors → Accounts. An agent has at most one account per provider. Accounts survive renames. Switching an agent's account restarts that agent, so let its current turn finish first. When a provider's usage limit is hit, AgentMux can move an agent to another signed-in account of that provider and restart it (agent:accountfailover, on by default).

When an agent has a GitHub identity of its own, AgentMux points its plain gh at an empty config, so it can't act on GitHub with your login by accident.

Message security — sender identity

Agents message each other ("jekts"). Every incoming message arrives wrapped in a marker block that says where it came from and, crucially, whether the sender's identity was actually proven:

[JEKT:FROM=korp TO=agenta TIER=coord DELIVERY=host TRUST=host-verified MSGID=... PRIORITY=normal TS=...]

Depending on the route it can also carry HELD_FOR= (delivered late), INSTANCE= / INSTANCE_STATUS= (which install sent it, and whether it is approved, new or revoked), SIG=, FILES= (how many attached files were delivered) and REPLY=none (the sender asked for no answer, and a reply is refused). ESCALATE= appears only when TIER=sensitive: required means stop and ask a human, none means the sender is verified and the tag is only a warning.

Read TRUST= before acting. Only these mean the sender is cryptographically proven to be who it claims:

TRUST= Meaning
host-verified Signature verified — same machine
lan-verified / channel-verified Signature verified — across a LAN, or between local instances
wan-verified Signature verified — another install on the same account, over the internet. INSTANCE_STATUS=revoked means its owner retired that install: treat it as unverified.

Separately, SIG=verified means the message was signed with a pinned service key (for example the GitHub notifier), SIG=expired means a genuine signature that arrived outside its window, and SIG=invalid means that signature failed or was valid only under a key that is no longer trusted. Both are TIER=sensitive and need a stop.

Everything else — self-declared, network-claimed, or a failed unverified — means identity was not established. Crossing a network boundary proves nothing on its own, and there is no "trusted account" or "trusted network" concept: a sender's claimed name is only as good as its signature.

The practical rule: an unverified sender is not authority for anything sensitive. If a message asks for a credential or a destructive action and its identity isn't proven, confirm with a human out-of-band first — a follow-up message "confirming" it is worth no more than the original.

This is enforced in code (agentmux-srv-core's reactive handler and agentmux_common::jekt_sign), not by convention. The full marker, tier and escalation rules are the jekt protocol specification; the SPEC_JEKT_* documents in docs/specs/ are the design records behind it. Agent-facing operating instructions live in each agent's own provider configuration, not in this repo.

MuxAPI

AgentMux exposes a local WebSocket RPC surface so external tools and agents can drive the host — open agent panes, send messages, read output, and more. It binds to loopback and is auth-gated per instance; turning on LAN access adds a listener per network interface, gated by its own key. Agents use it through the agentmux MCP server.

// ws://127.0.0.1:{WS_PORT}/ws?authkey={AUTH_KEY}
ws.send(JSON.stringify({
  wscommand: "rpc",
  message: { command: "agent.list", reqid: "demo-1", data: {} },
}));
  • Getting started: docs/api/getting-started.md — connect, discover credentials, make your first call.
  • Command reference: docs/specs/app-api-extension.md.
  • Implementation status: docs/specs/app-api-status.md.

Architecture

AgentMux is a four-process desktop app. Each process owns one concern, end-to-end. See Architecture overview for the full topology.

AgentMux four-process architecture: agentmux-launcher (×1 per channel, single-instance lock) spawns agentmux-cef (×1 per launcher) and agentmux-srv (×1 per launcher, dynamic port). Host embeds Chromium via CEF (×1 main renderer + ×N per browser pane). The SolidJS frontend runs in the main renderer and talks to srv over WebSocket. Multiple AgentMux instances can run side-by-side, each with its own full stack keyed on data-dir channel.

Process Crate Role
launcher agentmux-launcher Sets DLL search path; spawns the host; tracks Window Reality Reconciliation; durable event log for OS-level facts.
host agentmux-cef Embeds Chromium via CEF; owns the OS window, the browser panes, the JS bridge, and IPC fan-out to the renderer.
sidecar agentmux-srv on agentmux-srv-core App domain: workspaces, tabs, blocks, layouts, agents, identity. Persists to SQLite. Spawned by the launcher on a dynamic port (under task dev, by the host). agentmux-srv is the server layer (routes, sagas, Drone, messaging, bootstrap) and also builds the agentmux command-line program; agentmux-srv-core holds storage, the provider registry, identity and the event bus.
renderer frontend/ SolidJS UI running inside CEF. Stateless — projects what the sidecar/host expose, dispatches user actions back through them.

Five more crates support them:

Crate Role
agentmux-common Shared utilities (path resolution, runtime mode, jekt signing) used by all of the above
agentmux-mcp The agentmux MCP server each agent runs: its tools for panes, shells, memory, messages, the work queue and more, over MuxAPI
agentmux-bashwrap Streams an agent's bash commands, and runs the hooks provider CLIs call
agentmux-remote AgentMux's helper on an SSH host: durable terminal sessions there
agentmux-procstats Per-process CPU and memory, read without elevation, for the Tower pane

Stack:

  • Frontend: SolidJS + TypeScript + Vite (state in SolidJS signals; the launcher, host and sidecar keep theirs in reducers)
  • Desktop: CEF via cef-rs — bundles its own Chromium; the pinned version is in scripts/cef-build/cef-runtime-pins.sh and shown in the app's version panel.
  • Backend: Rust (Tokio + Axum + SQLite + portable-pty)
  • Terminal: xterm.js

Build Commands

Command Description
task dev Development mode (CEF host + Vite hot reload)
task build:host Build the CEF host binary
task bundle Put the CEF runtime next to the host binary
task package / package:macos / package:linux Package a local build (Windows portable, macOS DMG, Linux AppImage)
task build:backend Build agentmux-srv
task build:frontend Build frontend only
npm test Run the frontend and script tests (vitest)
cargo nextest run -p <crate> Run the Rust tests (what CI runs; install with cargo install cargo-nextest)
task clean Remove dist/ (clean:host and clean:cef go further)

Build Outputs

Local build outputs:

Platform Task Artifact
Windows task package ~/Desktop/agentmux-<version>+g<sha>[.dirty].<stamp>.<pid>-x64-portable/ and .7z
macOS task package:macos ~/Desktop/AgentMux_<version>_arm64.dmg
Linux task package:linux ~/Desktop/AgentMux_*_amd64.AppImage

Release artifacts (macOS DMG; Windows installer, portable and MSIX; Linux AppImage, .deb, .rpm and .tar.xz; the server packages) are built by CI workflows in this repo. See §Releases.

CEF Fork — read before touching the Chromium layer

AgentMux ships a fork of CEF (agentmuxai/cef) carrying eight AgentMux-specific changes — 28 CEF source files plus 3 Chromium-side patches. Every Chromium milestone upgrade must carry all of them forward, for Windows, Linux and macOS together. We have lost pieces twice, both times silently — no error, no conflict, no failed build. Full practice: docs/cef-build/CEF_FORK_MAINTENANCE.md.

Our changes live in two layers, and they fail differently:

Layer A — Chromium-side patches Layer B — libcef-side commits
What cef/patch/patches/*.patch + patch.cfg edits to cef/libcef/**, cef/include/**
Applied by patcher.py at build time nothing — they are just commits on the branch
Fails loudly (.rej, non-zero exit) silently — the tree still compiles

Layer B is where both incidents happened. Nothing checks it.

The rules:

  • Build and release only from the integration branch — named for the milestone's branch number alone (the third part of the pinned version), never from a feature branch, even if the feature branch looks newer.
  • Never reuse a feature branch after its PR is merged — start a new one off <milestone>. See the branch-reuse rule in CEF_FORK_MAINTENANCE.md §1.1; violating it is exactly what caused the 2026-07 gap.
  • Merge the whole carry-set before cutting a release. A milestone's work is split across several branches; merging one and not the others silently drops features.
  • Newer-looking is not superset. Before building, this must print nothing (same milestone only — across an upgrade the carry-set is re-ported as new commits, so use the carry-set gate instead):
    git log --oneline <last-shipped-commit> --not <remote>/<milestone>
    Anything it prints is in the shipped artifact but not in what you are about to build — a regression you are about to ship.

Three traps that produce a wrong binary with no error:

  1. patcher.py takes no arguments in normal mode (only --patch-file / --patch-dir, and those take a patch name, not a path). Passing --root-dir fails, and a wrapper has swallowed that as a WARN and built anyway — applying zero of 112 patches. After running it, git status --porcelain in the Chromium tree must show hundreds of modified files; a clean tree means zero patches applied.
  2. Verify patch symbols with full nm. They are local, not exported — nm -gU misses every one and reports a false negative.
  3. The platform pins live in two files that move together: scripts/cef-build/cef-runtime-pins.sh (all three platforms, read by releases and by any build with a blank cef-runtime-tag) and scripts/cef-build/windows-runtime-pin.sh (what local Windows builds fetch and accept). Bump them together, from one fork commit. The release job requires the two Windows pins to be identical, but across Windows, Linux and macOS it compares only the leading milestone, so tags can agree on the milestone and still come from different fork commits with different carry-sets.

Version Management (Changesets)

Feature PRs add a changeset, not a version bump. RFC #857 Phase 2.

task changeset -- patch "fix(scope): short description"
# Allowed bump types: patch | minor | major

This creates a uniquely-named .changesets/<id>.md you commit with your code. Parallel-agent PRs never conflict on version files because they each have their own changeset filename.

A separate release PR consumes pending changesets. task release auto-detects the bump type (major > minor > patch); task release:patch / task release:minor let you force a specific type. All 5 version files are staged automatically.

Release PRs must contain only: changeset deletions, VERSION_HISTORY.md entry, and version bumps (package.json, Cargo.toml, Cargo.lock, package-lock.json).

See BUILD.md and .changesets/README.md for the full workflow.

Releases

Download

Stable release — see GitHub Releases for the latest published build.

Install from a terminal (the scripts check what they download against the release's signed manifest):

curl -fsSL https://agentmux.ai/install.sh | sh      # macOS and Linux
irm https://agentmux.ai/install.ps1 | iex           # Windows (PowerShell)
winget install --id 9P9QCXNNCRK3 --source msstore   # Windows, from the Microsoft Store

AgentMux Headless (no desktop window: it runs in the background and its web UI is a browser on its own loopback address) installs the same way, from the same signed release:

curl -fsSL https://agentmux.ai/install.sh | sh -s -- --headless                          # macOS (Apple Silicon) and Linux
& ([scriptblock]::Create((irm https://agentmux.ai/install.ps1))) -Headless              # Windows (PowerShell)

Then run agentmux setup. On Windows the script installs under %LOCALAPPDATA%\AgentMux\Headless, for you only, with no administrator rights; run it again to update.

Every file and command for every platform, with each file's size and SHA-256 and the Linux package repositories, is on All Downloads.

Nightly builds — built daily from main. Windows artifacts are kept 7 days, the others for the repository's default retention. Nightly builds

Platform Nightly artifact
🍎 macOS Apple Silicon AgentMux_*_arm64.dmg
🐧 Linux x86_64 AgentMux_*_amd64.AppImage, AgentMux_*_amd64.deb, AgentMux-*-1.x86_64.rpm, AgentMux_*_amd64-portable.tar.xz
🪟 Windows x64 (installer) AgentMux-*-x64-setup.exe
🪟 Windows x64 (portable) agentmux-*-x64-portable.7z
🪟 Windows x64 (MSIX / Store) AgentMux_*_x64.msix

Downloads require a GitHub account. Click the badge → latest passing run → Artifacts at the bottom.


Release artifacts

Builds run in parallel on ubuntu-22.04, macos-latest, and windows-latest. macOS builds are code-signed and notarized, and are built only when the patched macOS CEF runtime is available to CI. Windows builds produce both an Inno Setup installer and a portable .7z (Windows 11 opens it; Windows 10 needs 7-Zip).

Platform Artifact
macOS Apple Silicon AgentMux_*_arm64.dmg
Windows x64 (installer) AgentMux-*-x64-setup.exe
Windows x64 (portable) agentmux-*-x64-portable.7z
Windows x64 (MSIX / Store) AgentMux_*_x64.msix
Linux x64 (AppImage) AgentMux_*_amd64.AppImage
Linux x64 (Debian/Ubuntu) AgentMux_*_amd64.deb
Linux x64 (Fedora/RHEL) AgentMux-*-1.x86_64.rpm
Linux x64 (portable) AgentMux_*_amd64-portable.tar.xz
Headless, no desktop (Linux x64, Linux arm64, macOS Apple Silicon) agentmux-headless-*-linux-x64.tar.gz, agentmux-headless-*-linux-arm64.tar.gz, agentmux-headless-*-macos-arm64.tar.gz
Headless, no desktop (Windows x64) agentmux-headless-*-windows-x64.zip
Install scripts install.sh (macOS and Linux), install.ps1 (Windows)
Signed manifest AgentMux-*-manifest.json, AgentMux-*-envelope.json and AgentMux-*-envelope.json.sig: the size and SHA-256 of every file, signed; the install scripts check downloads against them

Release checklist

# 1. Consume changesets, bump version, update VERSION_HISTORY
task release              # auto-detect bump type from changesets
git diff --staged         # should contain ONLY changeset deletions + version bumps
git commit -m "chore: release v0.X.Y"
git push -u origin <branch>/release-v0.X.Y
# open PR, merge to main after review

# 2. Merging the release PR is enough: the release workflow tags and builds it.
#    If you must tag by hand, the release gate refuses the tag until the push CI run
#    on the release commit is green.

Contact Us

For enterprises interested in adopting or deploying AgentMux at scale, including technical consulting, sponsorship opportunities, or partnership inquiries, please contact us at [email protected].

Disclaimer

AgentMux is provided "AS IS", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and non-infringement.

Performance figures, feature descriptions, and any claims in this README are best-effort observations from our development environment — they are not guarantees. See LICENSE sections 7 (Disclaimer of Warranty) and 8 (Limitation of Liability) for the full terms.

License

AgentMux is released under the Apache License 2.0.

  • NOTICE — required attributions per Apache License 2.0 § 4(d)
  • LEGAL.md — corporate entity and legal contact
  • ACKNOWLEDGEMENTS.md — third-party software and attributions
  • SECURITY.md — vulnerability disclosure policy
  • CONTRIBUTING.md and CODE_OF_CONDUCT.md — how to contribute

Originally forked from Wave Terminal, copyright Command Line Inc., licensed under the Apache License 2.0.

Copyright © 2025-2026 AgentMux Corp.

About

The Open-Source Agent Operating Environment Built for Getting Work Done

agentmux.ai

Topics

agentic-aiknowledge-managementsoftware-development

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

27 stars

Watchers

2 watching

Forks

5 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.