Local daemon (marqd) & CLI
marqd is a lightweight Go daemon that runs on your workstation alongside the marq CLI. It keeps a persistent WebSocket connection to MarQ, acts as a local RAM-cached MCP proxy (<10 ms and >90% fewer tokens), and powers bidirectional Web → Local dispatch with isolated git worktrees.
1. Unified installer (Windows, macOS & Linux)
Download a single native installer for Windows x64 (including marqd-tray.exe), macOS (Apple Silicon / Intel), or Linux (x64 / ARM64). Verifies embedded SHA-256 checksums and updates your user PATH without administrator privileges.
2. Guided 1-command pairing (marq init)
- Open Settings → Local daemon (or AI Agents → Configure daemon).
- Configure Workspace Bindings (project ↔ local repository path), write policy (confirm or auto), and Local MCP Proxy address.
- Generate an ephemeral single-use mpair_… code (10-minute TTL) and redeem it via marq init or the Windows tray flyout; writes ~/.marq/config.json with 0600 permissions.
3. Local MCP Proxy (127.0.0.1:4317/mcp) & marq CLI
The marq CLI communicates with marqd over local IPC (Windows Named Pipe, macOS/Linux Unix Domain Socket) without exposing your API key to the LLM process.
- marq next / marq status / marq log / marq step: daily workflow with zero extra MCP tokens and automatic lease heartbeats.
- marq ask --blocking: sends a blocking question to the web UI and pauses until a human replies.
- marq done / marq block / marq attach / marq wait: verified task completion, reactive zero-CPU wakeup, and isolated git worktree execution.
4. Local security boundary
- HMAC-SHA256 signatures with anti-replay window (±60 s) covering job_type and target_capability on every dispatch.
- OS peer credentials (Named Pipe PID / SO_PEERCRED / LOCAL_PEERCRED) and strict 127.0.0.1 loopback binding.
- Strict Workspace Binding plus confirm / auto and plan_only / write_code execution policies.