Skip to main content

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)

Source distribution for humanod 0.1.1
File Size Uploaded
humanod-0.1.1.tar.gz 4.2 kB Details

Built distribution (wheel)

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

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

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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