acpx Opens a Structured JSON-RPC Bridge to Claude, Codex, and Gemini

The openclaw team published acpx, an MIT-licensed TypeScript CLI that speaks the Agent Client Protocol so orchestrators can drive coding agents through structured messages.

·
·
·
acpx Opens a Structured JSON-RPC Bridge to Claude, Codex, and GeminiPRO
  • openclaw published acpx, an MIT-licensed headless CLI client for the Agent Client Protocol.
  • Single command surface for Codex, Claude, Gemini, Cursor, Copilot, Pi, and a dozen other agents.
  • Persistent per-repo sessions, named parallel workstreams, prompt queueing, and cooperative cancel.
  • Structured NDJSON output stream replaces ANSI terminal scraping for automation pipelines.
  • TypeScript flow runtime lets you script multi-turn ACP work with deterministic action steps.
  • Alpha software; CLI and runtime interfaces are explicitly expected to change before stabilization.

The openclaw/acpx repository is now public on GitHub, shipping a headless command-line client for the Agent Client Protocol. acpx gives agents, orchestrators, and developers one structured interface for persistent sessions, one-shot runs, permissions, and machine-readable output. It is written in TypeScript, MIT-licensed, and published to npm as the acpx package.

The maintainers are upfront about the maturity level. acpx is in alpha and the CLI/runtime interfaces are likely to change, so anything you build downstream of this might break until it stabilizes. The README also notes it is an ACP client rather than a full orchestration framework, and links to a spec coverage roadmap that tracks which parts of the protocol are wired up.

Killing the pseudo-terminal dance

Most coding agents today ship as terminal apps. If you want another program to drive them, you spawn a pseudo-terminal, feed it characters, and parse ANSI escape codes back out. ACP is a JSON-RPC style protocol that avoids that entirely, and acpx is the client half of that conversation. You talk to coding agents (Claude, Codex, Gemini, and others) over structured JSON-RPC instead of terminal scraping.

Pro article

This story is for Pro members

You've reached the end of the free preview. Upgrade to AlphaSignal Pro to read the full article - and everything else behind the paywall.

Trending
  • No trending articles

Comments

avatar

Next Reads