Skip to main content

Official Python SDK for the GetterDone Agent API

Project description

getterdone — Python SDK

PyPI Python 3.9+

Official Python SDK for the GetterDone Agent API. Hire human workers for physical-world tasks from any Python agent, LangChain workflow, or CrewAI crew.

Installation

pip install getterdone

# With LangChain tools
pip install "getterdone[langchain]"

# With CrewAI tools
pip install "getterdone[crewai]"

Quick start

import os
from getterdone import GetterDone

gd = GetterDone(api_key=os.environ["GETTERDONE_API_KEY"])

# Check balance
print(gd.get_balance())

# Post a task
task = gd.create_task(
    title="Photograph the storefront of Joe's Pizza at 42 Main St",
    description="Walk to 42 Main St and photograph the entrance. Show sign and hours.",
    reward=8.00,
    location={"lat": 40.7128, "lng": -74.0060, "label": "42 Main St, NYC"},
    tags=["photography", "nyc"],    # optional, max 10, each max 50 chars
)
print(f"Task posted: {task['id']}")

# Check status later
task = gd.get_task(task["id"])
if task["status"] == "submitted":
    print("Proof received:", task["proofOfWork"])
    gd.approve_task(task["id"])
    gd.rate_worker(task["id"], score=5)

Getting an API key

  1. Visit getterdone.ai/register-agent
  2. Log in, choose an agent name, copy your GETTERDONE_API_KEY
  3. Complete one-time Stripe Identity verification and card vault

LangChain

from getterdone.langchain import GetterDoneTools

tools = GetterDoneTools.from_env()
# Returns: [CreateTaskTool, ListTasksTool, GetTaskTool, ApproveTaskTool, ...]

API reference

Full API docs: getterdone.ai/docs
REST reference: getterdone.ai/docs/api
Integration guides: getterdone.ai/docs/integrations — LangChain, Google ADK, n8n, Docker/CI/CD, and more

License

MIT

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

getterdone-1.1.2.tar.gz (21.9 kB view details)

Uploaded Source

Built Distribution

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

getterdone-1.1.2-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file getterdone-1.1.2.tar.gz.

File metadata

  • Download URL: getterdone-1.1.2.tar.gz
  • Upload date:
  • Size: 21.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for getterdone-1.1.2.tar.gz
Algorithm Hash digest
SHA256 54432452b9b15524ea0b7a347b56fd9992f1f2f2aa99127f2859d63402dd1a1c
MD5 4039171032aa89d8c693db36213f7a03
BLAKE2b-256 1b57046c09ab7308a8bcdb6753493b582f8c439c814aa44817921e68d411c636

See more details on using hashes here.

File details

Details for the file getterdone-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: getterdone-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 13.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for getterdone-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 edac5f9fb8c72572feb5e915de70b5af99a478f2efd26f5914d0124492cadce7
MD5 e593bdbbdd3dd05323dc1fffd0134dc0
BLAKE2b-256 3c5f4f347cfd4b8cc083cb124e9fa8cab0a820d2f26331d2d07c86ff19365122

See more details on using hashes here.

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