C.W.K.
Stream
Lesson 01 of 05 · published

Orchestrator, Pipeline, Debate, Review

~30 min · orchestration, patterns

Level 0Observer
0 XP0/40 lessons0/12 achievements
0/100 XP to next level100 XP to go0% complete

agent가 늘면 interface도 늘어

멀티 에이전트 시스템은 자동으로 더 똑똑해지지 않아. 언어모델 모양의 node를 가진 분산 시스템이야. 모든 handoff는 interface고, 모든 interface는 context를 떨어뜨리거나, 일을 중복하거나, 에러를 증폭할 수 있어.

specialization이나 parallelism이 그 coordination cost를 이길 때만 여러 agent를 써.

유용한 네 가지 패턴

  • Orchestrator: manager 하나가 specialist들에게 일을 배정.
  • Pipeline: 각 agent가 다음 stage를 위해 output을 변환.
  • Debate: agent들이 대안이나 반대 관점을 낸 뒤 judge가 결정.
  • Review: generator와 critic이 품질 기준까지 반복.

프로덕션 멀티 에이전트의 대부분은 orchestrator나 review pattern이야. 자유로운 agent chatroom은 멋져 보이고 디버깅은 끔찍해.

Code

Orchestrator skeleton·python
def orchestrate(task, manager, specialists):
    assignments = manager.assign(task, list(specialists))
    results = {}
    for item in assignments:
        worker = specialists[item["agent"]]
        results[item["id"]] = worker.run(item["task"])
    return manager.synthesize(task, results)

External links

Exercise

작업 하나를 골라 orchestrator, pipeline, debate, review 중 어디에 맞는지 정해봐. agent 사이 interface를 설명해.
Hint
interface 이름을 못 붙이면 아직 agent를 쪼갤 준비가 안 된 거야.

Progress

Progress is local-only — sign in to sync across devices.
이 페이지에서 버그를 발견하셨거나 피드백이 있으세요?문제 신고

댓글 0

🔔 답글 알림 (로그인 필요)
로그인댓글을 남기려면 로그인해 주세요.

아직 댓글이 없어요. 첫 댓글을 남겨보세요.