112 lines
4.1 KiB
YAML
112 lines
4.1 KiB
YAML
Agent:
|
|
name: "research-report-agent"
|
|
description: "주제를 조사하고 보고서를 작성하는 에이전트"
|
|
version: "1.0"
|
|
|
|
api_keys:
|
|
openai: "${OPENAI_API_KEY}"
|
|
anthropic: "${ANTHROPIC_API_KEY}"
|
|
|
|
Stages:
|
|
# ── Stage 1: 단일 프롬프트 기반 (기존 방식) ──
|
|
- name: "stage1"
|
|
description: "사용자 요청을 분석하고 조사 계획을 수립합니다."
|
|
llm_provider: "openai"
|
|
llm_model: "gpt-4o"
|
|
skip_confirm: true
|
|
prompts:
|
|
- role: "user"
|
|
content: |
|
|
다음 주제에 대해 조사 계획을 수립해주세요: "AI 에이전트의 최신 동향"
|
|
|
|
아래 형식으로 작성해주세요:
|
|
1. 조사할 세부 주제 목록
|
|
2. 각 주제별 핵심 질문
|
|
3. 예상 결론 방향
|
|
|
|
모든 작업이 완료되면 **terminate** 을 출력하세요.
|
|
|
|
# ── Stage 2: Task 기반 병렬 실행 (새 방식) ──
|
|
- name: "stage2"
|
|
description: "여러 세부 주제를 병렬로 조사하고 최종 보고서를 작성합니다."
|
|
llm_provider: "openai"
|
|
llm_model: "gpt-4o"
|
|
|
|
# Task 정의
|
|
tasks:
|
|
- task_name: "research_frameworks"
|
|
llm_provider: "openai"
|
|
llm_model: "gpt-4o"
|
|
prompts:
|
|
- role: "user"
|
|
content: |
|
|
"AI 에이전트 프레임워크" 주제에 대해 조사해주세요.
|
|
LangGraph, CrewAI, AutoGen 등 주요 프레임워크를 비교 분석하세요.
|
|
|
|
결과를 마크다운 형식으로 정리하고, 완료되면 **terminate** 을 출력하세요.
|
|
|
|
- task_name: "research_usecases"
|
|
llm_provider: "openai"
|
|
llm_model: "gpt-4o"
|
|
prompts:
|
|
- role: "user"
|
|
content: |
|
|
"AI 에이전트 활용 사례" 주제에 대해 조사해주세요.
|
|
기업, 의료, 법률, 교육 등 분야별 실제 사용 사례를 정리하세요.
|
|
|
|
결과를 마크다운 형식으로 정리하고, 완료되면 **terminate** 을 출력하세요.
|
|
|
|
- task_name: "research_challenges"
|
|
llm_provider: "anthropic"
|
|
llm_model: "claude-sonnet-4-5-20250929"
|
|
prompts:
|
|
- role: "user"
|
|
content: |
|
|
"AI 에이전트의 한계와 과제" 주제에 대해 조사해주세요.
|
|
안전성, 신뢰성, 비용, 환각 문제 등을 분석하세요.
|
|
|
|
결과를 마크다운 형식으로 정리하고, 완료되면 **terminate** 을 출력하세요.
|
|
|
|
- task_name: "compile_report"
|
|
llm_provider: "openai"
|
|
llm_model: "gpt-4o"
|
|
prompts:
|
|
- role: "user"
|
|
content: |
|
|
이전 Task들의 조사 결과를 종합하여 최종 보고서를 작성해주세요.
|
|
|
|
보고서 구성:
|
|
1. 요약 (Executive Summary)
|
|
2. AI 에이전트 프레임워크 비교
|
|
3. 분야별 활용 사례
|
|
4. 한계와 과제
|
|
5. 결론 및 전망
|
|
|
|
완료되면 **terminate** 을 출력하세요.
|
|
|
|
# DAG 기반 실행 순서
|
|
#
|
|
# ┌─ research_frameworks ──┐
|
|
# │ │
|
|
# IN ├─ research_usecases ───┼─ compile_report ─ OUT
|
|
# │ │
|
|
# └─ research_challenges ──┘
|
|
#
|
|
# research_* 3개는 병렬 실행, compile_report는 3개 모두 완료 후 실행
|
|
task_procedure:
|
|
IN:
|
|
nexts: ["research_frameworks", "research_usecases", "research_challenges"]
|
|
wait_until: []
|
|
research_frameworks:
|
|
nexts: ["compile_report"]
|
|
wait_until: []
|
|
research_usecases:
|
|
nexts: ["compile_report"]
|
|
wait_until: []
|
|
research_challenges:
|
|
nexts: ["compile_report"]
|
|
wait_until: []
|
|
compile_report:
|
|
nexts: ["OUT"]
|
|
wait_until: ["research_frameworks", "research_usecases", "research_challenges"]
|