Book
Context Engineering
Understood through LLM Principles, RAG, and Agent Development
Hirosato Gamo
Summary
A Japanese-language book on context engineering for large language models (LLMs), by Hirosato Gamo, a cloud solutions architect and evangelist at a foreign-owned IT company. It defines context as the varied input given to an LLM, including the prompt, and treats context engineering as the body of techniques for deciding what to give, what to discard, and how to keep the limited input space in good condition. The book explains the basic mechanisms of AI models, starting from how the Transformer works, and the behavior of APIs from the viewpoint of context. It covers instruction prompt design, preparing data sources for RAG (Retrieval-Augmented Generation), and automating workflows with AI agents. Taking LLM quirks such as Lost in the Middle and the volatility of conversation history into account, it presents a view of designing context without relying only on prompt tweaks.
Target Readers
- IT engineers interested in developing LLM applications who want to learn how the Transformer and the APIs handle context
- Developers working to improve the accuracy of a RAG system or an AI agent who want to learn how to prepare data sources and design context
- Engineers who work on developing LLM applications and want to learn how instruction prompts, API behavior, RAG, and AI agents relate to context
Tags
Colophon
- Publisher
- Gijutsu-Hyohron
- 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 ni yoru AI Agent Kaihatsu Koza (A Course in AI Agent Development with LangChain)
Yoshiki Kanda
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
Tsukutte Manabu AI Agent (Learning AI Agents by Building One)
Opening Up AI-Era Engineering with TypeScript and LLMs
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.