Introduction to LLM Agents
Introduce LLM agents as systems built around probabilistic language models, and explain why roles, tools, memory, context, and feedback create a different way of building software.
Read chapter →Explore how LLM agents grow from simple conversations into reflective, tool-using, memory-enabled and multi-agent systems—and how those systems can become collaborators, companions, interfaces, and extensions of human agency.
An LLM agent is more than a model responding to a prompt.
It is a system built around a model that can maintain context, use tools, remember, reflect, plan, coordinate with other agents, and adapt its behaviour as a task unfolds.
This book explores what those capabilities make possible when they are combined.
It begins with a simple idea: language models are probabilistic systems. Their unpredictability is not merely a weakness. Used carefully, it can become a source of exploration, variation, creativity, and adaptation.
From there, the book moves outward—from a conversation, to a single agent, to teams of agents, and finally to a new way of working in which intelligent systems become part of how we think, build, research, filter information, and act.
The recurring question throughout the book is:
What becomes possible when AI stops being only a tool you operate and becomes a system you can think with, shape, combine, and collaborate with?
The progression looks like this:
human intention
↓
conversation
↓
role + goal
↓
tools + memory
↓
reasoning + reflection
↓
revision + versioning
↓
multi-agent coordination
↓
shared context + collaboration
↓
companion agents + digital lenses
↓
freestyle cognition
↓
amplified human agency
The language model remains at the centre of many of these interactions.
But the model is not the whole system.
Roles shape behaviour. Tools connect the system to the world. Memory creates continuity. Reflection creates a path toward improvement. Versioning protects progress. Coordination allows multiple agents to become a team. Human intention gives the system its direction.
By working through the chapters, you will learn how to move from simply talking to a language model toward deliberately designing systems around it.
You will learn how to:
The objective is not merely to automate more work. It is to understand how intelligent systems can become collaborators in thinking and creation.
The book develops this idea across eleven chapters.
01 Introduction to LLM Agents
Understand what an agent is, why probabilistic systems behave differently
from traditional software, and why this creates a new way of building.
02 Methodologies and Core Patterns
Work through iteration, feedback, conversation, reflection,
and the productive use of stochastic variation.
03 The Architecture of Agent Behavior
Explore the core building blocks:
roles, tools, memory, stepwise reasoning, coordination, and evolution.
04 Designing Your First Agent
Build a small practical agent team using roles, tools,
memory, and self-reflection.
05 The Thinking Agent
Add reflection, critics, comparison, revision,
versioning, and protection against regression.
06 Architecting Agent-Based Systems
Move to multi-agent systems, shared memory, collaboration models,
modular components, bridge agents, and larger-scale coordination.
07 A New Way of Working With Technology
Examine what changes when natural language becomes an interface
and the distance between intention and action begins to collapse.
08 Companion Agents
Apply agent ideas to reflection, routines, persistent roles,
memory, versioning, and aligned growth.
09 Designing Your Digital Lens
Use AI as an adaptive layer between you and the digital world,
filtering information according to context and purpose.
10 Freestyle Cognition
Combine conversation, research, coding, experimentation,
versioning, and rapid iteration into one fluid way of working.
11 The World You're Building
Bring the ideas together around the larger theme:
agent technology can expand human agency.
The order matters.
Before building teams of agents, we need to understand the behaviour of one.
Before relying on reflection, we need to understand the feedback loop.
Before building persistent companions, we need roles, memory, and versioning.
Before talking about digital lenses or freestyle cognition, we need to see how agents can become active participants in a workflow rather than isolated response generators.
The book therefore expands the scale of the system gradually:
prompt
↓
conversation
↓
single agent
↓
reflective agent
↓
agent team
↓
agent architecture
↓
human-AI working relationship
↓
persistent cognitive environment
Traditional software is usually designed around explicit instructions.
Its behaviour is largely determined in advance.
Agentic systems introduce something different.
A model can interpret context, generate alternatives, revise its own work, choose among possible actions, use tools, and coordinate with other model-driven components.
That means the developer is no longer specifying every path directly.
The work increasingly becomes one of shaping behaviour.
Traditional software
instructions
↓
fixed logic
↓
execution
↓
result
Agentic systems
intention
↓
context
↓
interpretation
↓
decision
↓
action
↓
feedback
↓
adaptation
This does not eliminate software engineering. It changes where some of the engineering happens.
Instead of controlling every outcome through fixed logic, we increasingly design roles, interfaces, memory, tools, constraints, feedback loops, and coordination structures that guide probabilistic systems toward useful behaviour.
One of the book’s recurring patterns is therefore:
Generate, evaluate, revise, compare, preserve what works, and be willing to go back when a new version is worse.
Improvement should not mean endless change.
A capable agent system needs a way to recognize progress without losing it.
A single agent can do useful work, but complex problems often benefit from specialization. One agent can plan. Another can research, critique, execute, or review.
The design problem becomes coordination.
manager
|
+-----------+-----------+
| | |
researcher critic executor
| | |
+-----------+-----------+
|
shared context
|
reviewer
A centralized architecture keeps strong control in one coordinating agent.
A decentralized architecture gives agents more independence.
A hybrid architecture combines centralized direction with local autonomy.
As systems grow, the agents themselves also need structure:
identity
role
version
inputs
outputs
tools
memory access
constraints
collaborators
This leads to another important principle:
Treat agents as intelligent components rather than mysterious black boxes.
Named roles, explicit interfaces, shared memory, versioning, and discoverability make larger agent systems easier to understand, replace, extend, and evolve.
The later chapters broaden the argument.
For most of computing history, humans adapted themselves to machines.
We learned commands, programming languages, menu structures, and interfaces.
Language models reverse part of that relationship.
Now the machine can increasingly meet us through ordinary language.
idea
↓
conversation
↓
exploration
↓
working structure
↓
artifact / code / research / action
The interface begins to disappear into the conversation.
Once an agent also has memory, roles, reflection, and continuity, it can become more than a task runner.
It can become a companion system.
The same architecture can also sit between you and the wider digital world as a digital lens, deciding what deserves attention according to context and purpose.
And when conversation, research, coding, testing, revision, and exploration happen together, the result is what the book calls freestyle cognition:
question
↓
conversation
↓
research
↓
prototype
↓
test
↓
reflection
↓
revision
↓
new question
The point is not a particular framework.
It is a new rhythm of thinking and building with intelligent systems.
The goal is not that you memorize a specific agent framework.
The goal is that you begin to see the design space.
You should be able to look at an agentic system and ask:
What role does this agent have?
What goal is it trying to achieve?
What context can it see?
What can it remember?
What tools can it use?
How does it decide what to do next?
Can it evaluate its own work?
Who checks that evaluation?
How are better versions preserved?
How do multiple agents communicate?
Is coordination centralized, decentralized, or hybrid?
What state is shared?
How are agents identified and versioned?
Can one agent be replaced by another?
Where does human intention enter the system?
What should remain under human control?
Does this system actually increase human agency?
Those questions are useful whether you are working with a simple conversational agent or a much larger multi-agent architecture.
They also expose why structure matters.
As systems become more capable, informal prompts and loosely defined roles become harder to reason about.
Memory can become inconsistent.
Agents can drift.
Coordination can become ambiguous.
A revision can be worse than the version it replaced.
A team of agents can create more noise instead of more intelligence.
The more adaptive the system becomes, the more valuable clear roles, interfaces, memory, feedback, versioning, coordination, and human goals become.
This book is for people who want to understand and work with LLM agents without beginning from a large framework or highly formal architecture.
It is especially useful for:
Some chapters are architectural.
Some are practical.
Some are speculative.
Together they describe a transition from using AI to collaborating with it.
This is not a formal specification for production agent infrastructure.
It is not a catalogue of every agent framework.
It is not a claim that probabilistic systems should replace deterministic software.
It is not an argument that every task needs multiple agents.
And it is not a prediction that one architecture will dominate the future.
Instead, the book explores a set of ideas, patterns, experiments, and design intuitions that help make the emerging agent landscape easier to see.
The emphasis is on understanding what becomes possible as models gain:
roles
tools
memory
reflection
coordination
persistence
adaptation
and what those capabilities mean for the people working with them.
By the end of Agent Architectures: Advanced Strategies for Intelligent LLM Systems, you should be able to see an agent not simply as a chatbot, but as one component in a larger adaptive system.
You should understand how agents can be shaped into roles, connected to tools, given memory, taught to reflect, organized into teams, versioned as they evolve, and integrated into ongoing human workflows.
More importantly, you should be able to ask a broader question:
How can these systems expand what a person is able to think, build, discover, and create without losing the human intention that gave the work its direction?
That is the larger subject of the book.
It begins with agents and ends with agency.
Introduce LLM agents as systems built around probabilistic language models, and explain why roles, tools, memory, context, and feedback create a different way of building software.
Read chapter →Explore stochastic variation, feedback loops, conversation, reflection, and iteration as core patterns for working with LLM agents.
Read chapter →Break agent behavior into roles, tools, memory, feedback loops, collaboration, and emergent structure.
Read chapter →Build a small role-based agent workflow through conversation, using a manager, researcher, simulated tools, and reflection.
Read chapter →Use reflection, critique, revision, comparison, versioning, and regression awareness to improve agent behavior over time.
Read chapter →Design larger agent systems with coordination models, shared memory, modular components, bridge agents, and hybrid architectures.
Read chapter →Examine natural language as a computing interface and how conversational systems can shorten the distance between intention and action.
Read chapter →Apply roles, memory, routines, reflection, and continuity to companion agents that support personal reflection and aligned growth.
Read chapter →Design AI systems as adaptive filters between a person and the digital world, surfacing information according to purpose and context.
Read chapter →Combine conversation, research, coding, experimentation, testing, revision, and versioning into a fluid AI-assisted working style.
Read chapter →Bring the book together around agent systems, collaboration, digital lenses, freestyle cognition, and amplified human agency.
Read chapter →Collect supporting papers and references for the agent architecture concepts discussed throughout the book.
Read chapter →