Skip to main content
gotoHuman Logo

gotoHuman - Human in the Loop for AI workflows

MIT License PyPI Version GitHub Repo stars Discord

gotoHuman is a web app where you can approve actions of your AI agents. Keep a human in the loop to review AI‑generated content, approve critical actions or provide input.

Install

pip install gotohuman

Init

Create a review template in gotoHuman adding fields to capture the content to review and the input and feedback you want to collect.

Setup environment variables with your API key and an agent ID.

GOTOHUMAN_API_KEY=YOUR_API_KEY
GOTOHUMAN_AGENT_ID=YOUR_AGENT_ID

Initialize the SDK:

from gotohuman import GotoHuman

gotoHuman = GotoHuman()
# or: GotoHuman(api_key="...", agent_id="...")

Send request

Request a new review and include the data for your review template's fields.
Read the docs for more details.

Example request:

review = gotoHuman.create_review("YOUR_REVIEW_TEMPLATE_ID")
review.set_review_data({
    "ai_social_media_post": ai_text_draft,
    "ai_image": ai_image_url,
})
review.add_meta_data("threadId", threadId)
review.assign_to_users(["jess@acme.org"])
try:
    response = review.send_request()
    print("Review sent successfully:", response)
except Exception as e:
    print("An error occurred:", e)

Optionally pass a config object to control review behavior:

review.set_review_config({"someOption": True})

Or send asynchronously:

response = await review.async_send_request()

Example review

gotoHuman - Human approval example

Metadata

Release files for gotohuman 0.2.4

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

Source distribution (sdist)

Source distribution for gotohuman 0.2.4
File Size Uploaded
gotohuman-0.2.4.tar.gz 6.0 kB Details

Built distribution (wheel)

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

Total release size: 12.3 kB

Release files / gotohuman-0.2.4.tar.gz

Download URL gotohuman-0.2.4.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0aa6f7c8a6b218f98f9cd4b7fc58e5b5b66668ea7c7e4e303446e6143f44427f
BLAKE2b-256 checksum
How to use checksums
0fce4b9abac41fdd1f58abe40cb4347f9cf6119109899ff1cdd10d28687f545c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Release files / gotohuman-0.2.4-py3-none-any.whl

Download URL gotohuman-0.2.4-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a57fd465f2863bb833cdc400e2576adfb60b60b9acdf5322b10a3a1baa05e4d3
BLAKE2b-256 checksum
How to use checksums
4aa302b682f3ba6614d9e5a660b90454ff506e35806d19fb5ced041f451fe2fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

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