You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Coding Agent Multiplexer - Run multiple AI agents in parallel
4
-
icon: ../../../../.icons/cmux.svg
4
+
icon: ../../../../.icons/mux.svg
5
5
verified: false
6
6
tags: [ai, agents, development, multiplexer]
7
7
---
8
8
9
-
# cmux
9
+
# mux
10
10
11
-
Automatically install and run [cmux](https://github.com/coder/cmux) in a Coder workspace. By default, the module installs `@coder/cmux@latest` from npm (with a fallback to downloading the npm tarball if npm is unavailable). cmux is a desktop application for parallel agentic development that enables developers to run multiple AI agents simultaneously across isolated cmux workspaces.
11
+
Automatically install and run mux in a Coder workspace. By default, the module installs `mux@next` from npm (with a fallback to downloading the npm tarball if npm is unavailable). mux is a desktop application for parallel agentic development that enables developers to run multiple AI agents simultaneously across isolated workspaces.
12
12
13
13
```tf
14
-
module "cmux" {
14
+
module "mux" {
15
15
count = data.coder_workspace.me.start_count
16
-
source = "registry.coder.com/coder/cmux/coder"
17
-
version = "1.0.2"
16
+
source = "registry.coder.com/coder/mux/coder"
17
+
version = "1.0.0"
18
18
agent_id = coder_agent.example.id
19
19
}
20
20
```
21
21
22
22
## Features
23
23
24
24
-**Parallel Agent Execution**: Run multiple AI agents simultaneously on different tasks
25
-
-**Cmux Workspace Isolation**: Each agent works in its own isolated environment
26
-
-**Git Divergence Visualization**: Track changes across different cmux agent workspaces
25
+
-**Mux Workspace Isolation**: Each agent works in its own isolated environment
26
+
-**Git Divergence Visualization**: Track changes across different mux agent workspaces
27
27
-**Long-Running Processes**: Resume AI work after interruptions
28
28
-**Cost Tracking**: Monitor API usage across agents
29
29
@@ -32,21 +32,21 @@ module "cmux" {
32
32
### Basic Usage
33
33
34
34
```tf
35
-
module "cmux" {
35
+
module "mux" {
36
36
count = data.coder_workspace.me.start_count
37
-
source = "registry.coder.com/coder/cmux/coder"
38
-
version = "1.0.2"
37
+
source = "registry.coder.com/coder/mux/coder"
38
+
version = "1.0.0"
39
39
agent_id = coder_agent.example.id
40
40
}
41
41
```
42
42
43
43
### Pin Version
44
44
45
45
```tf
46
-
module "cmux" {
46
+
module "mux" {
47
47
count = data.coder_workspace.me.start_count
48
-
source = "registry.coder.com/coder/cmux/coder"
49
-
version = "1.0.2"
48
+
source = "registry.coder.com/coder/mux/coder"
49
+
version = "1.0.0"
50
50
agent_id = coder_agent.example.id
51
51
# Default is "latest"; set to a specific version to pin
52
52
install_version = "0.4.0"
@@ -56,38 +56,38 @@ module "cmux" {
56
56
### Custom Port
57
57
58
58
```tf
59
-
module "cmux" {
59
+
module "mux" {
60
60
count = data.coder_workspace.me.start_count
61
-
source = "registry.coder.com/coder/cmux/coder"
62
-
version = "1.0.2"
61
+
source = "registry.coder.com/coder/mux/coder"
62
+
version = "1.0.0"
63
63
agent_id = coder_agent.example.id
64
64
port = 8080
65
65
}
66
66
```
67
67
68
68
### Use Cached Installation
69
69
70
-
Run an existing copy of cmux if found, otherwise install from npm:
70
+
Run an existing copy of mux if found, otherwise install from npm:
71
71
72
72
```tf
73
-
module "cmux" {
73
+
module "mux" {
74
74
count = data.coder_workspace.me.start_count
75
-
source = "registry.coder.com/coder/cmux/coder"
76
-
version = "1.0.2"
75
+
source = "registry.coder.com/coder/mux/coder"
76
+
version = "1.0.0"
77
77
agent_id = coder_agent.example.id
78
78
use_cached = true
79
79
}
80
80
```
81
81
82
82
### Skip Install
83
83
84
-
Run without installing from the network (requires cmux to be pre-installed):
84
+
Run without installing from the network (requires mux to be pre-installed):
85
85
86
86
```tf
87
-
module "cmux" {
87
+
module "mux" {
88
88
count = data.coder_workspace.me.start_count
89
-
source = "registry.coder.com/coder/cmux/coder"
90
-
version = "1.0.2"
89
+
source = "registry.coder.com/coder/mux/coder"
90
+
version = "1.0.0"
91
91
agent_id = coder_agent.example.id
92
92
install = false
93
93
}
@@ -99,6 +99,6 @@ module "cmux" {
99
99
100
100
## Notes
101
101
102
-
-cmux is currently in preview and you may encounter bugs
102
+
-mux is currently in preview and you may encounter bugs
103
103
- Requires internet connectivity for agent operations (unless `install` is set to false)
104
-
- Installs `@coder/cmux` from npm by default (falls back to the npm tarball if npm is unavailable)
104
+
- Installs `mux@next` from npm by default (falls back to the npm tarball if npm is unavailable)
0 commit comments