Skip to content

agentmuxai/agentmux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

730 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

AgentMux Logo

AgentMux

Watch Your Agents. Stay in Control.

A rich monitoring and orchestration UI for AI agents. See every tool call, catch regressions mid-task, and tune your agent system in real time.

License Website

The Problem

Knowledge workers running AI agents across long-horizon tasks are blind while it happens. You can't see which agent found something important. You can't see which one went off-track. You can't redirect mid-task. You find out when it's done, or when something is wrong.

  • Agents regress. An agent fixes a bug and then undoes its own work in a later step. By the time you notice, the context is cold and the decision chain is opaque.
  • Guardrails are tuned blind. No live signal on which constraints are firing, which are too tight, which agents are working around.
  • Multi-agent conflicts are invisible. Two agents reach conflicting conclusions. The synthesis picks one. You never know the conflict happened.

What AgentMux Does

AgentMux is an open-source desktop application that surfaces what agents are doing in real time: tool calls, reasoning steps, source citations, output streams, and conflicts between agents. The human role is observer and supervisor, not driver.

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

  • Live agent monitoring — Watch every tool call and decision step as it happens. Catch an agent undoing correct work mid-task and redirect it before the damage compounds.
  • Multi-agent orchestration — Run parallel agents and see all of them at once. Spot conflicts before synthesis. Redirect any agent without killing the others.
  • Guardrail observability — See which constraints are active and firing. Tune your agent system from live signal, not post-mortem guesswork.
  • Built-in Claude integration — Agent sessions are first-class citizens alongside terminals, editor, and system metrics.
  • Forge widget — Agent picker wired to live Forge data for orchestration workflows.
  • Drag and drop — Rearrange panes by dragging headers, reorder tabs, drag panes and tabs across windows.
  • Per-pane zoom — Independent zoom level per pane, plus global chrome zoom.
  • Real PTY support — Authentic terminal emulation via xterm.js and portable-pty.
  • Shell integrationwsh binary deployable to remote hosts for multiplexed sessions.
  • 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.

Quick Start

Prerequisites

Tool Version Purpose
Node.js 22 LTS Frontend build
Rust 1.77+ 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 (CMake + Ninja ship with VS, but Ninja must be on PATH — see CLAUDE.md)
  • macOS: Xcode Command Line Tools, brew install cmake ninja
  • Linux: Build essentials, apt install cmake ninja-build

Development

npm install        # install frontend dependencies
task dev           # CEF host + Vite hot reload

Production Build

task cef:package:portable        # Windows portable ZIP
task cef:package:portable:linux  # Linux portable (planned)

Widgets

Available from the top bar (right side) or the window header right-click menu:

Widget Icon Description
Agent sparkles AI agent with streaming output and tool execution
Forge hammer Create and manage your agents
Swarm bee Multi-agent orchestration
Terminal square-terminal Terminal with xterm.js and real PTY
Sysinfo chart-line Live system metrics (CPU, memory, network, disk)
Settings cog Open settings in external editor
Help circle-question Built-in documentation and help
DevTools code Toggle WebView developer tools

Architecture

                    ┌─────────────────────────────────┐
                    │           Frontend               │
                    │   SolidJS + xterm.js + Jotai     │
                    └──────────────────┬───────────────┘
                                       │
                    ┌──────────────────▼───────────────┐
                    │           CEF Host                │
                    │   Bundled Chromium 146 (cef-rs)   │
                    │   IPC bridge + window management  │
                    └──────────────────┬───────────────┘
                                       │
                    ┌──────────────────▼───────────────┐
                    │       Backend Sidecar             │
                    │   agentmux-srv (Rust)           │
                    │   Tokio + Axum + SQLite           │
                    │   terminals, WebSocket, RPC       │
                    └──────────────────┬───────────────┘
                                       │
                    ┌──────────────────▼───────────────┐
                    │          agentmux-wsh                   │
                    │   Shell integration CLI           │
                    └──────────────────────────────────┘

Stack:

  • Frontend: SolidJS + TypeScript + Vite + Jotai
  • Desktop: CEF 146 via cef-rs — bundles its own Chromium (~148 MB ZIP, ~150 ms startup)
  • Backend: Rust (Tokio + Axum + SQLite + portable-pty)
  • Terminal: xterm.js

Note: The Tauri host (src-tauri/) is deprecated and no longer maintained. All development uses the CEF host. Tauri code remains in the repo for reference but should not be used.

Build Commands

Command Description
task dev Development mode (CEF host + Vite hot reload)
task cef:build Build the CEF host binary
task cef:bundle Bundle CEF runtime DLLs
task cef:package:portable Windows portable ZIP with launcher
task build:backend Build agentmux-srv + agentmux-wsh
task build:frontend Build frontend only
task test Run tests (vitest)
task clean Clean build artifacts

Build Outputs

Platform Artifact
Windows dist/agentmux-cef-*-x64-portable.zip

Version Management

Always use @a5af/bump-cli — never edit version numbers manually.

bump patch -m "Description" --commit   # bump, stage, and commit all version files
bump verify                            # check all files are consistent
bump show                              # display current version state

Config lives in .bump.json. See BUILD.md for the full workflow.

Releases

Releases are built by agentmuxai/agentmux-builder — a private repo that holds CI/CD workflows and signing secrets separate from the public source.

How it works

  1. The builder's workflow checks out this repo at the given ref
  2. Builds run in parallel on ubuntu-latest, macos-latest, and windows-latest
  3. Each job builds Rust backend binaries (agentmux-srv + agentmux-wsh), then builds the CEF host
  4. macOS builds are code-signed and notarized via Apple Developer credentials
  5. Windows builds include both an NSIS installer and a portable ZIP
  6. A final create-release job collects all artifacts and creates a GitHub Release on this repo

Triggering a release

# Manual workflow dispatch (pass a tag, branch, or SHA)
gh workflow run build.yml -R agentmuxai/agentmux-builder -f ref=v0.33.0

Release artifacts

Platform Artifact
macOS Apple Silicon AgentMux_*_aarch64.dmg
Windows x64 (installer) AgentMux_*_x64-setup.exe
Windows x64 (portable) agentmux-*-x64-portable.zip
Linux x64 (AppImage) AgentMux_*_amd64.AppImage
Linux x64 (deb) AgentMux_*_amd64.deb

Full release checklist

# 1. Bump version and commit
bump patch -m "Description" --commit
bump verify

# 2. Push and tag
git push origin main
git tag v0.X.Y && git push origin v0.X.Y

# 3. Trigger the builder (builds all platforms, creates GitHub Release)
gh workflow run tauri-build.yml -R agentmuxai/agentmux-builder -f ref=v0.X.Y

# 4. Wait for build to complete (~15-20 min)
gh run list -R agentmuxai/agentmux-builder --limit 1

# 5. Deploy landing site (fetches new release, updates download links)
cd /workspace/agentmux-landing
deploy run --env prod

# 6. Verify
gh release view v0.X.Y --repo agentmuxai/agentmux    # release exists with assets
curl -sf https://agentmux.ai/release.json | jq .version  # landing shows new version

License

Developed by AgentMux Corp. — Delaware corporation.

Apache-2.0 — Originally forked from Wave Terminal

About

Open-Source Integrated Agentic Workflow Environment Built for Getting Work Done

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors