Skip to main content

Protocol-agnostic worker orchestration CLI

Project description

subagent-cli

subagent-cli is a protocol-agnostic CLI for orchestrating worker agents from a parent controller. In practice, it is a control-plane CLI that a manager agent (for example Codex or Claude Code) can use to launch and coordinate other worker agents. The CLI surface is protocol-agnostic, while the current runtime implementation is ACP-based (acp-stdio).

Status

  • Alpha (v0.1.x)
  • Local single-host focused
  • Python 3.11+

Features

  • Worker lifecycle: start, list, show, inspect, stop
  • Turn operations: send, watch, wait, approve, cancel
  • Handoff workflow: worker handoff and worker continue
  • Strict approval flow with structured events
  • ACP runtime integration (acp-stdio) with runtime restart + session resume (session/load)

Install

  • From PyPI: pip install subagent-cli
  • From local artifacts: pip install dist/subagent_cli-*.whl

Quick Start

  1. Prepare config: mkdir -p ~/.config/subagent && cp config.example.yaml ~/.config/subagent/config.yaml
  2. Initialize a controller in your workspace: subagent controller init --cwd .
  3. Start a worker: subagent worker start --cwd .
  4. Send an instruction: subagent send --worker <worker-id> --text "Investigate failing tests"
  5. Watch events: subagent watch --worker <worker-id> --ndjson

For local simulation/testing without a real ACP launcher: subagent worker start --cwd . --debug-mode

Configuration

  • Default config path: ~/.config/subagent/config.yaml
  • Override config path: SUBAGENT_CONFIG=/path/to/config.yaml
  • Example config: config.example.yaml

State

  • Default state DB: ~/.local/share/subagent/state.db
  • Project hint file: <workspace>/.subagent/controller.json

Documentation

License

MIT (LICENSE)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

subagent_cli-0.1.1.tar.gz (78.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

subagent_cli-0.1.1-py3-none-any.whl (51.9 kB view details)

Uploaded Python 3

File details

Details for the file subagent_cli-0.1.1.tar.gz.

File metadata

  • Download URL: subagent_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 78.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for subagent_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 58254df6e420075fad9f66efd741c1fe6c46b0a92164c05b3c7a15eb7fde0812
MD5 7d0ba4ef13977d4116e06cfd620be5d6
BLAKE2b-256 e7faee3ec0f6cdec0a5be7e9a5bf7475d25452ef3795b2e17df6805fab78f678

See more details on using hashes here.

Provenance

The following attestation bundles were made for subagent_cli-0.1.1.tar.gz:

Publisher: publish-pypi.yml on otakumesi/subagent-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file subagent_cli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: subagent_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 51.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for subagent_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0015e9032ff42cc2504c9984ec901d35d30b4206cd45a707f1d2fc8fc32a4253
MD5 32e37b6512978b03b5b779257982f6d9
BLAKE2b-256 d573b3711fc5c9f217edcffcce4cb674b58eab017fe3fcfe68e50224fec34924

See more details on using hashes here.

Provenance

The following attestation bundles were made for subagent_cli-0.1.1-py3-none-any.whl:

Publisher: publish-pypi.yml on otakumesi/subagent-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page