Catalog PyPI
Back to packageRELEASE DETAILS

0.2.1

PyPI

actionbox

input() for software that cannot wait at the terminal

Published8 Sept 2026
Direct dependencies0
Transitive dependenciesNot calculated

README

Version 0.2.1 documentation
Actionbox logo

Actionbox CLI

Actionbox is input() for software that cannot wait at the terminal. The CLI lets scripts, CI jobs, scheduled tasks, and AI agents ask a human for a decision and continue when the answer arrives.

Install

Install the platform-specific CLI wrapper from PyPI:

python -m pip install actionbox

Get started

Create a Source in the Actionbox dashboard, then configure the CLI with its API key:

actionbox configure
actionbox doctor
actionbox ask "Deploy to production?" --option approve --option reject --wait

Attach a structured Decision Brief when the reviewer needs the reason, risk, and rollback path in front of them:

actionbox ask "Deploy 2.18.0?" \
  --assignee-email reviewer@example.com \
  --option approve --option reject \
  --decision-class production_deployment \
  --decision-context-json @decision-context.json \
  --wait

--assignee-email routes the Action to an active reviewer in the Source workspace. You can instead use --assignee-user-id with the stable ID copied from Settings → Team. Both flags are optional; use at most one. Omit both to use the workspace default reviewer or normal plan routing.

decision-context.json uses the same decision_context object documented by the API. Supporting diffs, logs, metrics, commands, and links still belong in --context-json.

When actionbox get ACTION_ID --json includes a pending context_request, add the requested evidence or Decision Brief to that same Action:

actionbox update ACTION_ID \
  --decision-class production_deployment \
  --decision-context-json @decision-context.json \
  --context-json @evidence.json

If the requested material cannot be supplied, say so rather than leaving the reviewer waiting:

actionbox update ACTION_ID \
  --context-unavailable "Production data is not accessible to this worker." \
  --context-unavailable-code cannot_access

The waiting command exits after the Action is resolved. Stopping it with Ctrl+C only stops local polling; the Action remains open in Actionbox.

In recognized GitHub Actions, GitLab CI, Jenkins, and CircleCI environments, the CLI adds bounded origin metadata such as the workflow reference, repository or branch labels, and build URL. Use --no-origin when that context should not be sent with an Action.

Paid plans can attach secondary operations with --controls-json. Callback controls require --callback-url. ActionBox delivers a signed request to that URL, and your integration decides how to execute it.

actionbox send "Worker failed" \
  --callback-url https://example.com/actionbox \
  --controls-json '[{"key":"retry","label":"Retry worker","kind":"callback"}]'

Scheduled-job monitoring

Create and manage heartbeat Watches from the CLI, or wrap an existing command so Actionbox receives start, success, and failure signals:

actionbox watch list
export ACTIONBOX_WATCH_URL="https://api.actionbox.cloud/hb/..."
actionbox run -- ./backup.sh

Keep Source API keys and Watch URLs in a secret manager or protected CI environment. Supplying the Watch URL through ACTIONBOX_WATCH_URL keeps it out of the Actionbox process arguments. Do not embed capabilities in browser code, logs, or source control.

Documentation

License

MIT.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 0

Native requirements
0 direct targetsNot calculated transitive count
No declared dependencies in this collected response

Declarations describe requirements; they are not a resolved dependency graph.

Distribution files

6 collected
actionbox-0.2.1-py3-none-macosx_10_9_x86_64.whl

bdist_wheel · 2,713.89 KB · Python py3

Source file
actionbox-0.2.1-py3-none-macosx_11_0_arm64.whl

bdist_wheel · 2,506.2 KB · Python py3

Source file
actionbox-0.2.1-py3-none-manylinux2014_aarch64.whl

bdist_wheel · 2,458.97 KB · Python py3

Source file
actionbox-0.2.1-py3-none-manylinux2014_x86_64.whl

bdist_wheel · 2,699.27 KB · Python py3

Source file
actionbox-0.2.1-py3-none-win_amd64.whl

bdist_wheel · 2,760.31 KB · Python py3

Source file
actionbox-0.2.1-py3-none-win_arm64.whl

bdist_wheel · 2,467.38 KB · Python py3

Source file

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:32 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:bd77e51bc0ab19d1f537dec32c124faab3345210165d53471754efd1b024b6c9

Other collected versions

View all collected versions →