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

AI 에이전트 엔지니어링

by 마이클 알바다, 강민혁
January 2026
Intermediate
404 pages
7h 22m
Korean
Hanbit Media, Inc.
Content preview from AI 에이전트 엔지니어링
158
2
부
에이전트 시스템의 구축과 확장
프레임워크인 랭그래프 예제를 사용합니다. 랭그래프는 애플리케이션을 노드(파운데이션 모
델 호출, 메모리 업데이트, 도구 호출 같은 순수 함수)와 엣지(제어 흐름 전이 )로 이루어진 방
향 그래프로 정의합니다. 이를 통해 개발자는 복잡한 다단계 프로세스를 선언적으로 모델링할
수 있습니다. 랭그래프는 런타임에 그래프 전체를 통과하는 애플리케이션 상태를 하나의 강타
입 파이썬 객체(대개
TypedDict
)로 다루어 데이터 관리를 명시적이고 타입 안전하게 유지합
니다.
DAG
(방향성 비순환 그래프 )만을 지원하는 오케스트레이션 도구와 달리 랭그래프는 순
환과 조건 분기를 기본적으로 지원하므로 루프, 재시도, 동적 의사결정 경로를 별도 코드 없이
도 손쉽게 구현할 수 있습니다. 또한 부분적인 결과가 생성되는 대로 스트리밍하는 기능과 체
크포인팅을 내장하고 있어 장시간 작동하는 에이전트도 정확히 중단된 지점부터 다시 이어서
실행할 수 있습니다.
롤링 컨텍스트 윈도, 키워드 추출, 시맨틱 검색 같은 메모리 메커니즘을 일급 그래프 노드로 취
급함으로써 랭그래프는 메모리 로직을 모듈화하고 테스트 가능하게 유지합니다. 엣지는 메모
리 업데이트가
LLM
호출의 순서를 정리해 에이전트가 항상 적절한 시점에 올바른 컨텍스트를
주입받도록 합니다. 그리고 상태 (메모리 내용 포함 )를 체크포인팅하고 재개할 수 있기 때문에
에이전트는 세션을 넘어 연속성을 유지하고 실패 상황에서도 동일한 그래프 프레임워크 안에
서 복구할 수
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