Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Setup Cmux"
name: "Setup Mux"
description: "Setup Bun and install dependencies with caching"
inputs:
install-imagemagick:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
fetch-depth: 0 # Required for git describe to find tags

- uses: ./.github/actions/setup-cmux
- uses: ./.github/actions/setup-mux
with:
install-imagemagick: true

Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
with:
fetch-depth: 0 # Required for git describe to find tags

- uses: ./.github/actions/setup-cmux
- uses: ./.github/actions/setup-mux
with:
install-imagemagick: true

Expand All @@ -99,14 +99,14 @@ jobs:
with:
fetch-depth: 0 # Required for git describe to find tags

- uses: ./.github/actions/setup-cmux
- uses: ./.github/actions/setup-mux

- uses: ./.github/actions/build-vscode-extension

- name: Upload VS Code extension artifact
uses: actions/upload-artifact@v4
with:
name: vscode-extension
path: vscode/cmux-*.vsix
path: vscode/mux-*.vsix
retention-days: 30
if-no-files-found: error
2 changes: 1 addition & 1 deletion .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
fetch-depth: 0 # Required for Chromatic to track changes

- uses: ./.github/actions/setup-cmux
- uses: ./.github/actions/setup-mux

- name: Generate version file
run: ./scripts/generate-version.sh
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
with:
fetch-depth: 0 # Required for git describe to find tags

- uses: ./.github/actions/setup-cmux
- uses: ./.github/actions/setup-mux

- name: Generate version file
run: ./scripts/generate-version.sh
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
with:
fetch-depth: 0 # Required for git describe to find tags

- uses: ./.github/actions/setup-cmux
- uses: ./.github/actions/setup-mux

- name: Build worker files
run: make build-main
Expand All @@ -101,7 +101,7 @@ jobs:
with:
fetch-depth: 0 # Required for git describe to find tags

- uses: ./.github/actions/setup-cmux
- uses: ./.github/actions/setup-mux

- name: Check if Ollama is pre-installed
id: check-ollama
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
with:
fetch-depth: 0 # Required for git describe to find tags

- uses: ./.github/actions/setup-cmux
- uses: ./.github/actions/setup-mux

- name: Install Playwright browsers
run: bun x playwright install --with-deps
Expand All @@ -183,7 +183,7 @@ jobs:
with:
fetch-depth: 0 # Required for git describe to find tags

- uses: ./.github/actions/setup-cmux
- uses: ./.github/actions/setup-mux

- name: Install system dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
with:
fetch-depth: 0 # Required for git describe to find tags

- uses: ./.github/actions/setup-cmux
- uses: ./.github/actions/setup-mux
with:
install-imagemagick: "true"

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
fetch-depth: 0 # Required for git describe to find tags

- uses: ./.github/actions/setup-cmux
- uses: ./.github/actions/setup-mux
with:
install-imagemagick: true

Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
with:
fetch-depth: 0 # Required for git describe to find tags

- uses: ./.github/actions/setup-cmux
- uses: ./.github/actions/setup-mux
with:
install-imagemagick: true

Expand All @@ -68,7 +68,7 @@ jobs:
with:
fetch-depth: 0 # Required for git describe to find tags

- uses: ./.github/actions/setup-cmux
- uses: ./.github/actions/setup-mux

- uses: ./.github/actions/build-vscode-extension

Expand All @@ -77,5 +77,5 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload ${{ github.event.release.tag_name }} \
vscode/cmux-*.vsix \
vscode/mux-*.vsix \
--clobber
2 changes: 1 addition & 1 deletion .github/workflows/terminal-bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
with:
fetch-depth: 0 # Required for git describe to find tags

- uses: ./.github/actions/setup-cmux
- uses: ./.github/actions/setup-mux

- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
Expand Down
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build System
# ============
# This Makefile orchestrates the cmux build process.
# This Makefile orchestrates the mux build process.
#
# Quick Start:
# make help - Show all available targets
Expand Down Expand Up @@ -110,7 +110,7 @@ dev-server: node_modules/.installed build-main ## Start server mode with hot rel
@bun x concurrently -k \
"bun x concurrently \"$(TSGO) -w -p tsconfig.main.json\" \"bun x tsc-alias -w -p tsconfig.main.json\"" \
"bun x nodemon --watch dist/main.js --watch dist/main-server.js --delay 500ms --exec 'NODE_ENV=development node dist/main.js server --host $(or $(BACKEND_HOST),localhost) --port $(or $(BACKEND_PORT),3000)'" \
"CMUX_VITE_HOST=$(or $(VITE_HOST),127.0.0.1) CMUX_VITE_PORT=$(or $(VITE_PORT),5173) VITE_BACKEND_URL=http://$(or $(BACKEND_HOST),localhost):$(or $(BACKEND_PORT),3000) vite"
"MUX_VITE_HOST=$(or $(VITE_HOST),127.0.0.1) MUX_VITE_PORT=$(or $(VITE_PORT),5173) VITE_BACKEND_URL=http://$(or $(BACKEND_HOST),localhost):$(or $(BACKEND_PORT),3000) vite"



