Skip to main content

heed

Python SDK for Heed — human-in-the-loop approval for AI agents.

Install

pip install heed

Quickstart

from heed import Heed

client = Heed(api_key="hd_live_your_key_here")

result = client.request_approval(
    action="send_invoice",
    summary="Invoice ACME Corp for $5,200",
    context={"amount": 5200},
)

if result.get("requires_approval"):
    decision = client.wait_for_decision(result["id"], timeout=300)
    print(decision["status"])  # approved | rejected | ...
else:
    print("Auto-approved — proceed")

Webhook verification

from heed import verify_webhook

is_valid = verify_webhook(request_body, request.headers["X-OA-Signature"], webhook_secret)

Docs: https://heed.run/docs

Metadata

Release files for heed 0.1.0

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

Source distribution (sdist)

Source distribution for heed 0.1.0
File Size Uploaded Provenance Actions
heed-0.1.0.tar.gz 3.8 kB Without provenance Details for heed-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for heed 0.1.0
File Interpreter ABI Platform Actions
heed-0.1.0-py3-none-any.whl Python 3 none any Details for heed-0.1.0-py3-none-any.whl

Total release size: 8.2 kB

Release files / heed-0.1.0.tar.gz

Download URL heed-0.1.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b806b7f9e134fff0cddd5bae8f9a8d157a6ba17adf1cb5b9109d679fa532221d
BLAKE2b-256 checksum
How to use checksums
4db2779444a945e0d61b21206d7dd494422bb3a5c372dce261d937d0dcf09ee2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / heed-0.1.0-py3-none-any.whl

Download URL heed-0.1.0-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6493021a9fe5a95756cba37ad72dd94120a82ed192db2dd0c39b3f55d5e94c20
BLAKE2b-256 checksum
How to use checksums
7d795c1f6fe6843c810912d70dcddc5eff3631e63931107c298b0275ec1b6ffb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Security for heed 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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