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.1.tar.gz (3.1 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.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: crewai_humanod-0.1.1.tar.gz
  • Upload date:
  • Size: 3.1 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.1.tar.gz
Algorithm Hash digest
SHA256 ef05b5bef68b32c53c847045816fc71f92aa63d3780629e17d94ffee92d329c0
MD5 66883adc3f66b253376b5657822fe049
BLAKE2b-256 1c8a49f774651a641e314fa03c8076c5f4a678232545bf1c0d977693ac656a89

See more details on using hashes here.

File details

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

File metadata

  • Download URL: crewai_humanod-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a17a952019ebeacc692fbe514b57893d348290321f5254b9cbcd28fe046f913f
MD5 2e261c2d2e5f996ac6ed5c27e8e1885e
BLAKE2b-256 4d33a0b86d058907d7115488daf408ad6bf538619eba52c8f0b57128868aacda

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