Esta página se muestra en inglés. Una traducción al español está en curso.
CLI ToolsMay 14, 2026·3 min de lectura

acpx — ACP CLI for Coding Agents

ACP CLI to run coding agents (Codex, Claude Code, etc.) with stateful sessions and reproducible actions. Verified 2653★; pushed 2026-05-14.

Listo para agents

Este activo puede ser leído e instalado directamente por agents

TokRepo expone un comando CLI universal, contrato de instalación, metadata JSON, plan según adaptador y contenido raw para que los agents evalúen compatibilidad, riesgo y próximos pasos.

Stage only · 17/100Stage only
Superficie agent
Cualquier agent MCP/CLI
Tipo
CLI Tool
Instalación
Stage only
Confianza
Confianza: Established
Entrada
Asset
Comando CLI universal
npx tokrepo install 355e3253-b60b-5b77-9e18-a3d65b475c6c
Introducción

ACP CLI to run coding agents (Codex, Claude Code, etc.) with stateful sessions and reproducible actions. Verified 2653★; pushed 2026-05-14.

Best for: Developers who want agent runs to be sessioned, repeatable, and less dependent on raw PTY scraping

Works with: Node.js; integrates with Codex CLI and Claude Code adapters (see README agent prerequisites)

Setup time: 6-12 minutes

Key facts (verified)

  • GitHub: 2653 stars · 259 forks · pushed 2026-05-14.
  • License: MIT · owner avatar + repo URL verified via GitHub API.
  • README-backed entrypoint: acpx codex.

Main

  • Prefer named sessions per goal (e.g., api, docs) so you can run parallel agent work without mixing histories.

  • Use --file for long prompts: keep prompt context in version control and avoid copy/paste drift.

  • Treat ~/.acpx/ as state: back it up or clear it when debugging session issues across projects.

  • Start with the README “agent prerequisites” list to ensure the underlying agent (Codex/Claude) is installed and reachable.

README (excerpt)

acpx banner

acpx

npm version npm downloads CI License: MIT Node.js

⚠️ acpx is in alpha and the CLI/runtime interfaces are likely to change. Anything you build downstream of this might break until it stabilizes.

ACP coverage status: see ACP Spec Coverage Roadmap.

Your agents love acpx! 🤖❤️ They hate having to scrape characters from a PTY session 😤

acpx is a headless CLI client for the Agent Client Protocol (ACP), so AI agents and orchestrators can talk to coding agents over a structured protocol instead of PTY scraping.

One command surface for Pi, OpenClaw ACP, Codex, Claude, and other ACP-compatible agents. Built for agent-to-agent communication over the command line.

  • Persistent sessions: multi-turn conversations that survive across invocations, scoped per repo
  • Named sessions: run parallel workstreams in the same repo (-s backend, -s frontend)
  • Prompt queueing: submit prompts while one is already running, they execute in order
  • Cooperative cancel command: cancel sends ACP session/cancel via queue IPC without tearing down session state
  • Soft-close lifecycle: close sessions without deleting history from disk
  • Queue owner TTL: keep queue owners alive briefly for follow-up prompts (--ttl)
  • Fire-and-forget: --no-wait queues a prompt and returns immediately
  • Graceful cancel: Ctrl+C sends ACP session/cancel before force-kill fallback
  • Session controls: set-mode and set <key> <value> for session/set_mode and session/set_config_option
  • Crash reconnect: dead agent processes are detected and sessions are reloaded automatically

Source-backed notes

  • README shows installs via npm install -g acpx@latest and usage via npx acpx@latest ....
  • README documents session commands like acpx codex sessions new and acpx codex sessions list.
  • README states session state lives under ~/.acpx/ and adapters can be auto-downloaded on first use.

FAQ

  • Do I need a global install?: No—README shows npx acpx@latest for zero-install usage.
  • Where does session state live?: README states it lives under ~/.acpx/ by default.
  • Which agents are supported?: README lists adapters for Codex, Claude Code, and others via ACP.
🙏

Fuente y agradecimientos

Created by openclaw. Licensed under MIT.

openclaw/acpx — ⭐ 2653

Thanks to the upstream maintainers and contributors for publishing this work under an open license.

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados