Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Events
Videos
Audiobooks
Packt Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Agentic Coding with Claude Code

You're reading from   Agentic Coding with Claude Code The everyday developer's guide to agentic coding with Claude Code

Arrow left icon
Product type Paperback
Published in Mar 2026
Publisher Packt
ISBN-13 9781806022595
Length 376 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Author (1):
Arrow left icon
Eden Marco Eden Marco
Author Profile Icon Eden Marco
Eden Marco
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Part 1: Foundations of Context Engineering and Claude Code
2. Chapter 1: Context Engineering FREE CHAPTER 3. Chapter 2: The Gist of Claude Code 4. Chapter 3: Getting Started with Claude Code – A Tour of Essential Commands 5. Part 2: Extending Claude Code: Protocols, Automation, and Structured Workflows
6. Chapter 4: Extending Claude Code with MCP Servers and Plugins 7. Chapter 5: Automating Your Development Workflow with Claude Code and GitHub 8. Chapter 6: Claude Code Planning and Multi-agent Workflows 9. Chapter 7: Working with Claude Code Subagents 10. Chapter 8: Creating and Customizing Output Styles 11. Part 3: Advanced Agents and Deep System Design
12. Chapter 9: Understanding Agent Skills 13. Chapter 10: Using Claude Code Desktop 14. Chapter 11: Understanding Deep Agents 15. Chapter 12: Unlock Your Exclusive Benefits 16. Other Books You May Enjoy
17. Index

1

Context Engineering

This chapter introduces context engineering and explains why it has become a critical concept when building and using modern AI agents. While many AI systems are often described as "just prompts wrapped around an LLM," this chapter shows why that view breaks down as agents become more complex, long-running, and tool-driven. You will learn where context comes from, why it keeps growing, and how poor context handling leads to degraded performance, higher costs, hallucinations, and inconsistent behavior.

The goal of this chapter is to give you a clear mental model for context engineering and show how it is applied in practice. We start by explaining how context engineering evolved from prompt engineering, then use Claude Code as a concrete example of how modern agents write, select, compress, and isolate context. Towards the end, we will examine system prompts, why they still matter, and how to design them effectively.

Your purchase includes a free PDF copy...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Agentic Coding with Claude Code
You have been reading a chapter from
Agentic Coding with Claude Code
Published in: Mar 2026
Publisher: Packt
ISBN-13: 9781806022595
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Modal Close icon
Modal Close icon