Skip to main content
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.

Metadata

Release files for actionbox 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for actionbox 0.2.1
File
actionbox-0.2.1-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details
actionbox-0.2.1-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
actionbox-0.2.1-py3-none-manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
actionbox-0.2.1-py3-none-manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details
actionbox-0.2.1-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
actionbox-0.2.1-py3-none-macosx_10_9_x86_64.whl Python 3 none macOS 10.9+ x86-64 Details

Total release size: 16.0 MB

Release files / actionbox-0.2.1-py3-none-win_arm64.whl

Download URL actionbox-0.2.1-py3-none-win_arm64.whl
Size 2.5 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
d7d23add556b43a148b2a2d7ff639f9c906a7b99e84f5b2e42570c00c082fb5b
BLAKE2b-256 checksum
How to use checksums
3f28fa676c65ebbb7e02ab3b92c791451e9cef9f7a8b50e727a354aab88d31fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / actionbox-0.2.1-py3-none-win_amd64.whl

Download URL actionbox-0.2.1-py3-none-win_amd64.whl
Size 2.8 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
4b9af17af45287856675306876d5da3566c9beb8c0012450e3b37fe4a084ae0d
BLAKE2b-256 checksum
How to use checksums
a99b09047c42f3b20ee05c164b5c8119b9fb7c1719210227808afbcca1adc1da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / actionbox-0.2.1-py3-none-manylinux2014_x86_64.whl

Download URL actionbox-0.2.1-py3-none-manylinux2014_x86_64.whl
Size 2.8 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
c69ea49fb9265f9dbaf85cabc05275a8ae2d0b1ce070be2077e9ad3149f8d59d
BLAKE2b-256 checksum
How to use checksums
b2edd2553e3355e4f3bf81d4abf35bbc715b545e0c045c1dc8d83813307bde7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / actionbox-0.2.1-py3-none-manylinux2014_aarch64.whl

Download URL actionbox-0.2.1-py3-none-manylinux2014_aarch64.whl
Size 2.5 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
df0ec7dc1e86612efe7f4a7168ded22fa9c8688bb94e749d65636d51db0853ce
BLAKE2b-256 checksum
How to use checksums
421d0eecffe16192b668f57acb804dcb43ab7de1f7f147c28df1bb7b7b2a3520
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / actionbox-0.2.1-py3-none-macosx_11_0_arm64.whl

Download URL actionbox-0.2.1-py3-none-macosx_11_0_arm64.whl
Size 2.6 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c23026a4b2ecbccd4d9d95ad83e86ed0a9a12f1ea5c04ce7ea15950a671a211f
BLAKE2b-256 checksum
How to use checksums
33402779037a1b1920e24573f16b7273b76041e85bb04089a962ec8af5d9b452
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / actionbox-0.2.1-py3-none-macosx_10_9_x86_64.whl

Download URL actionbox-0.2.1-py3-none-macosx_10_9_x86_64.whl
Size 2.8 MB
Tags Python 3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
440825105fb4c18247cc56032bcd92663673d5b0fb5828189377f9d5a444988c
BLAKE2b-256 checksum
How to use checksums
753f95afcb40820d5b738b71faaad052e71aecccdbf948dde0eb7f8dee026a58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for actionbox 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page