Skip to main content

LangChain Humanod Toolkit

Allows LangChain agents to securely interact with the physical world by hiring real humans through the Humanod API.

Installation

pip install langchain-humanod

Quick Start (with LangGraph or traditional Agents)

from langchain_humanod import HumanodToolkit
from langchain.agents import initialize_agent, AgentType
from langchain_openai import ChatOpenAI

llm = ChatOpenAI(temperature=0)

# Instantiate the Toolkit
toolkit = HumanodToolkit(api_key="your_humanod_api_key")
tools = toolkit.get_tools()

# Create agent
agent = initialize_agent(
    tools, 
    llm, 
    agent=AgentType.STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION, 
    verbose=True
)

agent.run("Can you hire a human to go take a photo of the Eiffel Tower right now? Offer 15 EUR.")

Included Tools

  • hire_human: Creates a task request and deploys it to the human workforce.
  • check_human_task_status: Verifies the status of a deployed physical task.

Metadata

Release files for langchain-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 langchain-humanod 0.1.1
File Size Uploaded
langchain_humanod-0.1.1.tar.gz 3.2 kB Details

Built distribution (wheel)

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

Total release size: 6.7 kB

Release files / langchain_humanod-0.1.1.tar.gz

Download URL langchain_humanod-0.1.1.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
1ba4ddf55f9608609502697b32be41dd593528d5afdfd79bdccb8a7ef7eef473
BLAKE2b-256 checksum
How to use checksums
78608cd33f1a5973e3eccadad90cc19b4d4c23ca4ac8604f9efcce96090f3fb3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / langchain_humanod-0.1.1-py3-none-any.whl

Download URL langchain_humanod-0.1.1-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3358bd6348f1bc40bb48ba412384b57953bf800fd27ff23aa779f41e14b90464
BLAKE2b-256 checksum
How to use checksums
4a645a552025b6d71b7751192eb32f09196867b2d7083e7ab76ae1cbd911f102
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