Skip to Content
AI 에이전트 엔지니어링
book

AI 에이전트 엔지니어링

by 마이클 알바다, 강민혁
January 2026
Intermediate
404 pages
7h 22m
Korean
Hanbit Media, Inc.
Content preview from AI 에이전트 엔지니어링
153
5
장
오케스트레이션
작업이 엄격하게 선형적인 경우(예: 프롬프트 → 모델 → 파서)에는 체인으로 시작 하세요. 체
인은 추론과 디버깅이 쉽습니다. 여러 정보 스트림을 분기했다가 나중에 다시 합쳐야 하는 상
황(예: 하나의 요약으로 모이는 병렬 분석 단계들 )에서만 그래프를 도입하세요.
실제 설계에서는 먼저 종이에 토폴로지를 스케치하는 것이 좋습니다. 각 노드에 도구나 논리
단계를 라벨링하고 허용된 전이를 화살표로 그리며 분기들이 다시 합쳐지는 지점을 표시합니
다. 그런 다음 점진적으로 구현합니다. 그래프의 깊이와 분기 수에 상한을 두고 각 라우터에 대
해 단위 테스트를 작성하며 랭그래프의 내장 트레이싱 기능을 활용해 모든 경로가 종단 노드에
도달하는지 검증합니다.
무엇보다 구조를 가능한 한 단순하게 유지해야 합니다. 노드나 엣지가 하나 추가될 때마다 잠
재적인 실행 경로와 오류 모드가 기하급수적으로 늘어납니다. 더 단순한 체인이나 트리로 요구
사항을 충분히 충족할 수 있다면 그래프 패턴은 정말로 복잡한 시나리오를 위해 아껴 두는 편
이 좋습니다. 요구사항이 실제로 확장될 때에만 점진적으로 복잡도를 높여 가면 자신 있게 확
장 가능한 견고하고 유지보수 가능한 오케스트레이션을 구축할 수 있습니다.
5.5
컨텍스트 엔지니어링
컨텍스트 엔지니어링
Context
engineering
은 오케스트레이션의 핵심 구성 요소입니다. 에이전트 계획
의 각 단계가 효과적으로 작동하는 데 필요한 올바른 정보와 지침을 갖추도록 보장합니다. 프
롬프트 엔지니어링이
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

AI 프로덕트 기획과 운영

AI 프로덕트 기획과 운영

마릴리 니카
생성형 AI 시각화

생성형 AI 시각화

Priyanka Vergadia, Valliappa Lakshmanan

Publisher Resources

ISBN: 9791175790131