Expand Down Expand Up @@ -225,7 +225,7 @@ test-coverage: ## Run tests with coverage

test-e2e: ## Run end-to-end tests
@$(MAKE) build
@CMUX_E2E_LOAD_DIST=1 CMUX_E2E_SKIP_BUILD=1 PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 bun x playwright test --project=electron $(PLAYWRIGHT_ARGS)
@MUX_E2E_LOAD_DIST=1 MUX_E2E_SKIP_BUILD=1 PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 bun x playwright test --project=electron $(PLAYWRIGHT_ARGS)

## Distribution
dist: build ## Build distributable packages
Expand Down Expand Up @@ -308,7 +308,7 @@ chromatic: node_modules/.installed ## Run Chromatic for visual regression testin
@bun x chromatic --exit-zero-on-changes

## Benchmarks
benchmark-terminal: ## Run Terminal-Bench with the cmux agent (use TB_DATASET/TB_SAMPLE_SIZE/TB_TIMEOUT/TB_ARGS to customize)
benchmark-terminal: ## Run Terminal-Bench with the mux agent (use TB_DATASET/TB_SAMPLE_SIZE/TB_TIMEOUT/TB_ARGS to customize)
@TB_DATASET=$${TB_DATASET:-terminal-bench-core==0.1.1}; \
TB_TIMEOUT=$${TB_TIMEOUT:-1800}; \
CONCURRENCY_FLAG=$${TB_CONCURRENCY:+--n-concurrent $$TB_CONCURRENCY}; \
Expand All @@ -333,10 +333,10 @@ benchmark-terminal: ## Run Terminal-Bench with the cmux agent (use TB_DATASET/TB
fi; \
echo "Using timeout: $$TB_TIMEOUT seconds"; \
echo "Running Terminal-Bench with dataset $$TB_DATASET"; \
export CMUX_TIMEOUT_MS=$$((TB_TIMEOUT * 1000)); \
export MUX_TIMEOUT_MS=$$((TB_TIMEOUT * 1000)); \
uvx terminal-bench run \
--dataset "$$TB_DATASET" \
--agent-import-path benchmarks.terminal_bench.cmux_agent:CmuxAgent \
--agent-import-path benchmarks.terminal_bench.mux_agent:CmuxAgent \
--global-agent-timeout-sec $$TB_TIMEOUT \
$$CONCURRENCY_FLAG \
$$LIVESTREAM_FLAG \
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div align="center">

<img src="docs/img/logo.webp" alt="cmux logo" width="15%" />
<img src="docs/img/logo.webp" alt="mux logo" width="15%" />

# cmux - coding agent multiplexer
# mux - coding agent multiplexer

[![CI](https://github.com/coder/cmux/actions/workflows/ci.yml/badge.svg)](https://github.com/coder/cmux/actions/workflows/ci.yml)
[![Build](https://github.com/coder/cmux/actions/workflows/build.yml/badge.svg?event=merge_group)](https://github.com/coder/cmux/actions/workflows/build.yml?query=event:merge_group)
Expand All @@ -11,7 +11,7 @@

</div>

![cmux product screenshot](docs/img/product-hero.webp)
![mux product screenshot](docs/img/product-hero.webp)

A desktop application for parallel agentic development.

Expand All @@ -27,7 +27,7 @@ Here are some specific use cases we enable:
- The stream will automatically resume after restarts or intermittent connection issues. If the model completes early we will show an indicator.
- **A/B testing**: run multiple workspaces in parallel on the same problem but different approaches,
abandon the bad ones.
- **Tangent exploration**: launch tangents in `cmux` away from main work
- **Tangent exploration**: launch tangents in `mux` away from main work

</details>

Expand All @@ -39,11 +39,11 @@ Here are some specific use cases we enable:
- **Multi-model** (`sonnet-4-*`, `gpt-5-*`, `opus-4-*`)
- Ollama supported for local LLMs ([docs](https://cmux.io/models.html#ollama-local))
- OpenRouter supported for long-tail of LLMs ([docs](https://cmux.io/models.html#openrouter-cloud))
- **VS Code Extension**: Jump into cmux workspaces directly from VS Code ([docs](https://cmux.io/vscode-extension.html))
- **VS Code Extension**: Jump into mux workspaces directly from VS Code ([docs](https://cmux.io/vscode-extension.html))
- Supporting UI and keybinds for efficiently managing a suite of agents
- Rich markdown outputs (mermaid diagrams, LaTeX, etc.)

cmux has a custom agent loop but much of the core UX is inspired by Claude Code. You'll find familiar features like Plan/Exec mode, vim inputs, `/compact` and new ones
mux has a custom agent loop but much of the core UX is inspired by Claude Code. You'll find familiar features like Plan/Exec mode, vim inputs, `/compact` and new ones
like [opportunistic compaction](https://cmux.io/context-management.html) and [mode prompts](https://cmux.io/instruction-files.html#mode-prompts).

**[Read the full documentation β†’](https://cmux.io)**
Expand Down
100 changes: 0 additions & 100 deletions benchmarks/terminal_bench/cmux-run.sh

This file was deleted.

Loading
Loading