agentproto CLI

`agentproto` CLI

The agentproto binary is the reference host for AgentProto agent-CLI adapters. It installs adapter packages (claude-code, hermes, opencode, codex, mastra-agent, openclaw, …), runs them locally for a s

agentproto CLI

The agentproto binary is the reference host for AgentProto agent-CLI adapters. It installs adapter packages (claude-code, hermes, opencode, codex, mastra-agent, openclaw, …), runs them locally for a single turn or a long-lived session, exposes them as a daemon over an outbound WebSocket tunnel, and orchestrates multi-agent swarms through the runtime kernel.

This tree is tool docs — what the binary does, what flags it takes, what files it touches. For the protocol it implements, see the AIPs at https://agentproto.sh/docs.

Status: alpha. The package is pre-1.0 (0.1.0-alpha.x). See ../../VERSIONING.md for what the alpha guarantees and what may change between minor releases.

Three ways in

Pick whichever matches what you're trying to do:

Reference

Verbs

Concepts

  • Adapters — what @agentproto/adapter-* packages are
  • Plugins — extending the swarm kernel
  • Roles — spawn-time delegation gate, the privilege lattice, and role packs
  • Runtime profilesruntime-profile/<name> scaffolding
  • Swarms — manifest + kernel cycle model
  • Credentials — how host tokens are stored
  • Session transcripts — structured per-session capture, event kinds, native vs daemon export

Guides

File reference

Install

npm i -g @agentproto/cli
agentproto --version

Node ≥ 20.9.0. Optional node-pty for terminal sessions — npm i -g node-pty if you want agentproto sessions terminal and PTY-backed agent attach.