Loading...
I built cmuxlayer to run AI coding agents in parallel cmux terminal panes from MCP. The server exposes 10 tools to spawn Claude, Codex, Gemini, Kiro or Cursor agents, send them work, read their screens, and wait for them to finish. It tracks the parent-child hierarchy between agents, so a sub-agent can report a blocker back to whoever spawned it. Every tool ships MCP ToolAnnotations. Contract tests drive a real cmux app instead of a mock, and regression checks replay captured pane output in a real cmux nightly build.
11 core surface tools (split, read, send, send_key, notify, rename), 8 agent lifecycle tools (spawn_agent, stop_agent, send_to_agent, wait_for), and 2 V2 facade tools (interact + kill).
Spawn Claude, Codex, Cursor, Gemini, or Kiro agents into terminal panes. Each gets a tracked state machine: spawning โ booting โ ready โ working โ done. Native MCP with 1,423x socket speedup.
CLI Command
spawn / interact / kill
MCP Server
21 typed tools
cmux Socket
Terminal control
Agent Engine
State machine lifecycle
State Store
JSON file persistence
CLI Command
spawn / interact / kill
MCP Server
21 typed tools
cmux Socket
Terminal control
Agent Engine
State machine lifecycle
State Store
JSON file persistence
git clone https://github.com/EtanHey/cmuxlayer.git
cd cmuxlayer && npm install && npm run buildCmuxLayer started as a vendored copy inside the golems orchestrator repo at tools/cmux-mcp. As the tool count grew past 10, the MCP server needed its own repo for independent testing, CI, and versioning.
Built the foundation: list_surfaces, new_split, send_input, send_key, read_screen, rename_tab, set_status, set_progress, close_surface, and browser_surface. These wrap the cmux CLI socket into typed, Zod-validated MCP tools.
Added 8 agent lifecycle tools โ spawn_agent, stop_agent, send_to_agent, read_agent_output, wait_for, list_agents, get_agent_state. Each agent gets a deterministic state machine: spawning โ booting โ ready โ working โ done.
Replaced CLI subprocess spawning with direct Unix domain socket communication. 1,423x speedup. Every tool call serializes to JSON, sends through the socket, and receives a typed response โ no shell overhead.
Consolidated 8 agent operations into 2 tools: interact (7 action types) + kill (single/batch/all). Added Cursor screen parser with 12 regex patterns for agent_type, status, token_count, context_pct. 259 test assertions.
Enterprise-grade AI-powered recruitment platform with voice interviews, resume screening, multi-channel communication, and seamless ATS/HRIS integrations. Automates hiring workflows for Quick Service Restaurants, healthcare, and construction industries.
Persistent memory for AI agents over MCP. 16 tools, hybrid vector + full-text search and a local knowledge graph over one SQLite file. Bounded TLA+ models checked by TLC. pip install brainlayer.
A production-ready computer vision model that detects and classifies hands, arms, and non-hand objects in real-time with 96% accuracy.
browser_surface tool opens Playwright-controlled browser panes alongside terminal agents. Enables visual verification, screenshot capture, and automated testing within the same orchestration flow.
Parent-child tracking with spawn depth limits (max 2) and per-parent child caps (max 10). Quality field tracks verified/suspect/degraded agent output.
2 MCP tools (voice_speak + voice_ask) + 9 QA tools, whisper.cpp STT (~300ms), edge-tts, VoiceBar MCP daemon, session booking. 546 tests. bunx voicelayer-mcp.