GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com β€” GitHub - TheSDEs/acpx: Headless CLI client for stateful Agent Client Protocol (ACP) sessions

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

790 Commits
790 Commits

Folders and files

NameName
Last commit message
Last commit date
.agents/skills
.agents/skills
 
 
.github
.github
 
 
.husky
.husky
 
 
.pi/prompts
.pi/prompts
 
 
agents
agents
 
 
conformance
conformance
 
 
docs
docs
 
 
examples/flows
examples/flows
 
 
references
references
 
 
scripts
scripts
 
 
skills/acpx
skills/acpx
 
 
src
src
 
 
test
test
 
 
.crabbox.yaml
.crabbox.yaml
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.markdownlint-cli2.jsonc
.markdownlint-cli2.jsonc
 
 
.npmrc
.npmrc
 
 
.oxfmtrc.jsonc
.oxfmtrc.jsonc
 
 
.oxlintrc.json
.oxlintrc.json
 
 
.prettierignore
.prettierignore
 
 
.release-it.json
.release-it.json
 
 
AGENTS.md
AGENTS.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CNAME
CNAME
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
VISION.md
VISION.md
 
 
acpx_banner.svg
acpx_banner.svg
 
 
package.json
package.json
 
 
pnpm-lock.yaml
pnpm-lock.yaml
 
 
pnpm-workspace.yaml
pnpm-workspace.yaml
 
 
requirements-autoreview.txt
requirements-autoreview.txt
 
 
slophammer.yml
slophammer.yml
 
 
stryker.conf.json
stryker.conf.json
 
 
tsconfig.json
tsconfig.json
 
 
tsconfig.test.json
tsconfig.test.json
 
 

Repository files navigation

acpx 🀝 β€” Agents talking to agents, minus the terminal sΓ©ance

acpx banner

CI npm Node.js License npm downloads

acpx is a headless command-line client for the Agent Client Protocol (ACP). It gives agents, orchestrators, and developers one structured interface for persistent sessions, one-shot runs, permissions, and machine-readable output across ACP-compatible coding agents.

$ acpx codex sessions new
<session-id>
$ acpx codex "summarize this repository"
[tool] Read README.md (completed)
This repository contains ...
[done] end_turn

Note

acpx is pre-1.0. Treat its CLI and runtime interfaces as evolving.

Install

Install the published npm package globally:

npm install -g acpx@latest

acpx requires Node.js 22.13 or newer. To try it without a global install, prefix a command with npx acpx@latest instead. See the install guide for adapter prerequisites, updates, and source builds.

Quick start

Install and authenticate the coding agent you want to use, then create a session in your project and send it a prompt:

acpx codex sessions new
acpx codex "find the slowest test and explain why"

The session is scoped to the current repository and persists across invocations. Creating sessions explicitly prevents automation from starting an unexpected conversation. The quickstart continues with named sessions, one-shot runs, history, and JSON output.

Choose an agent

Common launch examples use the same command shape:

Agent Command
Pi acpx pi …
OpenClaw acpx openclaw …
Codex acpx codex …
Claude Code acpx claude …
Custom ACP server acpx --agent '<command>' …

The upstream agent must be installed and authenticated when its adapter does not provide that itself. See built-in agents for every supported profile and custom agents for registry configuration.

Sessions and one-shot runs

Persistent sessions keep context between prompts, support parallel named workstreams, and queue follow-up prompts when a turn is already running. Use exec when you want a stateless run with no saved session.

acpx codex sessions new --name backend
acpx codex -s backend "trace the checkout timeout"
acpx codex exec "summarize this repository"
acpx --model gpt-5.4 codex exec --config-option reasoning_effort=high "review this repository"

Session state lives under ~/.acpx/. The sessions guide covers scope, queue ownership, reconnects, export/import, cancellation, and cleanup.

Automation and permissions

Text output is the default. --format json emits NDJSON ACP events for automation, while --format quiet prints only the final assistant text. Output events retain structured thinking, tool calls, diffs, and completion state instead of terminal escape sequences.

Permission modes range from read approval to explicit deny or approve-all policies. Use --cwd to set the session scope and filesystem boundary. Global and project JSON configuration can provide defaults; command-line flags take precedence.

  • Output formats
  • Permissions
  • Configuration
  • Exit codes

Flows and embedding

For multi-step work, acpx flow run executes TypeScript workflows that combine ACP turns with deterministic actions, decisions, computation, and checkpoints. The package also exports acpx/runtime and acpx/flows for applications that need session and workflow primitives without shelling out.

Use createSharedAcpRuntime() when an application and CLI processes need to share one local session owner.

Start with the flows guide, then use the examples and architecture notes for deeper integrations.

Documentation

  • CLI reference β€” commands, flags, and behavior
  • Prompting β€” arguments, stdin, files, and queueing
  • Session controls β€” cancel, modes, options, and status
  • Compare agents β€” run one prompt across multiple agents
  • ACP coverage β€” implemented protocol methods
  • Vision β€” project scope and design principles

The full documentation is also available at acpx.sh.

Development

pnpm install --frozen-lockfile
pnpm run check
pnpm run check:docs

See CONTRIBUTING.md for contribution and review guidance.

License

MIT. See LICENSE.

About

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

acpx.sh

Resources

Readme
License

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 β€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Γ—600. No cookies required.