Humanod Python SDK
The official Python client for Humanod – the API that allows AI Agents and developers to seamlessly hire humans for physical tasks in the real world.
Installation
pip install humanod
Quick Start
Delegate a physical task to a human with just a few lines of code.
from humanod import HumanodClient, CreateTaskRequest, TaskCategory
client = HumanodClient(api_key="your_api_key_here")
# 1. Define the mission
task_spec = CreateTaskRequest(
title="Take a photo of the Eiffel Tower",
description="I need a vertical photo of the Eiffel Tower right now for an article.",
price=15.0, # EUR
category=TaskCategory.MEDIA,
location_name="Paris, France",
deliverables="1 clear high-res photo",
validation_criteria="The tower must be centered and fully visible.",
skills_required=["photography"]
)
# 2. Deploy to the real world
task = client.hire_human(task_spec)
print(f"Mission deployed! View task ID: {task.task_id}")
Core Methods
hire_human(task_spec): Creates a new task.check_task_status(task_id): Gets the current status of the task.get_submissions(task_id): Retrieves all proofs of work submitted by humans.review_submission(application_id, validation): Approve or reject work.cancel_task(task_id): Cancels the mission and refunds the budget.
Standardized Agent-to-Human Schema
This SDK enforces the open "Agent-to-Human" standard JSON schema via statically typed Pydantic models (e.g., CreateTaskRequest, ValidationRequest).
Metadata
Release files for humanod 0.1.1
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 |
|---|---|---|---|---|
| humanod-0.1.1.tar.gz | 4.2 kB | Without provenance | Details for humanod-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| humanod-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for humanod-0.1.1-py3-none-any.whl |
Total release size: 9.0 kB
Release files / humanod-0.1.1.tar.gz
| Download URL | humanod-0.1.1.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
12a7b7fc5ff576f7daa14c0cb7981331517990774066e284c05404439a915974
|
|
BLAKE2b-256 checksum How to use checksums |
1bd7d09a9eecfc6af22ecfaca65ec6ba253d731d33c0b16b0d4c174ca4b59a16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|
Release files / humanod-0.1.1-py3-none-any.whl
| Download URL | humanod-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
03637082808cc7f23b05462ec751be2180ba36a9b5afa0d0bd6696e4108b510f
|
|
BLAKE2b-256 checksum How to use checksums |
f736728ccaa160f38d5b251458f1fe5451f0853d8d4a2c405b135c4e9ccee1a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|
Security for humanod 0.1.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.