2025/10/12 4

Coordinate(Orchestrate) Agents - crewai

Coordinate(Orchestrate) Agents - agno 의 기능을 똑같이 crewai 에서 구현하고자 한다. 먼저 crewai 의 동작원리를 보자Agent 와 Task 클래스를 분리하여 정의한 다음에 Crew클래스에 정리해서 Crew인스턴스를 kickoff() 해서 결과를 얻는다.agno 에서의 instructions 은 Task의 description 과 expected_output 에 해당된다. 그럼 Coordinate(Orchestrate) Agents 를 구현해 보자agno의 agent_team 역할을 Manager agent가 담당하게 된다.이때 중요한 것은 Agent의 allow_delegation 파라미터를 Manager 에만 True 를 설정하고 나머지는 False로 본연의 A..

Coordinate(Orchestrate) Agents - agno

agno 라이브러리에서의 에이전트들을 관리 지휘하는 샘플을 소개한다.Team 에이전트가 멤버 에이전트인 Web search, Finance 에이전트를 관리 지휘하게 된다. # 필요한 라이브러리 인스톨pip install openai duckduckgo-search yfinance agno from textwrap import dedentfrom agno.agent import Agentfrom agno.models.openai import OpenAIChatfrom agno.tools.duckduckgo import DuckDuckGoToolsfrom agno.tools.yfinance import YFinanceTools 작업 에이전트들 정의agent_web = Agent( name="Web Ag..