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
In Build a Reasoning Model (From Scratch), acclaimed ML research engineer Sebastian Raschka takes you inside the black box of reasoning-e...
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
Erlang and OTP in Action teaches you the concepts of concurrent programming and the use of Erlang’s message-passing model. It walks you t...
New
ManningBooks
After ChatGPT used RLHF to become production-ready, this foundational technique exploded in popularity. In The RLHF Book, AI expert Natha...
New
pragdave
Build a prototype in a weekend or a full product in a month or two. Untangle legacy systems, improve tests and documentation, and tackle ...
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
How can you be sure your next AI project is worthwhile before you build it? Look Before You Leap offers a repeatable go/kill/pivot decisi...
New
ManningBooks
AI is changing how offensive security workflows are designed, executed, and analyzed. AI Agents for Offensive Security: AI-powered attack...
New
ManningBooks
AI tools like ChatGPT, Claude Code, and OpenClaw produce impressive results that can be shockingly human-like. But are they really thinki...
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
dasdom
No chair. I have a standing desk. This post was split into a dedicated thread from our thread about chairs :slight_smile:
New
DevotionGeo
I know that -t flag is used along with -i flag for getting an interactive shell. But I cannot digest what the man page for docker run com...
New
AstonJ
Just done a fresh install of macOS Big Sur and on installing Erlang I am getting: asdf install erlang 23.1.2 Configure failed. checking ...
New
Exadra37
I am asking for any distro that only has the bare-bones to be able to get a shell in the server and then just install the packages as we ...
New
foxtrottwist
A few weeks ago I started using Warp a terminal written in rust. Though in it’s current state of development there are a few caveats (tab...
New
AstonJ
If you get Can't find emacs in your PATH when trying to install Doom Emacs on your Mac you… just… need to install Emacs first! :lol: bre...
New
PragmaticBookshelf
Author Spotlight: VM Brasseur @vmbrasseur We have a treat for you today! We turn the spotlight onto Open Source as we sit down with V...
New
CommunityNews
A Brief Review of the Minisforum V3 AMD Tablet. Update: I have created an awesome-minisforum-v3 GitHub repository to list information fo...
New
AstonJ
This is cool! DEEPSEEK-V3 ON M4 MAC: BLAZING FAST INFERENCE ON APPLE SILICON We just witnessed something incredible: the largest open-s...
New