Book
コンテキストエンジニアリング
蒲生弘郷
Summary
LLMがどのように入力情報を処理し応答を生成するかをTransformerの仕組みから 解き明かし、指示プロンプトの設計、API利用時のコンテキスト構成、RAGにおける データソースの整備、AIエージェントによるワークフロー自動化までを扱う。 Lost in the Middleや会話履歴の揮発性といったLLM特有の癖を踏まえ、プロンプトの 工夫だけに頼らずコンテキストを設計する視点を提示する。
Target Readers
- LLMアプリケーション開発に携わるエンジニア
- RAG・AIエージェントの精度改善に取り組む開発者
Tags
Colophon
- Publisher
- 技術評論社
- ISBN
- 978-4-297-15419-6
- Published
- Feb 2026
- List price
- ¥3,300incl. taxMay differ from the actual selling price on Amazon
Get this book
* The link above is an advertisement via Amazon Associates.Related Books
Next Books
- Recommended
LangChainによるAIエージェント開発講座
神田良輝
Reason: Once you grasp how LLMs process input and generate responses, plus the fundamentals of prompt design and context construction, you can see what abstractions a framework like LangChain takes off your hands. This book's insights on issues like Lost in the Middle and the volatility of conversation history give you criteria for designing context when building agents with LangChain.
- Recommended
作って学ぶAIエージェント
laiso
Reason: Understanding how to call LLM APIs and the basics of context design lets you keep sight of what's happening behind the reasoning loop and tool calls when building an agent from scratch in TypeScript. The context-engineering knowledge underpins the design decisions behind a self-built coding agent like Nano Code.
Sources