# AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation

AutoGen: 여러 에이전트가 대화로 LLM 앱을 구성

Qingyun Wu, Gagan Bansal, Jieyu Zhang, Yiran Wu, Beibin Li, Erkang Zhu 외 8명 · arXiv · 2023년 8월 16일

- **연구 문제** 여러 LLM, 도구, 사람 입력을 섞는 응용은 고정된 파이프라인으로 만들기 어렵습니다. 과제마다 구조를 새로 짜야 합니다.
- **연구 방법** AutoGen은 LLM, 도구, 사람을 능력으로 갖춘 에이전트끼리 메시지를 주고받게 합니다. 대화 흐름은 자연어와 코드로 짜고, 다음 상대는 대화에 따라 고릅니다.
- **주요 결과** 수학 문제 MATH 전체 테스트 세트에서 AutoGen 기반 구성은 69.48%로, GPT-4 단독의 55.18%보다 높았습니다.

## 여러 에이전트 협업을 범용 프레임워크로 묶기 어려운 이유

LLM 응용은 과제마다 필요한 에이전트 구성, 대화 패턴, 사람 개입 방식이 다릅니다. 단일 호출이나 고정된 파이프라인으로는 여러 모델과 도구, 사람의 입력을 섞어 흐름을 바꾸기 어렵습니다. AutoGen은 이 문제를 에이전트 사이의 메시지 교환으로 다루는 범용 프레임워크를 제시합니다. 이 논문은 에이전트를 어떻게 설계하고 대화를 어떤 인터페이스로 프로그래밍할지를 핵심 질문으로 삼습니다.

## 대화 가능한 에이전트와 자동 응답

AutoGen의 기본 단위는 메시지를 보내고 받으며 응답을 생성할 수 있는 대화 가능한 에이전트입니다. 에이전트는 LLM, 도구, 사람 입력을 능력으로 조합할 수 있으며, 기본 클래스인 ConversableAgent를 바탕으로 AssistantAgent와 UserProxyAgent 같은 사전 구성 에이전트가 제공됩니다. 메시지를 받으면 자동 응답 메커니즘이 generate\_reply를 호출해 응답을 보내므로, 별도의 제어 모듈 없이도 대화 흐름이 진행됩니다.

## 대화 프로그래밍과 제어 흐름

대화 프로그래밍은 에이전트의 계산과 대화 사이의 제어 흐름을 자연어와 코드로 함께 기술하는 패러다임입니다. 계산은 각 에이전트가 자신이 참여한 대화에 맞춰 수행하는 행위이고, 제어 흐름은 어떤 에이전트에게 메시지를 보낼지에 대한 대화 기반 결정입니다. 정적 대화는 미리 정한 흐름으로, 동적 대화는 사용자 정의 응답 함수나 LLM의 함수 호출로 다음 상대를 정하도록 구성합니다. GroupChatManager는 다음 발화자를 선택해 응답을 모든 참여자에게 방송합니다.

## 수학 문제 풀이 평가

A1 실험은 GPT-4를 기반으로 한 에이전트 시스템을 MATH 데이터셋의 level-5 문제 120개와 전체 테스트 세트에서 평가했습니다. 비교 대상에는 Multi-Agent Debate, LangChain ReAct, GPT-4, ChatGPT의 코드 인터프리터와 플러그인 조합이 포함됩니다. 전체 테스트 세트에서 AutoGen은 69.48%의 정확도를 보였고 GPT-4는 55.18%였습니다. 이 수치는 해당 설정과 데이터셋에 한정된 결과입니다.

## OptiGuide 다중 에이전트 코딩 평가

A4 실험은 OptiGuide를 Commander, Writer, Safeguard 세 에이전트로 재구성했습니다. Writer가 코드를 작성하고 Safeguard가 안전성을 확인하며, Commander가 코드를 실행하고 결과를 정리합니다. 안전 여부가 균형 잡힌 100개 코딩 과제에서 단일 에이전트와 다중 에이전트 설계를 비교했고, F-1 점수로 안전하지 않은 코드 식별 성능을 측정했습니다. 다중 에이전트 설계는 GPT-4에서 8%, GPT-3.5-turbo에서 35% 더 높은 F-1 점수를 보고합니다.

## 한계와 적용 범위

저자들은 다중 에이전트 워크플로우가 복잡해질수록 대화를 기록하고 조정하기 어려워질 수 있다고 봅니다. 완전 자율 대화는 고위험 응용에서 위험을 키울 수 있으므로 사람의 감독이 필요하다고 해석합니다. 여기서 확인한 결과는 특정 모델, 특정 벤치마크, 저자가 구성한 설정에서 얻은 것이며 모든 응용에 대한 일반 보장이 아닙니다.

## 논문 정보

