ManningBooks

ManningBooks

Devtalk Sponsor

Designing AI Agents (Manning)

In Designing AI Agents, you’ll learn how to establish agent architectures that manage costs and take governance seriously from day one. This innovative book explores 27 reusable patterns that you can apply to your own agentic systems confidently.

Huang Jia

A lot of us have moved past “can I call an LLM API?” and into the messier question: how do I build an agent that keeps working after the demo? The hard parts are familiar to anyone shipping software: cost, reliability, testing, permissions, failure recovery, observability, and deciding when a simple design is enough.

This book gives those problems a shared vocabulary.

Jia Huang, an AI researcher at A*STAR Singapore, organizes agent design around a two-axis framework:

  • Seven cognitive functions: perception, memory, reasoning, action, reflection, collaboration, governance

  • Six execution topologies: chain, route, parallel, orchestrate, hierarchy, loop

Together, those axes produce 27 reusable agent patterns. The point is to help teams stop arguing vaguely about “agent architecture” and start naming the actual design choice in front of them: context triage, hierarchical retention, complexity-based routing, tool dispatch, generator-critic loops, approval gates, blast-radius control, and so on.

The book also has a running build, which I think DevTalk readers will appreciate. You incrementally build Argus, a code-review agent that starts as a small perception-reasoning-action loop and grows into a more production-ready system. Each chapter adds a capability:

  • perception, so Argus loads the right files instead of drowning in context

  • memory, so it can carry lessons across sessions

  • reasoning, so it can spend more thinking budget on hard changes and less on trivial ones

  • action, so tool use is routed, checked, and bounded

  • reflection, so it can critique and improve its own work with external signals

  • collaboration, for multi-agent coordination

  • governance, for permissions, audit trails, and progressive trust

One idea that runs through the book is simple but useful: the model spends; the harness budgets. Tokens, context, tool calls, trust, and human review are all limited resources. Good agent architecture is mostly deciding where those resources go.

The book is written for engineers who already know the basics of agents and want to build systems that are dependable enough to ship. It also looks at reference harnesses and production tools such as Claude Code, Cursor, and OpenClaw, plus case studies for DevOps incident response, compliance review, and research synthesis.

If your team is wrestling with questions like these, this one is worth a look:

  • When should a task stay single-agent, and when does multi-agent coordination pay for itself?

  • How do you stop context windows from becoming expensive junk drawers?

  • What should an agent remember, and what should it forget?

  • How do you test something probabilistic without pretending it is deterministic?

  • What does “governance” look like as architecture rather than policy theater?


Don’t forget you can get 45% off with your Devtalk discount! Just use the coupon code “devtalk.com” at checkout :+1:

Where Next?

Popular Ai topics Top

ManningBooks
Before deploying an AI model into production, you need to know more than just its accuracy. Will it be fast enough for your users? Will i...
New
New
New
ManningBooks
Build an AI Agent (From Scratch) is a step-by-step guide to creating a working AI agent, starting with the bare essentials and growing yo...
New
ManningBooks
Dr Luca Belli, co-founder and former research lead for Twitter’s Machine Learning Ethics, Transparency and Accountability team, has been ...
New
ManningBooks
CUDA for Deep Learning shows you how to work within the CUDA ecosystem, from your first kernel to implementing advanced LLM features like...
New
ManningBooks
Introduction to Generative AI, Second Edition, guides you from your first eye-opening interaction with tools like ChatGPT to how AI tools...
New
ManningBooks
Build AI-Enhanced Web Apps guides you through AI development using only JavaScript and other common web dev skills–no Python or Machine L...
New
ManningBooks
Building Agentic Applications with CrewAI and MCP by Max Gfeller is a practical, example-driven guide to designing AI systems that plan, ...
New
ManningBooks
In Designing AI Agents, you’ll learn how to establish agent architectures that manage costs and take governance seriously from day one. T...
New

Other popular topics Top

PragmaticBookshelf
Andy and Dave wrote this influential, classic book to help their clients create better software and rediscover the joy of coding. Almost ...
New
Exadra37
I am thinking in building or buy a desktop computer for programing, both professionally and on my free time, and my choice of OS is Linux...
New
Rainer
My first contact with Erlang was about 2 years ago when I used RabbitMQ, which is written in Erlang, for my job. This made me curious and...
New
PragmaticBookshelf
Learn different ways of writing concurrent code in Elixir and increase your application's performance, without sacrificing scalability or...
New
DevotionGeo
The V Programming Language Simple language for building maintainable programs V is already mentioned couple of times in the forum, but I...
New
PragmaticBookshelf
Create efficient, elegant software tests in pytest, Python's most powerful testing framework. Brian Okken @brianokken Edited by Kat...
New
Maartz
Hi folks, I don’t know if I saw this here but, here’s a new programming language, called Roc Reminds me a bit of Elm and thus Haskell. ...
New
PragmaticBookshelf
Author Spotlight Mike Riley @mriley This month, we turn the spotlight on Mike Riley, author of Portable Python Projects. Mike’s book ...
New
DevotionGeo
I have always used antique keyboards like Cherry MX 1800 or Cherry MX 8100 and almost always have modified the switches in some way, like...
New
New