Skip to main content

CrewAI tool for discovering x402-payable services at runtime

Project description

crewai-x402-discovery

CrewAI tool for discovering x402-payable services at runtime.

Install

pip install crewai-x402-discovery

Usage

from crewai import Agent, Task, Crew
from x402discovery_crewai import X402DiscoveryTool

researcher = Agent(
    role="Research Specialist",
    goal="Find and delegate tasks to specialized x402-payable services",
    backstory="Expert at discovering and orchestrating paid AI services",
    tools=[X402DiscoveryTool()],
    verbose=True,
)

task = Task(
    description="Find the best research service for AI regulation topics, under $0.20/call",
    agent=researcher,
)

crew = Crew(agents=[researcher], tasks=[task])
result = crew.kickoff()
print(result)

Powered by the x402 Service Discovery API.

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_x402_discovery-1.0.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

crewai_x402_discovery-1.0.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file crewai_x402_discovery-1.0.0.tar.gz.

File metadata

  • Download URL: crewai_x402_discovery-1.0.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for crewai_x402_discovery-1.0.0.tar.gz
Algorithm Hash digest
SHA256 54bbd1d8e5437c55f9761d01c8b2b292fc302ba20ec9d7bccee068256b08e2a2
MD5 7676288ca4b73158f844bcc67c8ebd94
BLAKE2b-256 490fd4b69480fde5edc75ee09809ade51cf5f43f7b74a967409092ac9543a762

See more details on using hashes here.

File details

Details for the file crewai_x402_discovery-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for crewai_x402_discovery-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b891513155a2f74c42c4315c20674169bdefea6b04729f23937e504893a17d43
MD5 b3bce87182b69c894dfc72779820a34a
BLAKE2b-256 dc18c41af8fc28d460e9492c6a174402a7683719c2ca39c9fe9c1823cfab8038

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