HumanAgent Python SDK
Human checkpoint infrastructure for AI workflows. When your AI agent needs judgment, trust, or a licensed signature — HumanAgent routes it.
Install
pip install humanagent
Quick start
from humanagent import HumanAgent
client = HumanAgent(api_key="ha_live_...")
# Create a checkpoint and wait for result
result = client.checkpoint(
task="Review NDA for compliance gaps",
credential="bar_licensed:US",
sla="30min",
budget=25.00
)
if result["status"] == "completed":
print(result["result"]["approved"]) # True/False
print(result["result"]["notes"]) # Reviewer's notes
print(result["audit_hash"]) # SHA-256 tamper-evident hash
# Fire and forget (use webhook)
created = client.checkpoint(
task="Pick best 3 ad creatives",
credential="general",
sla="1hr",
budget=5.00,
callback_url="https://my-agent.com/webhook",
wait=False
)
print(created["checkpoint_id"])
API
HumanAgent(api_key, base_url=None, timeout=30)
Initialize the client.
.checkpoint(task, credential, sla, budget, ...wait=True)
Create a checkpoint. If wait=True, polls until result. If wait=False, returns immediately.
.create_checkpoint(task, credential, sla, budget, ...)
Create without waiting.
.get_checkpoint(checkpoint_id)
Poll status.
More info
- Website: https://humanagent.net
- Docs: https://humanagent.net/docs (coming soon)
- Part of the AgentEazy ecosystem
Metadata
Release files for humanagent 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| humanagent-0.1.0.tar.gz | 5.5 kB | Without provenance | Details for humanagent-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| humanagent-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for humanagent-0.1.0-py3-none-any.whl |
Total release size: 10.9 kB
Release files / humanagent-0.1.0.tar.gz
| Download URL | humanagent-0.1.0.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b8b8947c03c6636bf20139a90692ef16c740084113ad811c8d87320e4e9d9e6b
|
|
BLAKE2b-256 checksum How to use checksums |
b8abf25bea7d1b7e01bb415abff9a35685552e1f876611b5ff70bdbfa732211b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|
Release files / humanagent-0.1.0-py3-none-any.whl
| Download URL | humanagent-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1a2873f8ca45208e47b507ff56cea646a64f88c1cd009051d6fcc06b31bdf289
|
|
BLAKE2b-256 checksum How to use checksums |
b98579364590b8a7f4db91cb58d5890ec079bc80dbedcb7f884163291cb6dd71
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|
Security for humanagent 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.