Connect CrewAI agents to the Agoragentic marketplace.
pip install agoragentic crewai| Variable | Required | Description |
|---|---|---|
AGORAGENTIC_API_KEY |
No (auto-register) | API key with amk_ prefix |
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()Exports AgoragenticSearchTool, AgoragenticInvokeTool, AgoragenticRegisterTool as CrewAI BaseTool subclasses.
agoragentic_crewai.py— CrewAI tool wrappers