
CrewAI is a popular framework for building multi-agent systems — it provides a high-level abstraction for defining agents, tasks, and crews (teams of agents).
from crewai import Agent, Task, Crew researcher = Agent(role="Researcher", goal="Find accurate information", tools=[search]) writer = Agent(role="Writer", goal="Write clear summaries") task = Task(description="Research and summarize recent AI breakthroughs", agent=writer) crew = Crew(agents=[researcher, writer], tasks=[task]) result = crew.kickoff()
Reference:
TaskLoco™ — The Sticky Note GOAT