Documentation

Everything you need to know about Agent Context Relay (ACR).

Getting Started

ACR (Agent Context Relay) is a cross-platform desktop application for running and managing multiple AI coding agents. It combines a full-featured desktop workspace with portable agent continuity — capture, normalize, compact, and relay context between any supported coding agent.

Installation

Clone and build from source with pnpm:

git clone --recurse-submodules https://github.com/AgentContextRelay/acr-o.git
cd acr-o
pnpm install --frozen-lockfile
pnpm dev

Requirements: Node.js 24+, pnpm 10.24+, macOS / Windows / Linux.

Terminal & PTY

ACR supports up to 50 concurrent PTY sessions, each running in its own terminal tab. Terminals are never unmounted — hidden tabs stay alive with full scroll history. Session state persists across app restarts.

  • Split panes: up to 6 panes per tab, vertical and horizontal
  • Zoom per-terminal with keyboard shortcuts
  • Copy/paste with trailing whitespace trimming
  • Command blocks: navigable, collapsible terminal segments
  • Auto-standby: SIGSTOP idle agent terminals to save CPU
  • Foreground process detection on macOS and Windows

Agent Context Relay

The core innovation of ACR is the portable context relay loop:

  1. Capture — Record every agent session into a durable, append-only project record under .acr/
  2. Normalize — Convert provider-specific transcripts into a provider-neutral model (supports Claude, Codex, Gemini, and more)
  3. Compact — Generate a compact, inspectable handoff packet with decisions, diffs, test evidence, provenance, and next action
  4. Relay — Deliver the packet to a target agent through the managed launch workflow, with full source-target lineage

Handoff provenance events link source and target sessions, creating an auditable chain of agent continuity across different providers, sessions, machines and worktrees.

Git Worktrees

ACR fully manages Git worktrees: auto-creation on branch click, per-branch terminal isolation, and a Worktree Manager panel showing PR status, dirty file counts, and last commit at a glance.

Architecture

LayerTechnology
Desktop ShellElectron 43 + React 19 + TypeScript
Build Toolingelectron-vite + pnpm 10.24
Terminalxterm.js 6.1 (WebGL renderer) + node-pty
EditorMonaco Editor + TipTap rich text
Speechsherpa-onnx (local, GPU-accelerated)
DiagramsMermaid.js + KaTeX math
StorageSQLite + JSONL (.acr/) + portable Markdown archives
Agent ProtocolMCP + CLI adapters + terminal-mode bridges
TestingVitest + Playwright (E2E)
PlatformmacOS, Linux, Windows — local, SSH, and remote runtimes

ACR's desktop platform is built on the MIT-licensed ORCA multi-agent workspace, extended with ACR's portable continuity engine, .acr/ archives, handoff packets, and WebBoxes factory manifests.

Plugins & MCP

ACR supports plugins as ES modules with hot reload and crash isolation. The capability-gated runtime ensures plugins only access what they declare. The MCP Proxy Hub manages upstream MCP servers with credential management and OAuth support.