Skip to main content

Fail-closed approval client for Hold My Agent

Project description

hold-sdk

Python client for Hold My Agent's Arbiter server — gate an agent action behind a human approval with one call:

from hold_sdk import request_approval

if request_approval("Deploy to prod?", severity="high") != "approved":
    raise SystemExit("blocked: not approved")

Fail-closed: any timeout, network error, or unconfigured client returns "denied", never raises.

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

hold_sdk-0.2.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

hold_sdk-0.2.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file hold_sdk-0.2.1.tar.gz.

File metadata

  • Download URL: hold_sdk-0.2.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hold_sdk-0.2.1.tar.gz
Algorithm Hash digest
SHA256 240e9d8980fb0b8743ac934cad2cebcf7944c5c263f293fdd6da7ff8cbbcceac
MD5 ac819c7560c1060d267fa3232c47bea5
BLAKE2b-256 bf3912b98a053c8174b6b8eac9ea6f54572b0be8e0768777e7e2cf1734c23912

See more details on using hashes here.

Provenance

The following attestation bundles were made for hold_sdk-0.2.1.tar.gz:

Publisher: release.yml on holdmyagent/arbiter

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

File details

Details for the file hold_sdk-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: hold_sdk-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hold_sdk-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 635443d1e0b11ae8e9da133bc98650885ec4993ee7f62615a0dea86ea365b5e6
MD5 c8c619f762f90e4c9458e033e7007200
BLAKE2b-256 b60685dfb950fbbd51d344b9ecf37e26a3b13dde2137076b6a9b31f501ff1109

See more details on using hashes here.

Provenance

The following attestation bundles were made for hold_sdk-0.2.1-py3-none-any.whl:

Publisher: release.yml on holdmyagent/arbiter

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