Skip to Content
에이전트 시대의 AI 시스템 설계
book

에이전트 시대의 AI 시스템 설계

by 발리아파 락슈마난, 하네스 하프케, 류광
April 2026
Intermediate
592 pages
13h 28m
Korean
Hanbit Media, Inc.
Content preview from 에이전트 시대의 AI 시스템 설계
415
7
장
에이전트의 행동 능력 활성화
{"messages": [{"role": "user", "content": """6월 12일에 모리셔스에서 이스
탄불로 가는 직항편 중 이용 가능한 항공편으로 이코노미 클래스 티켓을 예약
해."""}]}
)
이상에서 보듯이,
MCP
방식은 오픈
AI
Responses
API
를 사용하는 저수준 방식보다 훨씬 간
결하다.
7.1.3
예제
미국 도시의 실시간 날씨 정보를 가져와서 사용자의 질문에 답하는 과정 전체를 예제로 살펴보
자. 전체 코드는 원서 깃허브 저장소의
21
_
tool
_
calling
/
mcp
폴더에 있다. 도구 호출 구현을
간소화하기 위해
MCP
를 사용하겠다 (랭그래프는 사용하지 않는다 ).
날씨 도구
이 예제 애플리케이션은 이를테면 “화요일에 시카고에 비가 올까?” 같은 질문에 답해야 한다.
미국 국립기상청
National
Weather
Service
의 무료
API
를 이용하면 미국 각지의 실시간 날씨 정보를 얻
을 수 있다. 이
API
를 사용하려면 원하는 지역의 위도와 경도가 속한 격자점
grid
point
을 알아내
고 그 격자점의 날씨 정보를 요청해야 한다 (
mcp
/
mcp
_
weather
_
server
.
py
).
@mcp.tool()
async def get_weather_from_nws(latitude: float, longitude: ...
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

메타데이터 관리의 기본 원칙

메타데이터 관리의 기본 원칙

Ole Olesen-Bagneux
그림으로 배우는 생성형 AI

그림으로 배우는 생성형 AI

프리양카 베르가디아, 발리아파 락슈마난
잘되는 머신러닝 팀엔 이유가 있다

잘되는 머신러닝 팀엔 이유가 있다

데이비드 탄, 에이다 양, 데이비드 콜스

Publisher Resources

ISBN: 9791175790490