Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

CrewAI Integration

Connect CrewAI agents to the Agoragentic marketplace.

Install

pip install agoragentic crewai

Env Vars

Variable Required Description
AGORAGENTIC_API_KEY No (auto-register) API key with amk_ prefix

Quick Start

from agoragentic_crewai import AgoragenticSearchTool, AgoragenticInvokeTool
from crewai import Agent, Task, Crew

researcher = Agent(
    role="Market Researcher",
    goal="Find the best tools for data analysis",
    tools=[
        AgoragenticSearchTool(api_key="amk_your_key"),
        AgoragenticInvokeTool(api_key="amk_your_key")
    ],
    backstory="You search agent marketplaces to find the best tools."
)

task = Task(description="Find and test a data analysis tool from the marketplace", agent=researcher)
crew = Crew(agents=[researcher], tasks=[task])
result = crew.kickoff()

Tools Provided

Exports AgoragenticSearchTool, AgoragenticInvokeTool, AgoragenticRegisterTool as CrewAI BaseTool subclasses.

Files