Não gostou? Não há problema! Pode devolver os artigos até 30 dias
Não há como errar com um vale de oferta. O presenteado pode escolher qualquer produto da nossa oferta.
Até 30 dias para devoluções
Context Compaction in Agent Harness Engineering
Theory, Mechanisms and Production Engineering
Build AI agents that remember what matters, discard what does not, and preserve critical information across long-running tasks.
As AI agents become more autonomous, their ability to manage context is emerging as one of the most important challenges in modern AI engineering. Limited context windows, growing token costs, fragmented memory and information loss can undermine even the most sophisticated language models.
Context Compaction in Agent Harness Engineering offers a systematic, research-informed exploration of how context can be compressed, organised, retrieved and preserved without compromising the reliability of agentic systems.
Combining theoretical foundations, practical engineering techniques and reproducible experiments, this book examines the mechanisms that enable AI agents to operate effectively across extended workflows.
What You Will LearnContext Engineering Fundamentals: Understand the agent harness, context lifecycles, token budgets, information theory and the consequences of information loss.
Compaction Mechanisms: Explore truncation, pruning, semantic compression, structured checkpoints, context folding and hierarchical memory.
Adaptive Context Management: Examine trigger policies, retrieval decisions, adaptive compressors and reinforcement learning approaches.
Performance and Cost Optimisation: Understand prompt caching, KV caching, token economics and the operational trade-offs of context management.
Reliability and Security: Learn how to preserve critical instructions, maintain evidence provenance and protect operational constraints during compaction.
Scientific Evaluation: Design reproducible experiments using paired replay, performance metrics, benchmarks and longitudinal evaluation.
Production Architecture: Discover architectural patterns for integrating context management, observability and validation into scalable AI agent systems.
Rather than treating context compaction as a simple summarisation task, this book approaches it as a fundamental engineering discipline involving memory, information preservation, computational efficiency and system reliability.
Across twelve progressively structured chapters, readers explore theoretical concepts, practical examples, algorithms and experimental methods, building a deeper understanding of context management in real-world AI applications.
Who Is This Book For?Designed for AI Engineers, Machine Learning Engineers, Data Scientists, LLM Application Developers, Software Architects and researchers working with large language models, autonomous agents and generative AI systems.
Whether you are developing your first agentic application or engineering sophisticated production systems, this book provides the conceptual foundations and practical methods needed to design more efficient, reliable and maintainable AI architectures.
The future of agentic AI is not simply about giving models more context. It is about engineering systems that know what information matters, when to preserve it, and how to recover it when needed.
Olá! Sou o Libroamiko, o seu conselheiro de livros.
Como posso ajudar?