### /tools install Progress Node Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/SPEC_AGENT_TOOL_STORE_2026_04_15.md Example of the progress node rendered in the agent document during the /tools install flow. ```text Installing tools... ⬇ jq [████████████████░░░░] 1.2MB / 1.5MB ⬇ fd waiting... ``` -------------------------------- ### Initialize and Run Development Environment Source: https://github.com/agentmuxai/agentmux/blob/main/README.md Use these commands to verify the toolchain, install dependencies, and start the development environment with hot reloading. ```bash task init # verify toolchain, install frontend dependencies task dev # CEF host + Vite hot reload ``` -------------------------------- ### Bootstrap and Initialize Environment Source: https://github.com/agentmuxai/agentmux/blob/main/BUILD.md Commands to install required tools and initialize the development environment. Step 1 handles tool installation, while 'task init' verifies the toolchain and installs dependencies. ```bash # 1. Get Task (and, on Windows, Git) installed: # macOS/Linux: sh scripts/bootstrap.sh # Windows (PowerShell) — works even before cloning, since it installs Git too: irm https://raw.githubusercontent.com/agentmuxai/agentmux/main/scripts/bootstrap.ps1 | iex # ...or, after cloning some other way (zip download, GitHub Desktop, etc.): powershell -ExecutionPolicy Bypass -File scripts\bootstrap.ps1 # 2. Verify the rest of the toolchain (Rust/Node/CMake/Ninja/git — including # minimum versions, not just presence) and install frontend dependencies: task init ``` -------------------------------- ### Run setup-sandbox-host on Sandbox Host Source: https://github.com/agentmuxai/agentmux/blob/main/tools/sandbox/README.md Executes the full setup script to install development tools and configure the sandbox host. Options allow skipping Parsec or dev tools installation, or specifying a custom AgentMux branch. ```powershell # Full setup - installs everything setup-sandbox-host # Skip Parsec if already installed setup-sandbox-host -SkipParsec # Skip dev tools if already installed setup-sandbox-host -SkipDevTools # Clone specific AgentMux branch setup-sandbox-host -AgentMuxBranch agentx/feature ``` -------------------------------- ### Install CMake and Ninja on Linux Source: https://github.com/agentmuxai/agentmux/blob/main/CLAUDE.md Commands to install build prerequisites using apt. ```bash apt install cmake ``` ```bash apt install ninja-build ``` -------------------------------- ### Electron and Tauri build size comparison output Source: https://github.com/agentmuxai/agentmux/blob/main/scripts/benchmarks/README.md Example output showing the size reduction achieved when comparing Electron builds in the dist/ directory against Tauri installers. ```text Electron Package: 142.3 MB Tauri Installer: 15.4 MB Size Reduction: 89.2% ✅ ``` -------------------------------- ### Install Rust on Windows Source: https://github.com/agentmuxai/agentmux/blob/main/BUILD.md Run the rustup installer to set up the Rust toolchain on Windows. ```powershell # Download from https://rustup.rs/ rustup-init.exe ``` -------------------------------- ### OpenClaw Shell Init Script (content.env) Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/openclaw-agent-runtime.md Example environment variables injected into the shell before the provider starts. ```text AGENT_NAME=agentclaw AGENTMUX_AGENT_ID=AgentClaw OPENCLAW_AGENT_ID=agentclaw OPENCLAW_GATEWAY_URL=ws://127.0.0.1:18789 ``` -------------------------------- ### First-Time Environment Setup Commands Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/openclaw-widget.md Commands executed upon submission of the environment setup form to configure the provider, API key, and launch the gateway. ```bash openclaw config set provider openclaw config set apiKey openclaw start ``` -------------------------------- ### Managed Installation Commands for Kimi Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/KIMI_PROVIDER_INTEGRATION_SPEC.md Commands for installing Kimi via uv or pip, intended for future managed installation support. ```bash # Via uv (recommended, creates isolated environment) uv tool install kimi-cli==1.37.0 # Via pip pip install --target ~/.agentmux//cli/kimi kimi-cli==1.37.0 ``` -------------------------------- ### Install Docker Desktop on Windows via Installer Executable Source: https://github.com/agentmuxai/agentmux/blob/main/docs/research/container-runtime-detection.md Performs a silent installation of Docker Desktop on Windows using the official installer executable. ```bash DockerDesktopInstaller.exe install --quiet --accept-license --backend=wsl-2 ``` -------------------------------- ### Apply Registry and Start Service via Command Line Source: https://github.com/agentmuxai/agentmux/blob/main/docs/archive/CRASH-DUMP-ANALYSIS-2026-03-26.md Commands to create the dump directory, import the registry file, and start the Windows Error Reporting service with administrative privileges. ```cmd mkdir C:\CrashDumps\agentmuxsrv reg import C:\Systems\agentmux\tools\enable-crash-dumps.reg net start WerSvc ``` -------------------------------- ### Install CMake and Ninja on macOS Source: https://github.com/agentmuxai/agentmux/blob/main/CLAUDE.md Commands to install build prerequisites using Homebrew. ```bash brew install cmake ``` ```bash brew install ninja ``` -------------------------------- ### Startup Event JSON Schema Examples Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/SPEC_SPLASH_STARTUP_TELEMETRY_2026_06_25.md Examples of structured JSON events for stage lifecycle and sub-item tracking, including migration and pruner-specific events. ```jsonc // Stage begins { "event": "startup_stage_begin", "stage": "migrations", // stable string key "label": "Migrations", // display label "t": 1234567890123 } // Unix ms (from launcher epoch) // Stage ends { "event": "startup_stage_end", "stage": "migrations", "duration_ms": 2341, "status": "ok" | "skipped" | "warn" | "error", "detail": "13 migrations checked, 2 applied" } // optional summary line // Sub-item within a stage (e.g. individual migrations) { "event": "startup_sub_begin", "stage": "migrations", "id": "0009_transcript_backfill", "label": "Transcript backfill" } { "event": "startup_sub_end", "stage": "migrations", "id": "0009_transcript_backfill", "duration_ms": 2456, "status": "ok", "detail": "12,847 transcripts indexed" } // Pruner-specific events (new) { "event": "startup_sub_begin", "stage": "pruner", "id": "scan", "label": "Scanning local channels" } { "event": "startup_sub_end", "stage": "pruner", "id": "scan", "duration_ms": 34, "status": "ok", "detail": "7 channels found, 3 dead" } { "event": "startup_sub_end", "stage": "pruner", "id": "delete", "duration_ms": 89, "status": "ok", "detail": "Freed 612 MB (3 dead channels)" } ``` -------------------------------- ### Basic MUXLOG usage examples Source: https://github.com/agentmuxai/agentmux/blob/main/docs/MUXLOG.md Examples of basic log retrieval commands using target and action arguments. ```bash muxlog host # follow host muxlog srv cat # dump the sidecar log muxlog host grep "window\.api" ``` -------------------------------- ### Install Linux dependencies (Debian/Ubuntu) Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/SPEC_LINUX_DOCS_UPDATE_2026_06_06.md Initial dependency installation command for Debian/Ubuntu systems. ```bash sudo apt install zip libwebkit2gtk-4.1-dev \ build-essential curl wget file libssl-dev \ libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev ``` -------------------------------- ### Install Project Dependencies Source: https://github.com/agentmuxai/agentmux/blob/main/BUILD.md Run this command after cloning the repository to install dependencies and configure git hooks. ```bash npm install ``` -------------------------------- ### POST /api/compuse/start Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/computer-use-pane.md Starts a new computer use session with a given prompt. ```APIDOC ## POST /api/compuse/start ### Description Starts a new computer use session. ### Method POST ### Endpoint /api/compuse/start ### Request Body - **pane_id** (string) - Required - **prompt** (string) - Required ### Response - **session_id** (string) - The ID of the created session ``` -------------------------------- ### Taskfile Configuration for Desktop Installation Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/linux-icon-and-desktop-2026-05-03.md Taskfile configuration to automate the desktop installation during the development build process. ```yaml install:linux:desktop: internal: true platforms: [linux] desc: Install ~/.local/share/applications/agentmux.desktop + hicolor icons. cmds: - bash scripts/install-linux-desktop.sh "{{.ROOT_DIR}}/dist/cef/agentmux-cef" dev:serve: # ... existing ... cmds: - task: install:linux:desktop # NEW — runs once before launch (idempotent) - task: build:host # ... rest unchanged ... ``` -------------------------------- ### Install Podman Source: https://github.com/agentmuxai/agentmux/blob/main/docs/research/container-runtime-detection.md Installs the Podman daemonless container runtime across supported platforms. ```bash brew install podman / winget install RedHat.Podman / apt install podman ``` -------------------------------- ### Install npm-based Providers Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/cli-install-spec.md Commands to initialize and install npm-based CLI providers within the versioned directory. ```bash cd ~/.agentmux//cli/codex/ npm init -y && npm install @openai/codex@0.107.0 # binary at: node_modules/.bin/codex[.cmd] ``` -------------------------------- ### Tool installation and verification logic Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/SPEC_AGENT_TOOL_STORE_2026_04_15.md Implements the tool installation workflow, including downloading, SHA-256 verification, extraction, and version recording. ```rust async fn install(&self, id: &str, progress: impl Fn(ToolProgress)) -> Result<()> { let spec = self.catalog.tool(id)?; let platform = current_platform()?; // "windows-x64" | "macos-arm64" | ... let download = spec.platform(platform)?; // 1. Download to downloads/ temp file let tmp = self.home.join("downloads").join(format!("{id}-tmp")); http_download(&download.url, &tmp, |done, total| { progress(ToolProgress { tool_id: id.to_string(), phase: ToolInstallPhase::Downloading, bytes_done: done, bytes_total: total, error: None }); }).await?; // 2. SHA-256 verify progress(ToolProgress { ..., phase: ToolInstallPhase::Verifying }); verify_sha256(&tmp, &download.sha256)?; // 3. Extract progress(ToolProgress { ..., phase: ToolInstallPhase::Extracting }); let bin_src = match &download.extract { Extract::None => tmp.clone(), Extract::Zip => extract_zip(&tmp, &download.bin_in_archive, &self.home.join("downloads"))?, Extract::TarGz => extract_targz(...), }; // 4. Copy to bin/ let dest = self.home.join("bin").join(&download.bin); fs::copy(bin_src, &dest)?; #[cfg(unix)] { set_executable(&dest)?; } // 5. Update versions.json self.record_installed(id, &spec.version)?; // Cleanup fs::remove_dir_all(self.home.join("downloads"))?; progress(ToolProgress { ..., phase: ToolInstallPhase::Done }); Ok(()) } ``` -------------------------------- ### Install Colima and Docker CLI Source: https://github.com/agentmuxai/agentmux/blob/main/docs/research/container-runtime-detection.md Installs Colima and the Docker CLI on macOS or Linux. ```bash brew install colima docker ``` -------------------------------- ### Install and Verify Development Tools Source: https://github.com/agentmuxai/agentmux/blob/main/docs/recovery/MAKS_CONVERSATION_2026_05_23.md Checks for the presence of required @a5af packages and installs them globally if missing. Followed by a version check for key tools. ```bash npm list -g @a5af/secrets @a5af/deploy-cli @a5af/database-cli @a5af/api-testing @a5af/file-tools @a5af/e2e-cli @a5af/reagent-cli @a5af/workspace-health 2>/dev/null | grep '@a5af/' || npm install -g @a5af/secrets @a5af/deploy-cli @a5af/database-cli @a5af/api-testing @a5af/file-tools @a5af/e2e-cli @a5af/reagent-cli @a5af/workspace-health ``` ```bash secrets --version && deploy --version && reagent --version ``` -------------------------------- ### Install Docker on Linux via Convenience Script Source: https://github.com/agentmuxai/agentmux/blob/main/docs/research/container-runtime-detection.md Installs Docker on Linux using the official convenience script provided by Docker. ```bash curl -fsSL https://get.docker.com | sh ``` -------------------------------- ### Install Type Detection Logic Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/app-update-check.md The logic used at startup to determine the installation type for selecting the correct update path. ```text 1. Check for MSIX package identity (Windows API: GetCurrentPackageFullName) → If present: install_type = "msix" 2. Check if exe is inside a "portable" directory structure (exe_dir/bin/agentmuxsrv-rs.x64.exe exists) → If present: install_type = "portable" 3. Check for NSIS uninstall registry key (HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AgentMux) → If present: install_type = "nsis" 4. Check file extension/path patterns for Linux/macOS: - exe path contains ".AppImage" or APPIMAGE env var set → "appimage" - exe path under /Applications/ or .app bundle → "dmg" 5. Fallback: "unknown" ``` -------------------------------- ### Initial Setup and CEF Download Source: https://github.com/agentmuxai/agentmux/blob/main/docs/cef-build/build-patched-cef-windows.md Configures environment variables, creates the build directory, and downloads the CEF automation script. ```powershell $env:DEPOT_TOOLS_WIN_TOOLCHAIN = "0" $env:PATH = "C:\depot_tools;$env:PATH" New-Item -ItemType Directory -Force -Path "$HOME\cef-build" | Out-Null Set-Location "$HOME\cef-build" New-Item -ItemType Directory -Force -Path "chromium_git" | Out-Null Set-Location "chromium_git" Invoke-WebRequest -Uri "https://bitbucket.org/chromiumembedded/cef/raw/master/tools/automate/automate-git.py" -OutFile "automate-git.py" # First sync (downloads chromium ~99 GB, takes hours) python3 automate-git.py ` --download-dir="$(Get-Location)" ` --branch=7778 ` --no-distrib ` --no-build ``` -------------------------------- ### Linux Desktop Installation Script Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/linux-icon-and-desktop-2026-05-03.md A bash script to install the desktop entry and icons to the user's local directory, ensuring idempotency. ```bash #!/usr/bin/env bash # Install agentmux.desktop + hicolor icon files for the current user. # Idempotent: re-runs are safe; updates Exec= / Icon= if changed. # # Usage: bash scripts/install-linux-desktop.sh # — absolute path to the binary OR AppImage that the .desktop's # Exec= line should point to. # # Removes any pre-existing /home/USER/.local/share/applications/agentmux.desktop # that has a stale absolute Exec= path or wrong-case Icon= field. set -euo pipefail EXEC_PATH="${1:?usage: $0 }" REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)" APPS_DIR="$HOME/.local/share/applications" ICONS_ROOT="$HOME/.local/share/icons/hicolor" mkdir -p "$APPS_DIR" # 1. Install icons for size in 16 32 48 64 128 256 512; do dst="$ICONS_ROOT/${size}x${size}/apps/agentmux.png" src="$REPO_ROOT/assets/linux/icons/hicolor/${size}x${size}/apps/agentmux.png" if [ -f "$src" ]; then mkdir -p "$(dirname "$dst")" cp -f "$src" "$dst" fi done svg_src="$REPO_ROOT/assets/linux/icons/hicolor/scalable/apps/agentmux.svg" if [ -f "$svg_src" ]; then mkdir -p "$ICONS_ROOT/scalable/apps" cp -f "$svg_src" "$ICONS_ROOT/scalable/apps/agentmux.svg" fi # 2. Render .desktop (substitute Exec=) desktop="$APPS_DIR/agentmux.desktop" sed "s|__EXEC__|$EXEC_PATH|" \ "$REPO_ROOT/assets/linux/agentmux.desktop" \ > "$desktop.tmp" && mv "$desktop.tmp" "$desktop" chmod 644 "$desktop" # 3. Refresh caches (best-effort; tools may not exist on minimal systems) update-desktop-database "$APPS_DIR" 2>/dev/null || true gtk-update-icon-cache -f "$ICONS_ROOT" 2>/dev/null || true echo "✓ Installed $desktop with Exec=$EXEC_PATH" ``` -------------------------------- ### Instrumenting startup stages in main.rs Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/SPEC_SPLASH_STARTUP_TELEMETRY_2026_06_25.md Examples of how to instrument existing startup stages using the StartupEventSink. ```rust // Before saga recovery sink.begin("saga", "Saga recovery"); run_saga_recovery(...).await; let n_recovered = ...; sink.end("saga", StartupStatus::Ok, Some(format!("{n_recovered} recovered"))); // Before migration subprocess sink.begin("migrations", "Migrations"); // ... spawn migrate subprocess, forward stdout as sub-events sink.end("migrations", StartupStatus::Ok, Some(migration_summary)); // Before srv spawn (concurrent with pruner) sink.begin("pruner", "Channel pruner"); tokio::spawn(pruner::run(sink.clone(), current_channel, channels_dir)); sink.begin("backend", "Backend startup"); let srv = spawn_srv(...).await; sink.end("backend", StartupStatus::Ok, Some(format!("ready on port {}", srv.port))); ``` -------------------------------- ### Pin Claude Code version Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/cli-install-research.md Example of pinning a specific version during installation. ```bash curl -fsSL https://claude.ai/install.sh | bash -s 1.0.58 ``` -------------------------------- ### Captured tool output example Source: https://github.com/agentmuxai/agentmux/blob/main/docs/analysis/AGENT_PANE_PTY_WRAP_2026_05_23.md Example of tool output showing hard line-wraps at 80 characters. ```text 99818cd feat(live-log): PTY-backed tool streaming + auto-expand inline panel (# 888) 633b1c3a feat(agent-pane): hover-expand tool blocks + show bash output (#825) ``` -------------------------------- ### CommandInstallTool Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/SPEC_AGENT_TOOL_STORE_2026_04_15.md Triggers the installation of specified tools and streams progress updates. ```APIDOC ## CommandInstallTool ### Description Initiates the installation process for a list of tool IDs. Progress is streamed back via a WPS file subject. ### Request Body - **tool_ids** (array) - List of tool identifiers to install. ``` -------------------------------- ### Production Build Pipeline Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/archive/phase14-electron-removal-complete.md Task workflow for creating production binaries and installers. ```text task build ├─ vite build (React → dist/) ├─ cargo build --release (Rust) ├─ Embed frontend in binary ├─ Bundle sidecars (agentmuxsrv, wsh) └─ Create installer (NSIS, DMG, DEB, AppImage) ``` -------------------------------- ### Install modal body compact opt-in Source: https://github.com/agentmuxai/agentmux/blob/main/docs/analysis/MODAL_COMPACT_VARIANT_ARCHITECTURE_2026_05_26.md Example of a specific modal body opting into compact mode overrides to handle min-width and min-height constraints. ```scss // _install-modal.scss .agent-install-modal-body { min-width: 560px; :where(.modal-layer-mount--compact) & { min-width: 0; min-height: 200px; // #1059: .agent-install-modal-term { min-width: 0; } } } ``` -------------------------------- ### Install Docker Desktop on Windows via winget Source: https://github.com/agentmuxai/agentmux/blob/main/docs/research/container-runtime-detection.md Installs Docker Desktop on Windows using the winget package manager, requiring administrative privileges. ```bash winget install Docker.DockerDesktop ``` -------------------------------- ### Initialize Title Bar Container and Custom Menu Bar Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/VSCODE_MENUBAR_REFERENCE.md Setup of the title bar flex regions and conditional installation of the custom menu bar widget. ```ts this.rootContainer = append(parent, $('.titlebar-container')); this.leftContent = append(this.rootContainer, $('.titlebar-left')); this.centerContent = append(this.rootContainer, $('.titlebar-center')); this.rightContent = append(this.rootContainer, $('.titlebar-right')); ... if (!this.isAuxiliary && !hasNativeMenu(...) && (!isMacintosh || isWeb) && this.currentMenubarVisibility !== 'compact') { this.installMenubar(); } ``` ```ts // installMenubar (416-429) this.customMenubar.value = this.instantiationService.createInstance(CustomMenubarControl); this.menubar = append(this.leftContent, $('div.menubar')); this.menubar.setAttribute('role', 'menubar'); this.customMenubar.value.create(this.menubar); ``` -------------------------------- ### McpPreloadTemplate Interface Definition Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/SPEC_ARMORY_PRELOADED_CREATIVE_MCP_CONNECTORS_2026_07_10.md Defines the structure for preloaded MCP templates, supporting both simple Tier A configurations and complex Tier B guided setup workflows. ```typescript // Extends the McpDraft shape used by mcp-model.ts's emptyMcpDraft()/startNew(). interface McpPreloadTemplate { id: string; // "ableton-live", "touchdesigner" displayName: string; icon: string; category: "daw" | "vj-visual" | "lighting" | "3d" | "design"; blurb: string; // one line, tile subtitle tier: "A" | "B"; platforms: ("windows" | "macos" | "linux")[]; // e.g. Logic Pro: ["macos"] riskNote?: string; // rendered as an unmissable callout, Tier A or B verifiedAgainst: string; // "Ableton Live 12.x + ableton-mcp (ahujasid), checked 2026-07-10" sourceUrl: string; // the upstream project this template points at // Tier A only: draftTemplate?: { transport: string; config: string }; // pre-filled McpDraft, name left blank for user // Tier B only — identical shape to Blender spec §4.7's AppConnector: prerequisites?: string[]; setupSteps?: ConnectorSetupStep[]; liveCheck?: { kind: "tcp" | "http"; port: number; path?: string }; mcpTemplate?: { transport: "stdio" | "url"; command?: string; args?: string[]; urlTemplate?: string }; troubleshooting?: { symptom: string; explanation: string }[]; } ``` -------------------------------- ### Run end-to-end test Source: https://github.com/agentmuxai/agentmux/blob/main/docs/archive/spec-cef-macos-build.md Execute the build and bundle tasks, then manually launch the application to verify the setup. ```bash task build:backend task cef:build task cef:bundle # Then manually run to test before automating: cd dist/cef && ./agentmux-cef --url=http://localhost:5173 ``` -------------------------------- ### Implement start_backend in backend/server/mod.rs Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/archive/go-to-rust-backend-port.md This function initializes stores, runs migrations, registers handlers, and starts WebSocket and HTTP servers, replacing the previous Go main-server.go entrypoint. ```rust pub async fn start_backend(app: &AppHandle) -> Result<(), Error> { // 1. Init stores let wstore = WaveStore::open(&data_dir.join("waveobj.db"))?; let fstore = FileStore::open(&data_dir.join("filestore.db"))?; // 2. Run migrations // (done automatically by WaveStore::open) // 3. Ensure initial data wcore::ensure_initial_data(&wstore)?; // 4. Start services let router = RpcRouter::new(); register_all_handlers(&router, &wstore, &fstore); // 5. Start WebSocket server (for wsh CLI compatibility) let ws_addr = find_free_port(); tokio::spawn(run_ws_server(ws_addr, router.clone())); // 6. Start HTTP server let http_addr = find_free_port(); tokio::spawn(run_http_server(http_addr, wstore.clone(), fstore.clone())); // 7. Start background tasks fstore.start_flusher(); tokio::spawn(heartbeat_loop(data_dir)); tokio::spawn(config_watcher(config_dir)); // 8. Emit ready event to frontend app.emit("backend-ready", BackendReady { ws_addr, http_addr })?; Ok(()) } ``` -------------------------------- ### Session Fixture Format Example (.session.ndjson) Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/SPEC_AGENT_PANE_SESSION_REPLAY_2026_05_12.md An example of the .session.ndjson file structure, including the header, event lines, and optional trailer. ```jsonc // Header (line 1): metadata + schema version { "kind": "header", "version": 1, "agentmux_version": "0.33.817", "schema_version": 8, "recorded_at": "2026-05-12T15:30:00Z", "provider": "claude", "block_id": "", "instance_name": "test-fixture", "redactions": ["session_id", "tool_use_id", "cwd"] } // Each subsequent line is one event { "seq": 1, "t_ms": 0, "src": "stream-json", "line": "{\"type\":\"message_start\",...}" } { "seq": 2, "t_ms": 14, "src": "stream-json", "line": "{\"type\":\"content_block_start\",...}" } { "seq": 3, "t_ms": 152, "src": "wps", "event": "tool_chunk", "scopes": ["block:"], "data": { "op": "chunk", "tool_id": "", "kind": "stdout", "content": "fixture line 1", "timestamp": 152 } } { "seq": 4, "t_ms": 197, "src": "wps", "event": "tool_chunk", "scopes": ["block:"], "data": { "op": "chunk", "tool_id": "", "kind": "stdout", "content": "fixture line 2", "timestamp": 197 } } { "seq": 5, "t_ms": 1340, "src": "dispatch", "blockId": "", "action": { "type": "PaneClicked", ... } } { "seq": 6, "t_ms": 1880, "src": "stream-json", "line": "{\"type\":\"content_block_start\",\"content_block\":{\"type\":\"tool_use\",\"id\":\"\",...}}" } { "seq": 7, "t_ms": 4500, "src": "stream-json", "line": "{\"type\":\"user\",\"message\":{\"content\":[{\"tool_use_id\":\"\",\"type\":\"tool_result\",...}]}}" } // ... etc // Optional trailer (last line): final document state + assertion targets { "kind": "trailer", "final_doc_node_count": 23, "final_status": "complete", "wall_time_ms": 4870 } ``` -------------------------------- ### Initialize CEF Build Environment Source: https://github.com/agentmuxai/agentmux/blob/main/docs/cef-build/build-patched-libcef.md Sets up the directory structure, downloads depot_tools, and performs the initial sync of the Chromium source code. ```bash mkdir -p ~/cef-build cd ~/cef-build # Get the chromium depot_tools git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git export PATH="$PWD/depot_tools:$PATH" # Get the CEF automate-git script mkdir -p chromium_git cd chromium_git wget https://bitbucket.org/chromiumembedded/cef/raw/master/tools/automate/automate-git.py # First sync (downloads chromium ~99 GB, takes hours) python3 automate-git.py \ --download-dir=$(pwd) \ --branch=7778 \ --no-distrib \ --no-build ``` -------------------------------- ### SetName usage example Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/SPEC_MCP_SETNAME_TARGET_ID_2026_06_19.md Example workflow showing how to discover window IDs using Layout and then rename a specific window using the new target_id parameter. ```text // Discover all windows Layout(query: "windows") → [{ window_id: "88b2e33c-...", name: "" }, ...] // Name a specific one SetName(target: "window", name: "Dev", target_id: "88b2e33c-...") ``` -------------------------------- ### CLI tool availability check examples Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/SPEC_AGENT_TOOL_STORE_2026_04_15.md Examples of shell commands failing due to missing tools in the host PATH, which the Agent Tool Store aims to resolve. ```bash $ jq --version command not found: jq $ fd --help command not found: fd ``` -------------------------------- ### Install OrbStack on macOS Source: https://github.com/agentmuxai/agentmux/blob/main/docs/research/container-runtime-detection.md Installs the OrbStack container runtime on macOS. ```bash brew install orbstack ``` -------------------------------- ### ForgeAgent Accounts JSON Example Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/SPEC_AGENT_STARTUP_SEQUENCE_2026_04_16.md Example of the JSON structure for ForgeAgent.accounts. ```json {"github": "acct-1713000000-abc", "aws": null} ``` -------------------------------- ### amux CLI usage examples Source: https://github.com/agentmuxai/agentmux/blob/main/docs/analysis/ANALYSIS_AGENT_APP_API_OPEN_IN_EDITOR_2026_05_30.md Examples of using the amux binary to perform various actions from within an agent's tool call or a terminal. ```bash $ amux open ./src/foo.ts # from inside an agent's tool call (Phase 1) $ amux open ./src/ # folder $ amux open --new-pane ./src/foo.ts # opt out of reuse $ amux browse https://docs.example $ amux say "agent finished phase 2" ``` -------------------------------- ### Build and verify project Source: https://github.com/agentmuxai/agentmux/blob/main/docs/plans/PLAN_LINUX_TRANSPARENCY_AGENTU_2026_07_01.md Run these commands to verify the agentmux-cef package and start the development instance. ```bash cargo check -p agentmux-cef # must pass before anything else task dev # branch-keyed dev instance ``` -------------------------------- ### Install Claude Code via macOS/Linux/WSL Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/cli-install-research.md Installation command for Unix-based systems. ```bash curl -fsSL https://claude.ai/install.sh | bash ``` -------------------------------- ### Benchmark Console Output Source: https://github.com/agentmuxai/agentmux/blob/main/scripts/benchmarks/README.md Example output showing startup time, memory usage, and bundle size measurements. ```text ======================================== Startup Time Measurement ======================================== Running 5 iterations... Run 1/5... 342ms Run 2/5... 328ms Run 3/5... 335ms Run 4/5... 331ms Run 5/5... 340ms Results: Average: 335.2ms Median: 335ms Min: 328ms Max: 342ms ======================================== Memory Usage Measurement ======================================== Idle Memory: 42.5 MB After Init: 48.3 MB ======================================== Bundle Size Measurement ======================================== AgentMux.exe: 8.2 MB Installer (.msi): 15.4 MB Electron Package: 142.3 MB Size Reduction: 89.2% ======================================== Summary ======================================== Startup Time (avg): 335.2ms Memory Usage (idle): 42.5 MB Executable Size: 8.2 MB ``` -------------------------------- ### Build Pipeline Steps Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/cef-portable-build.md Standard commands to build the frontend and CEF host for the portable distribution. ```bash # 1. Build frontend (production) npx vite build --config vite.config.tauri.ts # 2. Build CEF host (release) cargo build --release -p agentmux-cef # 3. Bundle portable # (see Taskfile cef:package task or manual script below) ``` -------------------------------- ### Install linkify-it dependencies Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/SPEC_AGENT_PANE_HYPERLINKS_2026_06_20.md Commands to install the linkify-it library and its TypeScript definitions. ```bash pnpm add linkify-it pnpm add -D @types/linkify-it ``` -------------------------------- ### Launch development environment Source: https://github.com/agentmuxai/agentmux/blob/main/docs/status/STATUS_COMPOSER_STRIP_ZONE_BALANCE_HANDOFF_2026_08_25.md Commands to navigate to the worktree and start the development build process. ```bash cd npm run dev ``` -------------------------------- ### Install Claude Code via npm Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/cli-install-research.md Deprecated installation method using npm. ```bash npm install -g @anthropic-ai/claude-code ``` -------------------------------- ### Install Claude Code via WinGet Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/cli-install-research.md Installation command for Windows using WinGet. ```powershell winget install Anthropic.ClaudeCode ``` -------------------------------- ### Install Claude Code via Homebrew Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/cli-install-research.md Installation command for macOS using Homebrew. ```bash brew install --cask claude-code ``` -------------------------------- ### Run Local Development Build Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/SPEC_CEF_PROPRIETARY_CODECS_MACOS_BUILD_2026_07_27.md Point the local development environment to the newly built framework to test codec playback. ```bash AGENTMUX_CEF_RUNTIME_DIR_DARWIN=~/cef-build/chromium/chromium/src/out/Release_GN_arm64 task dev ``` -------------------------------- ### Install Claude Code via Windows PowerShell Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/cli-install-research.md Installation command for Windows PowerShell. ```powershell irm https://claude.ai/install.ps1 | iex ``` -------------------------------- ### Manual Build Configuration Source: https://github.com/agentmuxai/agentmux/blob/main/docs/cef-build/build-patched-libcef.md Manual steps to regenerate wrappers, copy build arguments, and generate the GN build files. ```bash cd ~/cef-build/chromium_git/chromium/src ( cd cef && python3 tools/translator.py --root-dir . ) # regen wrappers FIRST cp /path/to/agentmux/scripts/cef-build/args.gn out/Release_GN_x64/args.gn ./buildtools/linux64/gn gen out/Release_GN_x64 ``` -------------------------------- ### Example devcontainer.json configuration Source: https://github.com/agentmuxai/agentmux/blob/main/docs/research/container-runtime-detection.md A sample configuration file defining the container image, features, mounts, and post-creation commands. ```json { "name": "agentmux-agent", "image": "node:22-slim", "features": { "ghcr.io/devcontainers/features/git:1": {}, "ghcr.io/devcontainers/features/python:1": {} }, "mounts": [ "source=${localEnv:HOME}/.claude,target=/home/vscode/.claude,type=bind" ], "postCreateCommand": "npm install -g @anthropic-ai/claude-code@latest", "remoteUser": "vscode" } ``` -------------------------------- ### Verify Gemini CLI installation Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/cli-install-research.md Command to verify the installation of the Gemini CLI tool. ```bash gemini --version ``` -------------------------------- ### Verify Codex CLI installation Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/cli-install-research.md Command to verify the installation of the Codex CLI tool. ```bash codex --version ``` -------------------------------- ### Startup Initialization JavaScript Source: https://github.com/agentmuxai/agentmux/blob/main/index.html Handles window transparency configuration and displays the session restoration headline based on URL parameters before the first paint. ```javascript // Set --window-opacity before first paint so the translucent SCSS default // (0.45) doesn't flash for window:transparent=false users. // The host appends window_transparent=0|1 to the URL at launch time. (function() { var t = new URLSearchParams(location.search).get('window_transparent'); if (t === '0') { document.documentElement.style.setProperty('--window-opacity', '1'); } })(); // SPEC_PILLAR1_STEP4 Phase 4 — show the "Restoring session..." headline // before first paint when this window was opened by the crash-reproject // driver (reproject_from_snapshot / reproject_from_srv in // agentmux-cef/src/commands/window/creation.rs append &restoring=1 to // the URL; an interactive "New Window"/"New Subwindow" never does). (function() { if (new URLSearchParams(location.search).get('restoring') === '1') { document.addEventListener('DOMContentLoaded', function() { var el = document.getElementById('startup-loading-headline'); if (el) { el.style.display = 'block'; } }); } })(); ``` -------------------------------- ### Power-user workspace scripting example Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/archive/SPEC_RETIRE_WSH_2026_04_12.md Demonstrates using wsh subcommands to provision a multi-pane workspace via a shell script. ```bash # Morning dashboard.sh wsh term --cwd ~/projectA -t "Backend" wsh term --cwd ~/projectB -t "Frontend" wsh view ~/status.md wsh web https://grafana.internal/d/api-latency ``` -------------------------------- ### Verify Claude Code installation Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/cli-install-research.md Commands to verify the installation of the Claude CLI tool. ```bash claude --version / claude doctor ``` -------------------------------- ### Create child browser using CefWindowInfo Source: https://github.com/agentmuxai/agentmux/blob/main/docs/reports/BROWSER_PANE_ARCHITECTURE_DECISION_2026_04_17.md Demonstrates how to retrieve the main window's native handle and initialize a child browser using CefWindowInfo. ```rust // Get main window's native handle let main_hwnd = main_browser.host().unwrap().window_handle(); // Create child browser let mut window_info = CefWindowInfo::new(); window_info.set_as_child(main_hwnd, rect); CefBrowserHost::CreateBrowser( &window_info, client, url, &settings, None, // extra_info None, // request_context ); ``` -------------------------------- ### Agent instructions for building and testing Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/portable-build-spec.md Standard operating procedure for agents to bump the version, build the package, and verify the output. ```bash # 1. Bump version (REQUIRED before every build) bump patch -m "description" --commit # 2. Build and package (single command) task cef:package:portable # 3. Test # Launch ~/Desktop/agentmux-cef-{version}-x64-portable/agentmux.exe ``` -------------------------------- ### Verify A0 launcher implementation Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/SPEC_LAUNCHER_LINUX_PACKAGED_AND_SPLASH_2026_06_05.md Commands to build the project, bundle the AppImage, and verify the process tree structure. ```bash task build:host && task build:backend && task build:frontend && task bundle bash scripts/build-appimage-linux.sh ~/Desktop ~/Desktop/AgentMux__amd64.AppImage & sleep 5 pstree -p $(pgrep -f AgentMux_.*.AppImage) # Expected: # AgentMux_.AppImage(N)─┬─agentmux-launcher(N+1)─┬─agentmux-srv-..(N+2) # │ └─agentmux-cef(N+3)─┬─zygote # │ └─renderers ``` -------------------------------- ### Install Rust on macOS Source: https://github.com/agentmuxai/agentmux/blob/main/BUILD.md Use the official rustup script to install Rust on macOS. ```bash curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh ``` -------------------------------- ### Recommended Startup Sequence for CEF Source: https://github.com/agentmuxai/agentmux/blob/main/docs/analysis/cef-white-flash-on-startup.md A step-by-step sequence to eliminate white flashes by coordinating Win32 window creation, DWM cloaking, and CEF browser initialization. ```text Startup sequence: 1. Register WNDCLASSEX with dark hbrBackground (Solution 2A) 2. CreateWindowEx (window exists but is white in DWM) 3. Cloak the window with DWMWA_CLOAK (Solution 1) 4. ShowWindow(SW_SHOW) -- cloaked, user sees nothing 5. FillRect entire client area with dark brush (Solution 1) 6. Uncloak -- user sees dark window instantly (Solution 1) 7. CefBrowserHost::CreateBrowser with background_color=0xFF222222 (Solution 3) 8. CEF renderer initializes and paints first frame (brief moment where dark GDI paint is visible, then CEF content appears) ``` -------------------------------- ### Example output for muxlog phases Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/SPEC_AGENT_TURN_PHASE_TIMELINE_LOGGING_2026_08_18.md Sample output demonstrating the chronological stream of events including frontend and server logs. ```text 13:29:07.328 fe Idle → Done cmd=TurnEnd 13:29:07.307 srv turn_active: true→false 13:29:32.191 fe Done → Streaming cmd=StreamFlushObserved (stray) toolsActive=0 13:30:17.xxx fe watchdog: tick (no recovery — 45s idle) ``` -------------------------------- ### Platform-Specific Install Commands Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/openclaw-widget.md Commands displayed to the user for installing OpenClaw based on their operating system. ```powershell iwr -useb https://openclaw.ai/install.ps1 | iex ``` ```bash curl -fsSL https://openclaw.ai/install.sh | bash ``` -------------------------------- ### Claude CLI Installation Scripts Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/cli-install-research.md Recommended installation scripts for Claude on Unix and Windows systems. ```bash curl -fsSL https://claude.ai/install.sh | bash ``` ```powershell irm https://claude.ai/install.ps1 | iex ``` -------------------------------- ### Open shared store at startup Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/SPEC_GLOBAL_IDENTITY_MEMORY_DRONE_2026_06_24.md Logic for initializing the SharedStore connection in main.rs, including error handling that defaults to per-channel storage if the shared store fails to open. ```rust let shared_store: Option> = registry::resolve_shared_store_path().and_then(|path| { match SharedStore::open(&path) { Ok(s) => { tracing::info!(path = %path.display(), "shared store opened"); Some(Arc::new(s)) } Err(e) => { tracing::warn!(error = %e, "shared store open failed — identity/memory/drone stay per-channel"); None } } }); ``` -------------------------------- ### Build and run development environment Source: https://github.com/agentmuxai/agentmux/blob/main/docs/analysis/pty-duplicate-output-debug.md Use this command to build the project or start the development server with hot reloading to observe terminal output logs. ```bash npm run build:dev # or task dev for hot reload ``` -------------------------------- ### OpenAI Codex Installation Commands Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/cli-install-research.md Installation commands for OpenAI Codex across different platforms. ```bash npm install -g @openai/codex ``` ```bash brew install --cask codex ``` -------------------------------- ### Terminal-as-automation-API example Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/archive/SPEC_RETIRE_WSH_2026_04_12.md Demonstrates the intended use of wsh view to trigger a UI preview pane from a shell command. ```bash curl -o data.json https://api.example.com/foo wsh view data.json # preview pane opens right next to the terminal ``` -------------------------------- ### Install Claude Code via Windows CMD Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/cli-install-research.md Installation command for Windows Command Prompt. ```cmd curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd ``` -------------------------------- ### Install testing dependencies Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/SPEC_LAUNCH_MODAL_INTEGRATION_TESTS_2026_05_19.md Install the required testing libraries for SolidJS and JSDOM as development dependencies. ```bash npm i -D @solidjs/testing-library @testing-library/user-event @testing-library/jest-dom jsdom ``` -------------------------------- ### Logging configuration in settings.json Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/runtime-logging.md Example configuration for setting global log levels, module-specific overrides, and retention duration. ```json { "logging": { "level": "info", "modules": { "agentmuxsrv::backend::blockcontroller": "debug", "agentmuxsrv::server::websocket": "debug" }, "retention_days": 7 } } ``` -------------------------------- ### Install claw bootstrap Source: https://github.com/agentmuxai/agentmux/blob/main/docs/analysis/agentx-git-identity-2026-04-14.md Installs the claw tool using the provided PowerShell bootstrap script. ```powershell irm https://raw.githubusercontent.com/a5af/claw/main/bootstrap.ps1 | iex ``` -------------------------------- ### PR title prefix example Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/SPEC_PR_TITLE_AGENT_HOST_PREFIX_2026_08_22.md An example of the PR title prefix applied to a pull request. ```text Korp@claudius: fix(muxlog): srv logs honor AGENTMUX_LOG_DIR, fix channels/ glob depth mismatch ``` -------------------------------- ### Initialize Tauri CLI and project Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/archive/tauri-migration-complete.md Commands to install the necessary Tauri CLI tools and initialize the project structure within the AgentMux root directory. ```bash # From agentmux root cargo install create-tauri-app npm install @tauri-apps/cli @tauri-apps/api npx tauri init ``` -------------------------------- ### AgentMux Provider Installation Commands Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/cli-install-research.md Commands to install specific versions of Codex and Gemini into the AgentMux directory. ```bash npm install --prefix ~/.agentmux/cli/codex @openai/codex@0.107.0 ``` ```bash npm install --prefix ~/.agentmux/cli/gemini @google/gemini-cli@0.31.0 ``` -------------------------------- ### Cold-start sequence for open_new_window Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/SPEC_POOL_COVERAGE_AND_ROADMAP_2026_06_20.md The current cold-start process for opening a new window, showing the latency breakdown from user input to interactive state. ```text user: Cmd+N → IPC: open_new_window → open_window_with_kind(FullInstance, None) → get_offset_position() → 30px right+down from current window → post CreateWindowTask CEF spawn: ~150ms frontend cold-load: ~2–3s window interactive: ~2.5–3.5s total ``` -------------------------------- ### Launch-time Naming via Environment Variables Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/SPEC_AGENT_API_FIRST_CLASS_SURFACE_2026_06_17.md Example of setting the window name at startup using the AGENTMUX_WINDOW_NAME environment variable. ```bash AGENTMUX_WINDOW_NAME="repro #1503" task dev ``` -------------------------------- ### Install Linux Build Tools Source: https://github.com/agentmuxai/agentmux/blob/main/BUILD.md Install required build dependencies and development headers on Debian/Ubuntu systems. ```bash sudo apt install cmake ninja-build build-essential curl wget file libssl-dev git zip \ libwayland-dev libxkbcommon-dev libgtk-3-dev \ libglib2.0-dev libpango1.0-dev libcairo2-dev \ libgdk-pixbuf2.0-dev libatk1.0-dev ``` -------------------------------- ### Example telemetry:numpoints in settings.json Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/sysinfo-history-length.md Shows how the setting is configured within the user's settings.json file. ```json // -- Telemetry -- // "telemetry:enabled": true, "telemetry:interval": 0.2, "telemetry:numpoints": 300, ``` -------------------------------- ### Collapsed State Examples Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/tool-collapse.md Visual examples of the collapsed tool call state showing different statuses. ```text ✓ Read ... ✓ Edit ... ✗ Bash ... ⏳ Grep ... ✓ Reading Files (3) ... ``` -------------------------------- ### Distorted output example Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/SPEC_TOOL_PREVIEW_REFINEMENTS_2026_06_26.md An example of how long paths are incorrectly wrapped due to the current CSS settings. ```text ./frontend/app/view/agent/compon ents/ToolBlock.tsx ``` -------------------------------- ### Build and Run CEF Testbed Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/cef-white-flash-testbed.md Commands to build the testbed, copy required CEF dependencies to the release directory, and execute different variants to test initialization behavior. ```bash # Build cargo build -p cef-testbed --release # Copy CEF DLLs (one-time) cp dist/cef/*.dll target/release/ cp dist/cef/*.pak target/release/ cp dist/cef/*.bin target/release/ cp -r dist/cef/locales target/release/ cp cef-testbed/test-page.html target/release/ # Run variants target/release/cef-testbed.exe # Variant 1: baseline target/release/cef-testbed.exe --variant=2 # + background_color target/release/cef-testbed.exe --variant=7 # + disable-gpu ``` -------------------------------- ### Startup Diagnostic Output Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/runtime-logging.md Example of the structured diagnostic block logged on application launch. ```text [agentmuxsrv startup] version: 0.31.67 platform: windows / x86_64 data_dir: C:\Users\asafe\.agentmux log_dir: C:\Users\asafe\.agentmux\logs db_path: C:\Users\asafe\.agentmux\db\wave.db config_path: C:\Users\asafe\AppData\Roaming\AgentMux\settings.json shell: C:\Program Files\PowerShell\7\pwsh.exe wsh_binary: C:\Users\asafe\.agentmux\bin\wsh.exe env.AGENTMUX_DATA_HOME: (not set) env.AGENTMUX_CONFIG_HOME: (not set) env.RUST_LOG: (not set) first_launch: false ws_endpoint: 127.0.0.1:1739 web_endpoint: 127.0.0.1:1740 ``` -------------------------------- ### Status Field Example Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/README.md An example of a properly formatted Status line including evidence and PR references. ```text **Status:** active — Phase 0 shipped in PR #2394; Phases 1-6 not started. Verified 2026-08-10. ``` -------------------------------- ### CLI Installation Verification Source: https://github.com/agentmuxai/agentmux/blob/main/docs/specs/cli-install-research.md Commands to verify the installation of CLI tools by checking their version or running a doctor command. ```bash claude --version # or claude doctor codex --version gemini --version ```