- **저자**: Qingyun Wu, Gagan Bansal, Jieyu Zhang, Yiran Wu, Beibin Li, Erkang Zhu, Li Jiang, Xiaoyun Zhang, Shaokun Zhang, Jiale Liu, Ahmed Hassan Awadallah, Ryen W White, Doug Burger, Chi Wang
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2023년 8월 16일
- **등록일**: 2026년 11월 12일
- **수정일**: 2023년 10월 3일
- **버전**: v2
- **arXiv**: 2308.08155
- **분류**: cs.AI · cs.CL
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설

[논문 원문 ↗](https://arxiv.org/abs/2308.08155v2) · [원문 PDF ↗](https://arxiv.org/pdf/2308.08155v2)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 원문 인용

Qingyun Wu, Gagan Bansal, Jieyu Zhang, Yiran Wu, Beibin Li, Erkang Zhu, Li Jiang, Xiaoyun Zhang, Shaokun Zhang, Jiale Liu, Ahmed Hassan Awadallah, Ryen W White, Doug Burger, Chi Wang (2023). AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation. arXiv:2308.08155v2. https://arxiv.org/abs/2308.08155v2

**BibTeX**

```
@misc{wu2023autogen,
  title = {{AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation}},
  author = {Qingyun Wu and Gagan Bansal and Jieyu Zhang and Yiran Wu and Beibin Li and Erkang Zhu and Li Jiang and Xiaoyun Zhang and Shaokun Zhang and Jiale Liu and Ahmed Hassan Awadallah and Ryen W White and Doug Burger and Chi Wang},
  year = {2023},
  eprint = {2308.08155},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.08155v2}
}
```

## 이 논문의 용어

- [accuracy](https://refivu.com/terms/1995c0cd6282-accuracy)
- [MATH](https://refivu.com/terms/42d0fca44930-math)
- [AlfWorld](https://refivu.com/terms/492e006382ef-alfworld)
- [DPR](https://refivu.com/terms/f295583cf0b4-dpr)
- [Autogen](https://refivu.com/terms/c6b0177f454d-autogen)
- [MiniWoB++](https://refivu.com/terms/6087a01a890e-miniwob)

## 다른 논문 해설

- [Don't Just Trust Your Memory: Evidence-Linked Memory Reduces Memory-Induced Degradation in LLM Agents](https://refivu.com/papers/891cb954-271d-4055-bf45-e2d6d155e372-don-t-just-trust-your-memory-evidence-linked.md)
- [Verifiable Agentic Traffic Class: A Policed Quality-of-Service Mechanism for Agentic AI Traffic, Evaluated from Simulation to Real-Kernel Adversarial Testing](https://refivu.com/papers/db3c17ca-0250-4baf-a9be-e368d049f727-verifiable-agentic-traffic-class-a-policed-quality-of.md)
- [Code-Grounded Agentic Explanations for Static Analysis Vulnerability Findings](https://refivu.com/papers/e9fa7593-41df-421f-8615-e0870316904f-code-grounded-agentic-explanations-for-static-analysis.md)
- [Agent Benchmarks Stop Ranking Before They Run Out of Tasks](https://refivu.com/papers/42042bb7-8dd7-415d-a486-d8889c934fed-agent-benchmarks-stop-ranking-before-they-run-out.md)
- [BioMem: Agentic Memory for Biomedical LLM Agents](https://refivu.com/papers/b03da137-af39-4a98-a8f7-00e1e10f5f65-biomem-agentic-memory-for-biomedical-llm-agents.md)
- [Reliability of Claude Code as an Agentic AI Grading System for Handwritten University Exams](https://refivu.com/papers/bab8e1c7-1e9b-458c-ac35-72a663923344-reliability-of-claude-code-as-an-agentic-ai.md)
- [Swin Transformer V2: Scaling Up Capacity and Resolution](https://refivu.com/papers/376ea342-9ea9-46f8-8c71-84f23e529d90-swin-transformer-v2-scaling-up-capacity-and-resolution.md)
- [Deeper Insights into Graph Convolutional Networks for Semi-Supervised Learning](https://refivu.com/papers/a2134edc-a5ef-48b2-9ec4-982cfed2a085-deeper-insights-into-graph-convolutional-networks-for-semi.md)
- [Pointer Sentinel Mixture Models](https://refivu.com/papers/8f7d0844-f517-4c18-ba24-8cd7dc616a74-pointer-sentinel-mixture-models.md)
- [Conditional Image Synthesis With Auxiliary Classifier GANs](https://refivu.com/papers/cbb27823-75f1-4fb6-b4c8-dcc645b1f162-conditional-image-synthesis-with-auxiliary-classifier-gans.md)
- [RepVGG: Making VGG-style ConvNets Great Again](https://refivu.com/papers/b7578ec8-e378-4286-b3a9-984d13d073c3-repvgg-making-vgg-style-convnets-great-again.md)
- [Estimating Continuous Distributions in Bayesian Classifiers](https://refivu.com/papers/318decb8-43d0-4596-b25f-944ca636af13-estimating-continuous-distributions-in-bayesian-classifiers.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/d3d2ade6-3bed-4a94-9439-088b61554b00-autogen-enabling-next-gen-llm-applications-via-multi)
