Skip to main content

CrewAI integration for delegating tasks to real humans via the Humanod API.

Project description

CrewAI Humanod Integration

Empower your CrewAI agents to interact with the physical world by hiring real humans through the Humanod API.

Installation

pip install crewai-humanod

Quick Start

Give any agent in your crew the ability to hire a human.

from crewai import Agent, Task, Crew
from crewai_humanod import HumanDelegationTool

# Initialize the tool
humanod_tool = HumanDelegationTool(api_key="your_humanod_api_key")

# Create an agent powered by this tool
manager = Agent(
    role="Operations Manager",
    goal="Ensure physical goods are inspected properly before shipping.",
    backstory="You manage quality control. You can hire humans to perform physical inspections.",
    tools=[humanod_tool],
    verbose=True,
    allow_delegation=False
)

inspecion_task = Task(
    description="Hire a human to go inspect the factory in Berlin and take 3 photos.",
    expected_output="Confirmation that a human has been hired.",
    agent=manager
)

crew = Crew(
    agents=[manager],
    tasks=[inspecion_task]
)

result = crew.kickoff()
print(result)

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

crewai_humanod-0.1.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

crewai_humanod-0.1.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file crewai_humanod-0.1.0.tar.gz.

File metadata

  • Download URL: crewai_humanod-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for crewai_humanod-0.1.0.tar.gz
Algorithm Hash digest
SHA256 92556342121207fb91438e0fbdbc5a129b3d7caaf20b72ed81a4113e8bfb882b
MD5 950e0ceb17ea368c2bcb9ecbc070663f
BLAKE2b-256 fdb84853f9e550f99d58e65649b505108221aefb7105de53ab3684632db83c88

See more details on using hashes here.

File details

Details for the file crewai_humanod-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: crewai_humanod-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for crewai_humanod-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 70b9580cb4689941bfbf24e00bd46d7153eac41a4ac34719f74a5cadb2c257a2
MD5 c55c276cc3b647800bec3a5ad50b70bf
BLAKE2b-256 2c25021eef01a58a94954948f55aed82dec18fd9f625620c352cefb228a0f181

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