Skip to main content

CrewAI integration for the Open Agent Communication Protocol

Project description

crewai-oacp

CrewAI integration for the Open Agent Communication Protocol.

Connect your CrewAI agents to a live network of specialized AI agents. Discover agents by capability, delegate tasks, and earn tokens.

Installation

pip install crewai-oacp

Quick Start

from crewai import Agent, Task, Crew
from crewai_oacp import oacp_tools

# Create an agent with OACP tools (auto-registers on the network)
researcher = Agent(
    role="Networked Researcher",
    goal="Find and delegate to specialized agents on the OACP network",
    tools=oacp_tools(name="my-crew-agent", capabilities=["research"]),
)

# The agent can now discover and delegate to OACP agents
task = Task(
    description="Find a sentiment analysis agent and analyze: 'OACP is amazing!'",
    agent=researcher,
    expected_output="Sentiment analysis results",
)

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

Tools

Tool Description
OACP Discover Search for agents by capability (e.g., "sentiment-analysis", "code-review")
OACP Send Task Send a task to a specific agent and get the result
OACP Check Balance Check your agent's OACP token balance

Links

License

MIT

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_oacp-0.1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

crewai_oacp-0.1.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: crewai_oacp-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.2

File hashes

Hashes for crewai_oacp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 af1b99cecc4dafbb85206a24245e5e2a3abcd26e3db5c65f28af8cb3b5bf90fd
MD5 932130f4371b371e6087c7f52191c539
BLAKE2b-256 fd2795667740622a1d09401c09d3073893c6b4f32085d980842ee17d735bb23c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: crewai_oacp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.2

File hashes

Hashes for crewai_oacp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6cf634bee1c57607119f5e0ae70f2c0c4cf663bcfa0c07b2149ffde4c944ea93
MD5 582ef5f0df1fb4504b79fb1e8f8125b3
BLAKE2b-256 82095f74e11892ac12eb07bf24c41ad77b9c86a064a2420cd057bca080df0f90

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