openclaw/acpx

Description: Headless CLI client for stateful Agent Client Protocol (ACP) sessions

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 11 minutes ago
Added to GitGenius on April 28th, 2026
Created on February 17th, 2026
Open Issues & Pull Requests: 15 (+0)
Number of forks: 300
Total Stargazers: 3,005 (+1)
Total Subscribers: 19 (+0)

Issue Activity (beta)

Open issues: 2
New in 7 days: 1
Closed in 7 days: 0
Avg open age: 6 days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 1
Closed in 7 days: 0
Comments in 7 days: 3
Events in 7 days: 15

Top labels

  • P2 (8)
  • clawsweeper:needs-maintainer-review (7)
  • clawsweeper:needs-product-decision (7)
  • clawsweeper:no-new-fix-pr (7)
  • clawsweeper:fix-shape-clear (5)
  • issue-rating: 🌊 off-meta tidepool (5)
  • clawsweeper:source-repro (4)
  • issue-rating: 🦞 diamond lobster (4)

Repository Insights (GitGenius)

Median issue/PR response: 36.4 hours
Mean response time: 7.1 days
90th percentile: 24.6 days
Tracked items: 78

Most active contributors

Detailed Description

ACPX is a headless command-line client for the Agent Client Protocol (ACP) that enables AI agents and orchestrators to communicate with coding agents through a structured protocol rather than terminal scraping. Written in TypeScript and available at acpx.sh, the tool provides a unified command surface for multiple ACP-compatible agents including Pi, OpenClaw, Codex, Claude, Gemini, Cursor, GitHub Copilot, and many others. The project is currently in alpha with interfaces subject to change.

The repository implements persistent, stateful ACP sessions that survive across command invocations and are scoped per repository. Sessions can be named to run parallel workstreams in the same codebase, such as separate backend and frontend sessions. The tool supports prompt queueing, allowing users to submit prompts while one is already executing, with queued prompts executing in order. A cooperative cancel command sends ACP session cancellation via inter-process communication without destroying session state, and graceful cancellation via Ctrl+C sends the ACP cancel request before falling back to force-kill.

Key features include soft-close lifecycle management that closes sessions without deleting history, queue owner time-to-live configuration to keep queue owners alive for follow-up prompts, and fire-and-forget mode with the no-wait flag that queues prompts and returns immediately. The tool handles crash recovery by detecting dead agent processes and automatically resuming or reloading sessions. Session controls support set-mode and configuration option setting through ACP protocol methods. Users can inspect session status, view history with configurable limits, and export or import portable session archives between machines.

ACPX provides structured output of ACP messages including thinking, tool calls, and diffs instead of ANSI scraping. It includes stable client method handlers for filesystem and terminal operations with permission controls and current working directory sandboxing. Authentication handshake support is available through environment variables or configuration credentials. The tool supports one-shot stateless execution mode and includes a compare feature that runs the same prompt against multiple ACP-compatible agents, summarizing timing, token usage, permissions, and output side by side.

The repository includes experimental flow support through TypeScript workflow modules that execute over multiple prompts. Flow workspace isolation allows ACP nodes to target explicit per-step working directories, keeping agent work inside disposable worktrees. Runtime-owned flow actions enable shell-backed action steps for workspace preparation and deterministic mechanics outside agent turns.

Configuration is handled through global and project-level JSON files, with CLI flags taking precedence. The tool supports MCP server configuration and multiple output formats including human-readable text, raw ACP NDJSON for automation, and quiet mode. Session control payloads include stable envelopes with acpxRecordId and acpxSessionId for correlation.

GitGenius activity data shows the repository has 77 tracked issues and pull requests with a median response latency of 37.5 hours and mean latency of 172.2 hours. The most active labels are P2 priority items, clawsweeper needs-maintainer-review, and clawsweeper needs-product-decision tags. Primary contributors tracked include steipete with 68 events, vincentkoc with 39 events, and oldjs with 8 events. The repository overlaps with openclaw/openclaw, yeachan-heo/oh-my-claudecode, and meteor/meteor through shared contributors.

acpx
by
openclawopenclaw/acpx

Repository Details

Fetching additional details & charts...