Agent Basics
local graph
Chapter 4 — Agent Basics
Section titled “Chapter 4 — Agent Basics”CHAPTER 4 Agent Basics
In Chapter 1, we introduced a very simple definition for an agent: “An agent is a program powered by LLMs that can independently make decisions, plan iteratively, and execute tasks to achieve complex goals.”
This foundation gives us a starting point. At its simplest, an agent is a piece of software that can perceive information, make decisions, and take actions in pursuit of a goal. In technical terms, an agent differs from ordinary programs because it is autonomous, adaptive, and able to sustain interactions over time. Whereas a script runs once and terminates, an agent can reason about what to do next, adjust when conditions change, and coordinate with other entities—whether human or digital. Researchers often describe agents by the components of their architecture: task planning, execution, memory, problem-solving, tool use, and learning—each working together to create a self-directed system.
This may sound abstract, but the underlying concepts are not foreign to us. People themselves plan their tasks, execute them step-by-step, solve problems with creativity and reasoning, use tools to extend their capabilities, remember and learn from experience, and communicate with others to accomplish more than they could alone. Agents are engineered to do much the same—only with computational mechanisms instead of neurons. Their “brains” are large language models, their “tools” are APIs and databases, and their “memory” takes the form of context windows, caches, and long-term storage.
Because of these parallels, understanding agents should not be intimidating. It is often easier to think of them through analogy: agents are like people. This analogy works because it grounds complex technical systems in patterns we already understand—conversation, collaboration, problem-solving, and adaptation—allowing us to see agents not as alien constructs of computer science but as engineered reflections of human intelligence, scaled and accelerated in the digital realm. To make these ideas more concrete, we now elaborate on the analogy that anchors this chapter: agents are best understood as people. Just as individuals converse, collaborate, solve problems, and learn, agents exhibit the same functional patterns, though expressed through computation rather than biology. By examining the parallels step-by-step—from how a single agent resembles a person to how groups of agents resemble teams, fleets, and even organizations—we can demystify the architecture of agents and see how their design reflects the ways humans already think and work.
Agent Analogy: Agents as People
Section titled “Agent Analogy: Agents as People”Probably the best way to understand what agents are and how they work is to start with something we already know well: people. Just as people hold conversations, form teams, and build organizations, agents engage in similar patterns of interaction—but with important differences in speed, scale, and flexibility. By using a person-to-agent analogy, we can see that agents are not abstract bits of code but entities that live and act in ways that mirror human collaboration. The diagram in Figure 4-1 traces this progression—from individual to team, from fleet to ecosystem—showing how agents move beyond the fixed hierarchies of people to form vast, adaptive networks of their own.
Figure 4-1. Agent analogy: agents as people
From Person to Agent
Section titled “From Person to Agent”When you think of a person, the most natural way to describe them is in terms of conversations. People carry on exchanges with others that can last just a few minutes or stretch into hours, days, or even longer. These conversations may start and stop, circle back, or evolve over time. In the same way, an agent is not just a single-use tool or a short-lived script; it is designed to have long-running conversations, holding context across time, and engaging in interactions that are more like relationships than one-off commands.
Just like people, agents have identities. A name, a history, and a role define a person in society. For agents, identity comes in the form of an addressable presence with system—an identifier that signals continuity. Once established, this identity allows an agent to be recognized across multiple interactions, much like recognizing a familiar colleague across many conversations.
Companies use HR systems to establish a person’s identity, assign roles, and manage access across departments. Agents follow the same pattern. Their identity is defined within a system, often tied to credentials, roles, and permissions. An agent may even connect to the very same HR or identity management application that governs people, acquiring its digital “employment record” and using it to determine what conversations, data, or actions it is authorized to pursue.
Just as an employee can be recognized across projects and teams because of their role and reputation, an agent can be consistently recognized across multiple workflows and contexts because of its persistent identity. This allows agents, like employees, to be trusted participants in interactions—recalled, relied upon, and granted responsibilities that accumulate over time. Identity, in this sense, is not just a label; it is the foundation of an agent’s role in the broader system, anchoring memory, responsibility, and accountability in the same way that a person’s professional identity anchors their place within an organization.
Agents, like people, learn and adapt through repeated exchanges. A person refines their understanding of another’s preferences through ongoing dialogue; similarly, an agent gathers data from prior interactions to act more effectively in the future. This accumulation of context gives both people and agents the ability to carry “memory” from one interaction into the next.
Time is also central to the analogy. A person may recall a conversation from yesterday and use that memory to guide today’s discussion. An agent likewise retains knowledge across temporal gaps. But unlike people, agents can store the context they are given as input flawlessly and indefinitely. They do not forget or misremember; instead, they can call up prior states on demand, ensuring continuity across weeks, months, or years.
The persistence of identity and memory means that agents are not ephemeral. While a person leaves an impression in the minds of others, an agent leaves behind data trails and structured logs of its activity. These records ensure that even if an agent is suspended or paused, it can resume with continuity intact.
Another aspect of the analogy is autonomy. Just as a person does not require constant instruction to carry out a routine task, an agent can act independently once goals or rules are set. That independence makes both people and agents capable of pursuing objectives over long stretches of time without continual oversight.
Agents also differ in one key respect: their scalability. A person can only manage a handful of conversations at once before cognitive overload sets in. An agent, by contrast, can maintain dozens or even hundreds of active exchanges simultaneously, each with full fidelity of memory and context. This is where the analogy begins to stretch—agents are like people but unbound by human limits of attention.
Relationships reinforce this point. A person belongs to social groups—family, workplace, community—each carrying obligations and expectations. Agents, too, exist in multiple relational contexts. One agent might serve as a compliance monitor while also participating in a planning dialogue and simultaneously engaging in a marketplace exchange. Unlike people, agents juggle these contexts without fatigue.
The individual dimension is thus crucial: to understand agents, start by imagining them as people who converse, remember, and act. But as we move beyond the single agent, the analogy expands, showing how multiple agents form collectives much like people form teams.
From Teams to Agent Fleets
Section titled “From Teams to Agent Fleets”Teams are the next natural step in human collaboration. When individuals gather to pursue a shared task, they depend on communication, coordination, and trust. Each person contributes a role—analyst, organizer, communicator, decision-maker—and the success of the whole depends on how seamlessly these roles fit together. Agents mirror this exact pattern in the form of fleets: groups of agents that divide responsibilities, share information, and coordinate through structured exchanges of messages. Just as a sports team wins through collective play rather than solo performance, a fleet succeeds because its agents operate in harmony, each playing a part in a larger plan.
Where people form teams to extend their capacity beyond what one individual can accomplish, agents do the same. In a business setting, a group of employees may collaborate to prepare a market analysis—one gathering raw data, another interpreting patterns, a third presenting insights. A fleet of agents operates on the same principle. One agent fetches the data, another filters and cleans it, another builds the visualization, while a fourth drafts a report. The work flows from one to the next, each agent amplifying the contribution of the others. What emerges is not the output of any single participant but the product of coordinated effort.
Specialization is key for both people and agents. Human teams thrive when each member leans into a role aligned with their skills. A project manager excels at scheduling, a researcher at gathering evidence, and a writer at articulating ideas. In agent fleets, specialization follows the same principle. Some agents are tuned for natural language interaction, others for data retrieval, others for quantitative reasoning, and still others for visualization or presentation. The division of labor creates efficiency, and the interlocking of skills produces results greater than the sum of their parts.
Communication is the thread that holds all of this together. In human teams, conversations, emails, and shared documents ensure that tasks do not drift apart. Agents maintain the same constant flow of communication—though, in their through structured protocols, message passing, and data exchange. But the function is identical: keeping each participant informed, aligned, and responsive to changes in the collective task. In both people and agents, communication is the bloodstream of collaboration.
Trust underpins the entire system. A human team cannot succeed without confidence that each member will do their part and uphold their commitments. In the same way, fleets rely on mechanisms of trust to function—clear identities, reliable channels, and assurances that information is accurate and actions are carried out as intended. The analogy is straightforward: whether in human or agent collectives, trust is not an optional extra but the foundation that enables cooperation at scale.
Just as people in teams often develop rhythms and routines—stand-up meetings, deadlines, rituals—fleets of agents develop patterns of coordination. One agent may always take the lead in initiating a task, another may reliably assemble the final product, while others provide contributions in between. These routines become the shared operating rhythm of the fleet, enabling smoother coordination over time.
Finally, both human teams and agent fleets demonstrate resilience. When a human team member steps away, others redistribute the work. When an agent in a fleet is unavailable, others can carry forward the task. The essential insight is that collective action does not depend on perfection from every individual but on the ability of the group to adapt and carry on.
Taken together, we hope you find that the analogy is powerful: a team of people and a fleet of agents are not just vaguely similar—they are structured in fundamentally the same way. Each involves roles, specialization, communication, trust, and resilience. Each magnifies the abilities of individuals by weaving them into a coordinated whole. Where people naturally form teams to accomplish more, agents naturally form fleets to do the same.
From Organizations to Agent Ecosystems
Section titled “From Organizations to Agent Ecosystems”Human organizations represent the next step beyond teams. They impose structure through hierarchies, reporting lines, and formalized rules. These bring clarity and accountability but also rigidity. Information often flows slowly, decisions are bottlenecked by authority, and innovation can be stifled by bureaucracy. Despite their inefficiencies, organizations scale human collaboration by setting predictable rules for roles, permissions, and responsibilities. They provide the scaffolding that enables large groups of people to achieve more together than individuals or small teams could ever accomplish alone.
Agents display a parallel trajectory. Instead of being bound by fixed hierarchies, they can form dynamic networks—ecosystems that resemble “fleets of fleets.” These ecosystems look less like corporate org charts and more like living, adaptive systems, continuously reshaping themselves as agents join, leave, or change roles. Within this mesh-like structure, collaboration is not dictated by rigid reporting lines but by goals and needs. An agent in one fleet may temporarily collaborate with another, forming ad hoc working groups that solve specific problems and then dissolve once the objective is met. This fluidity mirrors the way human organizations form cross-functional project teams, but agents do so far faster and at larger scales.
Ecosystems also scale up in ways familiar to both humans and agents. Human organizations can grow to thousands or tens of thousands of employees, but their limits are bounded by communication overhead and bureaucracy. Agent ecosystems, in contrast, can expand across millions of agents, linking fleets across domains such as finance, logistics, compliance, and customer service. This layering of specializations parallels how corporations structure divisions, subsidiaries, and departments—but in ecosystems, the coordination happens with remarkable fluidity, at machine speed. Information can be shared, reconciled, and acted upon in milliseconds, allowing agent ecosystems to sense and respond with a responsiveness that makes even the fastest human organizations appear slow.
Resilience, too, is a shared theme. Human organizations are vulnerable to disruption—strikes, sudden leadership changes, or talent loss can destabilize them. Ecosystems of agents distribute risk across many participants. If one fleet collapses or underperforms, others can reroute tasks and keep the system running. This resembles the way supply chains often build in redundancy, but agent ecosystems can do so with precision and speed, automatically rebalancing workloads in ways human organizations could only dream of. Importantly, ecosystems do not eliminate hierarchy altogether; they allow multiple hierarchies to coexist. A compliance fleet may keep its internal structure but still collaborate seamlessly with trading fleets or monitoring fleets. In both cases—people and agents—hierarchies create order, but ecosystems create interconnection.
Like human organizations, agents may in the future not only form ecosystems but also broader ecosystems of ecosystems. Consider supply chains: businesses interlock into vast networks of suppliers, distributors, logistics providers, and regulators, all coordinating to deliver goods and services. Agent ecosystems are poised to mirror this structure, where multiple fleets coordinate across industries and domains, creating multilayered “supply chains of intelligence.” Just as companies depend on reliable partners upstream and downstream, agent fleets may coordinate to provide dependable streams of data, computation, and action.
Moreover, just as human societies rely on legal entities such as corporations to handle complexity, accountability, and liability, it is conceivable that agents in the future may, once new legal frameworks are established, evolve toward similar constructs. An agent fleet could acquire a formalized “identity” in legal terms, allowing it to sign contracts, enter agreements, or enforce compliance obligations in ways that echo the structures of human organizations. This analogy helps us imagine agents not as ephemeral utilities but as participants in the formal fabric of economic life—capable of maintaining boundaries, rights, and obligations.
In this vision, ecosystems of agents could participate in large supply chains governed not only by technical protocols but also by formalized contracts. Just as corporations today commit to service levels and legal obligations, agent collectives could one day negotiate terms, enforce compliance, and manage accountability across a web of interacting ecosystems. This analogy highlights a future in which agent ecosystems, like human organizations, are not merely technical artifacts but participants in structured economies of work and responsibility.
The ecosystem analogy ultimately points to the future of agents. Just as societies of people extend far beyond any single organization, agent ecosystems will span industries, networks, and even geographies. They will allow for unprecedented cooperation and competition at scales impossible for humans alone. The person-to-agent analogy helps us see the familiar patterns of communication, coordination, and collective action—but the real promise lies in how agents expand those patterns into ecosystems that are larger, faster, and more flexible than anything people could build.
But a bit of this is crystal ball gazing—some of this may happen, some may take longer. Nevertheless, let’s continue with our analogy and focus on the architecture of an agent and its direct analogue to the “architecture” of a person.
Architecture of an Agent
Section titled “Architecture of an Agent”Just as people plan, act, solve problems, use tools, remember, and learn, agents must be equipped with the same fundamental capabilities in order to operate effectively. Thinking of agents as “people-like” entities—not in a literal sense but in terms of functional architecture—makes their design less abstract and far more intuitive.
The image in Figure 4-2 captures this analogy in a clear, structured way. Although it depicts the architecture of an agent, every component has a direct human counterpart. Task planning and execution map to the ways people manage goals and follow through on actions. Problem-solving, tool use, memory, and learning represent the very faculties that make intelligence possible in both humans and agents. By placing these elements side by side, the diagram underscores the parallel: an agent’s architecture is not alien but is an engineered reflection of how people themselves think and act.
Figure 4-2. Architecture of an agent (simplified)
When we think about people, one of the most defining traits is the ability to plan tasks. A person can look at a goal—whether it’s cooking dinner, writing a report, or running a marathon—and break it down into a sequence of steps. They decide what comes first, what depends on what, and where flexibility may be required if circumstances change. Agents function in much the same way: they need a mechanism to transform broad objectives into actionable plans. Just as human planning involves foresight and reasoning, agent planning involves structuring actions, evaluating contingencies, and preparing for interactions with other agents or tools.
Once a plan is made, the real test comes in executing tasks. Humans are constantly engaged in execution: we follow through on errands, meetings, or decisions by actually doing them in the world. Execution is where intent becomes action. For agents, execution represents the point where abstract reasoning meets the concrete act of calling a tool, retrieving data, or exchanging messages with another agent. Execution requires discipline and adaptability, because even the best plan may need to shift midstream. This is where agents, like people, demonstrate not only competence but resilience in action.
Underlying both planning and execution lies the human faculty of problem-solving. People are rarely given perfect instructions for life’s challenges; instead, they must reason, improvise, and draw on prior knowledge to navigate uncertainty. Agents require this same capability. Their “intelligence” is not simply the rote following of rules but the ability to engage in reasoning: to select among options, to justify decisions, and to adjust in the face of unexpected developments. Problem-solving is the bedrock of autonomy for both people and agents.
No person solves problems entirely on their own. Humans use tools to extend their reach—from the hammer and the spreadsheet to the search engine and the smartphone. Tools are multipliers of ability, allowing us to accomplish tasks we could never manage unaided. Agents, too, depend on tools. They call APIs, run programs, query databases, or use other services to expand beyond their core reasoning capa[OCR-UNCLEAR]
The agent architecture must, therefore, include an interface to tools that make it vastly more capable than its underlying language model alone.
Finally, both people and agents rely on memory and learning. Humans build up a history of experiences that shape how they approach new situations. They remember what worked and what failed, and they adapt over time. Agents require the same foundation. Memory allows them to carry forward context from one interaction to the next, while adaptation allows them to refine strategies based on feedback. In people, this is what makes wisdom; in agents, it is what makes progress. Without memory and learning, both collapse into a state of repetition, unable to truly evolve.
The next sections elaborate on key topics previously mentioned: task planning, task execution, problem-solving, tool use, memory and context, and learning.
Task Planning
Section titled “Task Planning”Planning is not a superficial act of list-making; it is one of the most sophisticated demonstrations of human intelligence. When people confront a goal—whether preparing a meal, coordinating a project team, or arranging international travel—they must decompose a broad objective into a structured set of manageable subgoals. This decomposition is not trivial: it requires explicit reasoning about dependencies (what must happen before something else can occur), sequencing (what order produces the most efficient outcome), and contingencies (how to handle events if conditions change). Agents are engineered with a parallel requirement. Given a prompt or goal, an agent must generate a structured plan—not just a linear script of actions, but a dynamic roadmap that encodes justification for each step. The “why” behind each choice is as critical as the “what.”
Humans rarely plan in a vacuum. They bring to bear a lifetime of accumulated experiences—both successes and failures—which guide judgment. An experienced cook draws upon an internalized library of techniques, heuristics, and expectations about which ingredients complement one another. A novice, lacking this repertoire, leans heavily on recipes as externalized scaffolds. Agents exhibit the same spectrum: simple agents resemble novices, following brittle, precoded flows, while more sophisticated agents draw on memory, prior interactions, and adaptive reasoning. Over time, as they accumulate experiential data, their planning improves, reflecting the human pattern of expertise as the internalization of practice.
A critical dimension of human planning lies in tool selection. The modern individual inhabits an environment with millions of possible tools: physical instruments, digital platforms, social networks, and institutional services. Yet no person scans this entire “universe of affordances” when planning a task. Instead, selection is mediated by tacit knowledge, social advice, or organizational rules. A scientist does not reinvent statistical methods for every experiment; they draw on established best practices. Agents face a similar combinatorial explosion. Given access to vast APIs, services, and datasets, their effectiveness depends not on exhaustively considering all possibilities but on filtering and prioritizing the right tools for the job. Effective agent planning therefore mirrors human planning: it is as much about intelligent resource mobilization as it is about defining task sequences.
Collaboration further complicates the planning process. Human planners make explicit decisions about who to involve, drawing boundaries based on organizational structure: the accountant manages finance, the engineer manages design, the project manager integrates the pieces. These choices reflect not only technical expertise but also institutional roles and norms. Agents extend this principle into multiagent systems. Some subtasks can be completed locally, but others are best delegated to specialized agents—analogue to specialists in a human organization. Thus, agent planning includes an allocation step: deciding whether to proceed independently, invoke a tool, or call upon another agent. Collaboration is not an afterthought; it is embedded in the architecture of the plan.
Plans, however, are rarely executed exactly as conceived. Reality intrudes with delays, missing inputs, or unexpected obstacles. Humans cope by improvising, revising steps, or pivoting strategies. Similarly, agents must be able to detect when a plan is breaking down and generate plan revisions. A failed API call, a missing parameter, or an ambiguous response triggers replanning. Importantly, this is not a fallback mechanism but a core property of intelligent planning: the ability to maintain momentum despite disruptions.
Another defining feature of human planning is justification. When we defend our choices—“I chose this vendor because of reliability,” or “I prioritized this step due to urgency”—we expose the rationale that underpins the plan. This justification is critical for coordination, trust, and learning. Agents likewise must produce plans with attached reasoning. For the agent, this ensures internal coherence: why it took one path over another. For the human supervisor, it ensures traceability, accountability, and the possibility of auditing. Without explicit reasoning, an agent’s planning risks becoming a black box, opaque and untrustworthy.
Both humans and agents plan in iterative loops rather than linear passes. A person may draft a strategy, execute part of it, then reassess and update based on new information. The cycle of “plan–act–evaluate–replan” is fundamental to adaptive behavior. Agents are built with the same loop. They alternate between planning and execution, continuously updating their trajectory in response to feedback. This cyclical model makes agents robust in dynamic environments, just as it makes people resilient in uncertain ones.
Planning also occurs at different levels of abstraction. Humans distinguish between tactical plans—what errands to run today—and strategic plans—what career trajectory to pursue over decades. The two are interconnected: tactical accumulate into strategic outcomes, and strategic goals inform tactical priorities. Agents similarly generate plans across scales. They may construct micro-level tool call sequences for a single query while also maintaining macro-level workflows that unfold across hours or days. Balancing fine-grained detail with higher-order flexibility is as important for agents as it is for people.
Human planning often involves negotiation, whether explicit or implicit. Multiple stakeholders must weigh in, each with priorities, preferences, and constraints. Trade-offs must be brokered: which deliverables to sacrifice, which risks to accept, and which deadlines to prioritize. In multiagent environments, agents face the same requirement. Plans must balance efficiency against redundancy, fairness against speed, and reliability against resource constraints. These negotiations—whether encoded in protocols or emergent from interaction—are the collective dimension of planning.
Planning is the mechanism by which goals become executable reality. It is not merely a cognitive activity but a coordination of experience, resource selection, collaboration, justification, iteration, and negotiation. For both people and agents, planning is the architecture that transforms abstract intent into coherent action, grounding intelligence in a structured pathway that connects vision with execution.
Task Execution
Section titled “Task Execution”Execution is the crucible in which plans encounter reality. For people, this is the act of translating abstractions into tangible outcomes: drafting the report, sautéing the vegetables, or crossing the finish line in a marathon. For agents, execution is the phase where abstract reasoning and symbolic planning become concrete operations: API calls are dispatched, data is retrieved, messages are exchanged, and computations are performed. Planning provides the blueprint, but execution is the act of construction, where flaws, inefficiencies, and successes become visible.
Human execution often unfolds sequentially, in a chain of actions where each step is logically dependent on its predecessor. A cook chops onions before caramelizing them; a mathematician defines variables before solving equations. Sequential execution enforces order and ensures logical consistency. Agents mimic this model when tasks must occur in strict sequence—fetching data before analyzing it, authenticating before issuing a command. Sequential execution guarantees correctness but also introduces latency, since later steps must wait for earlier ones to complete.
Yet humans are not bound to linearity. Many tasks can be executed in parallel. A chef may have multiple burners going at once, and a student drafts an essay while waiting for code to compile. Parallel execution relies on attention management, prioritization, and the ability to divide cognitive or physical effort across concurrent activities. Agents exhibit an analogous capability: subtasks can be dispatched simultaneously. allowing higher throughput and reduced overall latency. Parallelism, however, introduces its own problems—coordination overhead, race conditions, and potential conflicts. Both humans and agents must balance the efficiency of concurrency against the risks of misalignment.
Documentation and externalized guidance play an essential role in human execution. Standard operating procedures, recipes, and checklists provide structure, reduce cognitive load, and safeguard against error. In high-risk domains like aviation or medicine, checklists are life-critical. Agents rely on a similar scaffolding: structured plans, protocols, and execution frameworks that ensure steps are performed in the correct order and that no requirement is overlooked. Execution engines within agents function as analogues to human procedural memory, ensuring reliability through encoded routines.
Monitoring is central to execution in both people and agents. Humans constantly self-monitor: checking whether the water is boiling, whether the draft reads coherently, or whether a deadline is still feasible. Organizations formalize this as performance management—tracking productivity, accuracy, and compliance. Agents require similar monitoring mechanisms. They must track not only completion status but also intermediate results, detecting failures, anomalies, or divergences from expected outcomes. Monitoring transforms execution from a blind process into a reflective, adaptive one.
Performance evaluation sharpens this monitoring into judgment. People assess whether execution was fast enough, accurate enough, or aligned with expectations. In workplaces, this becomes productivity measurement, quantified in metrics like output per hour or error rates. Agents must be similarly evaluated; execution is not complete until its efficiency, accuracy, and cost are measured against defined criteria. These evaluations feed back into planning, allowing agents to refine strategies over time.
Error handling is inevitable. Humans miss deadlines, spill ingredients, or miscalculate. Competent execution involves rapid error detection and adaptive recovery—correcting mistakes before they propagate. Agents mirror this process by catching failed API calls, malformed inputs, or timeouts, and deciding whether to retry, escalate, or abort. Error handling is not peripheral but a defining feature of intelligent execution. A plan without error recovery is fragile; an agent without error handling is brittle.
Execution rarely occurs in isolation. Humans often work under supervision, observation, or peer review, whether by a manager, a colleague, or even by themselves through self-reflection. Agents, too, may execute with oversight—by human operators who validate outputs or by “watchdog agents” that monitor peers for correctness and alignment. Supervised execution ensures accountability, transparency, and corrective intervention when deviations occur.
Feedback loops make execution adaptive rather than mechanical. For people, feedback from peers, supervisors, or customers shapes ongoing performance. A student revises mid-draft based on a professor’s critique. Agents integrate similar loops: intermediate results are fed back into reasoning processes, triggering replanning or reallocation of tasks. These loops ensure execution remains responsive to real-world dynamics rather than frozen in initial assumptions.
Pacing is another subtle but vital dimension. Humans must balance speed with accuracy—moving too quickly risks mistakes, while excessive slowness undermines efficiency.
Agents face identical trade-offs: execution latency, computational cost, and precision must be calibrated to optimize overall performance. This introduces the need for execution policies: when to prioritize throughput, when to maximize accuracy, and when to strike a balance.
Delegation is intrinsic to human execution. Few tasks are executed entirely alone; subtasks are delegated to assistants, peers, or contractors. Delegation expands capacity and enables specialization. Agents, too, can spawn subtasks, delegate to specialized services, or enlist other agents. Delegation multiplies power but requires coordination to ensure that distributed execution converges on the intended outcome.
Humans rely on reminders, prompts, and externalized schedules to maintain execution momentum. Calendars, alarms, and check-ins prevent tasks from being forgotten or deferred indefinitely. Agents implement similar mechanisms: schedulers, state machines, and event triggers ensure that no step is lost, deferred, or overlooked. This transforms execution into a stateful process with continuity across time.
Execution in teams requires synchronization. Humans coordinate who does what, when, and in what order, often mediated by project management systems. Misalignment leads to redundancy, bottlenecks, or omissions. Agents executing as part of a fleet require analogous coordination, often via message-passing protocols or orchestration frameworks. Fleet-level execution introduces additional complexity: distributed tasks must not only complete but must do so coherently, converging toward the collective objective.
The character of execution varies by task type. Routine tasks—brushing teeth, filing reports—require minimal reasoning and rely heavily on procedural memory. Novel tasks—designing a new product, negotiating a deal—require deliberation and adaptation. Agents span this same spectrum: routine API calls mimic habitual human behaviors, while novel integrations or unforeseen challenges demand flexible, reasoned responses.
So execution is clearly more than the simple enactment of a plan. For both humans and agents, it is a multilayered process involving sequential and parallel action, documentation, monitoring, performance evaluation, error handling, supervision, feedback, pacing, delegation, reminders, coordination, and adaptability. Execution is where intelligence proves itself in practice. It is as much about discipline, resilience, and adaptability as it is about action itself—transforming static plans into dynamic, lived performance.
Problem-Solving
Section titled “Problem-Solving”Problem-solving is one of the most defining features of human intelligence. From childhood puzzles to workplace crises, people rely on reasoning, heuristics, and creativity to navigate uncertainty. The process involves more than producing answers: it requires analyzing the situation, identifying relevant variables, generating alternative courses of action, weighing trade-offs, and ultimately selecting a path forward. Each step is shaped by prior knowledge, contextual cues, and the ability to adapt strategies when conditions shift.
Agents, too, must solve problems, often under incomplete information or unfamiliar circumstances. Their reasoning ability is grounded in large language models (LLMs)—statistical models trained on massive corpora of human text. These models distill patterns of language and reasoning from billions of examples, giving agents the capacity to generate plausible explanations, evaluate options, and propose solutions that resemble human reasoning. In the same way that human reasoning emerges from neural circuits shaped by evolution and experience, agent reasoning emerges from statistical patterns encoded in the parameters of an LLM.
The analogy between the human brain and an agent’s LLM is instructive. The brain, composed of billions of neurons interconnected in vast networks, generates cognition by detecting and recombining patterns from sensory input and memory. Similarly, an LLM, built from billions (or trillions) of parameters arranged in layered architectures, generates reasoning by predicting patterns in text based on learned associations. Neither system contains explicit rules for every possible situation; both rely on distributed pattern recognition and generalization. The brain is, in this sense, a biological “model,” while the LLM is an engineered one—both serving as substrates for flexible problem-solving.
At the same time, differences in scale and specialization mirror differences in human expertise. Some LLMs are large, general-purpose systems with broad coverage but significant computational cost, analogous to polymathic humans who can address many domains but require time and resources. Smaller models, like human specialists with narrow but deep expertise, focus on limited problem domains with higher efficiency. Fine-tuned models mirror professional experts—trained on specific tasks such as medicine, law, or finance, and capable of outperforming generalists in their niche. This spectrum reflects the diversity of problem-solvers in both human societies and agent ecosystems.
Humans often employ structured problem-solving techniques—breaking problems into smaller pieces, applying analogies to map unfamiliar situations onto known ones, or using trial and error when systematic approaches fail. Agents replicate these strategies. They decompose complex requests into subtasks, apply analogical reasoning by mapping prompts onto prior patterns, and iterate through multiple attempts until a viable solution emerges. These methods extend beyond rule-following; they enable agents, like humans, to adapt dynamically to shifting environments.
Reasoning, then, is the capability that elevates both humans and agents beyond routine activity. It transforms static instructions into dynamic, context-sensitive responses. For humans, this is the essence of creativity and adaptability. For agents, it is the pathway to autonomy—allowing them not just to execute predefined routines but to generate new responses in the face of novelty. As LLMs continue to expand in sophistication, this parallel suggests that agents may increasingly approximate the flexible, adaptive reasoning that characterizes human intelligence.
Tool Use
Section titled “Tool Use”Humans are distinguished from other species largely by their capacity for tool use. From the earliest stone axes to contemporary smartphones, tools extend human abilities beyond their biological constraints. The human hand itself cannot cut through a tree trunk, but by wielding a sharp axe, it can. The brain cannot memorize millions of records, but with writing and databases, it can. Cooking, writing, traveling, and computing are all fundamentally acts of amplification through tools. Tool use is therefore not peripheral to human intelligence but constitutive of it: cognition and culture are scaffolded on technologies that reshape what humans can achieve.
Agents depend on tools in precisely the same way. At their core, agents are powered by language models capable of generating reasoning, plans, and dialogue. But these models are bounded: they cannot calculate with high precision, access up-to-date data, or directly manipulate external environments. To be effective, agents must call upon external systems—APIs for information retrieval, databases for structured storage, calculators for precise computation, search engines for exploration, or specialized programs for domain-specific tasks. Tools enable agents to transcend the limits of their internal model, just as tools enable humans to transcend their biological limits.
Human problem-solving rarely involves a single tool in isolation. A carpenter does not simply use a hammer; they orchestrate saws, drills, levels, and measuring tapes into coordinated workflows. A business analyst assembles spreadsheets, presentation software, and email into an integrated pipeline of work. This orchestration of tools into workflows amplifies effectiveness. Agents, too, chain tools together. An agent may call a data API, clean the result with a transformation function, then send it to a visualization service. Chaining creates pipelines where the output of one tool becomes the input of the next, enabling complex multistep solutions.
Tool use is not effortless—it requires skill. Humans must be taught how to operate tools correctly, whether it’s a violin, a scalpel, or a software package. Improper use produces inefficiency, errors, or outright harm. Agents face the same requirement. Invoking an API with the wrong parameters, misusing a calculator, or failing to interpret tool outputs correctly undermines performance. Designing and training agents to use tools appropriately is as central as teaching humans how to wield their instruments effectively.
Creativity is another hallmark of human tool use. A phone becomes a flashlight; a spreadsheet becomes a de facto database; a paperclip becomes an improvised lock-pick. Humans frequently repurpose tools in ways never intended by their creators, exploiting latent affordances. Agents display a parallel adaptability. They can discover novel ways to recombine existing tools, chaining them in unanticipated configurations to solve new classes of problems. This creative recombination is often where the greatest leaps in capability occur.
Tools also mediate interaction with the external environment. Scientists use instruments to extend perception into domains otherwise invisible—microscopes, telescopes, spectrometers. Drivers use GPS to navigate complex terrains. In both cases, tools act as sensory and operational extensions of the human body. Agents, too, rely on tools to perceive and act in environments. A weather-monitoring agent queries sensors, a financial agent pulls real-time market data, a robotics agent issues commands to actuators. Without tools, agents are epistemically and operationally blind; with them, they become embedded in the world.
Context (an overloaded term, but in this case it refers to the current situation) dictates tool choice. A chef does not wield a scalpel in the kitchen, and a surgeon doesn’t wield a cleaver in the operating room. Humans intuitively match tools to tasks, balancing precision, efficiency, and appropriateness. Agents face the same selection problem: among many available APIs or services, which one best serves the task? This decision requires balancing trade-offs—accuracy versus cost, latency versus availability, specialization versus generality. Intelligent tool selection is as crucial as intelligent planning.
So in many ways, tools are multipliers of intelligence. Raw human reasoning, unaided by tools, is limited to what the body and brain alone can achieve. With tools, humans scale to feats like spaceflight, global finance, and the internet. Raw agent reasoning, unaided by external systems, is bounded by the architecture of the LLM. With tools, agents scale to dynamic data access, precise computation, and real-world control. In both cases, tools transform intelligence from an internal capacity into an externally amplified force—turning potential into power.
Memory and Context
Human intelligence is inseparable from memory. Without memory, there is no continuity of identity, no accumulation of experience, and no transfer of knowledge across generations. People rely on working memory to juggle immediate information—holding a phone number long enough to dial it, or keeping track of multiple instructions while cooking. Long-term memory anchors identity and learning, preserving life events, skills, and knowledge for years or decades. Beyond the individual, cultural memory preserves shared practices and histories, creating continuity at the scale of communities and civilizations. Memory is thus not merely a storehouse but the foundation upon which reasoning, learning, and coordination are built.
Agents mirror this structure, though in computational form. At their core lies the context window—a bounded space in which only a limited number of tokens can be held at once. This is the agent’s analogue to working memory. Just as humans cannot actively juggle more than a handful of concepts simultaneously, agents cannot process beyond the fixed capacity of their model’s window. This limitation has given rise to the emerging discipline of context engineering, which is concerned with selecting, curating, and compressing information so that the most relevant details are available at the right time. Context engineering is to agents what attention and focus are to humans: a way of allocating scarce cognitive bandwidth to what matters most.
Humans cope with memory constraints by prioritization and retrieval strategies. We do not carry every detail of every experience in our active awareness; instead, we filter for relevance, guided by salience, emotion, or cues. A smell may trigger a childhood memory; a question may call forth a stored fact. Agents face the same requirement. They cannot retrieve all knowledge at once, so they must rely on selection mechanisms—ranking documents in a vector store, compressing conversations, or surfacing the most semantically relevant chunks. Both humans and agents demonstrate that intelligence depends not on remembering everything but on remembering the right things at the right time.
Computing provides a further parallel. Memory in computers is layered: CPU registers handle the immediate, caches provide short-term acceleration, and hard drives offer long-term persistence. Humans exhibit a similar hierarchy: working memory resembles registers, short-term memory functions like cache, and long-term episodic or semantic memory acts like persistent storage. Agents can be designed with analogous tiers: immediate context windows for active reasoning, cached intermediate results for quick reuse, vector stores for semantic recall, and external knowledge bases for long-term persistence. Hierarchies of memory, in both people and machines, enable speed without sacrificing depth.
Humans routinely externalize memory. Writing, calendars, photographs, and digital devices serve as prosthetics, extending the reach of biological memory into artifacts and institutions. Agents also externalize memory into logs, databases, knowledge graphs, or vector embeddings. These external memory banks can be queried, retrieved, and reintegrated into the context window, allowing continuity across interactions.
Memory underwrites continuity. Human relationships derive meaning from remembered conversations, promises, and shared experiences. Forgetfulness erodes trust; continuity builds it. Agents likewise must sustain conversational memory, maintaining state across interactions so that exchanges feel coherent and contextually aware. Without memory, an agent is reduced to a stateless function call; with it, the agent becomes a partner capable of relationship-like interactions.
Memory, however, is fallible. Humans forget, misremember, or confabulate, producing errors as naturally as successes. Agents exhibit analogous failures: dropping context when the window is exceeded, hallucinating missing details, or misapplying stored information. Both require correction mechanisms. For humans, these may take the form of reminders, external records, or social correction. For agents, they take the form of grounding, validation, or re-retrieval to ensure alignment with reality.
Beyond continuity, memory enables reflection. Humans revisit past experiences, learn lessons, and change behavior accordingly. Reflection is the process by which memory becomes growth. Agents, too, can analyze logs of prior executions, comparing outcomes to objectives, and refining future strategies. This transforms memory from a passive store into an active driver of improvement.
Memory is also collective. Families preserve genealogies, organizations preserve records, and societies preserve histories. These collective memories coordinate groups across time. Agent fleets may develop analogous mechanisms: shared vector stores, synchronized knowledge bases, or distributed logs that enable multiple agents to access and update common context. Collective memory allows agents not only to act individually but also to coordinate at scale, just as cultural memory enables human civilizations to persist and evolve.
In both humans and agents, memory is more than storage. It is the living substrate of intelligence, enabling continuity of identity, coherence of interaction, adaptation through reflection, and coordination across individuals. Without memory, intelligence collapses into a series of isolated moments. With memory, both humans and agents become historical beings—capable of connecting past, present, and future into a coherent whole.
As language models—the “brains” of agents—continue to grow in size and capability, they demonstrate astonishing leaps in reasoning, generalization, and fluency. Yet even the most advanced models remain constrained by the context window, the finite space in which information can be supplied for reasoning at any given moment [^1]
mismatch between expanding intelligence and bounded context capacity is one of the central engineering challenges in agent design today. No matter how powerful the underlying model, its effectiveness is bottlenecked by what can be fit into its working memory.
This is where context engineering emerges as a critical discipline. It is the practice of shaping, compressing, and curating information so that the agent consumes the right data, in the right format, at the right time. For humans, the analogy is focus and attention: we cannot attend to all sensory inputs simultaneously, so we filter aggressively, deciding which signals deserve priority. A student studying for an exam does not attempt to reread every book they have ever encountered; they prioritize key chapters and summaries. Agents must do the same, curating knowledge from vector stores, pruning irrelevant details, and compressing interactions into compact representations that fit within the context window.
As agents become more capable and widely deployed, context engineering is becoming not just a technical necessity but a core skill. The ability to select which facts, conversations, and documents to surface in context will determine whether an agent performs brilliantly or flounders under load. The human parallel is clear: in fast-paced environments, success often depends less on raw intelligence than on disciplined focus—the ability to sift noise from signal and concentrate on what matters. In the same way, context engineering ensures that agents can operate at their true potential despite structural limits, making it the bridge between ever-growing model capacity and the practical constraints of finite attention.
Learning
Humans acquire knowledge through a dynamic interplay of formal education and lived experience. Formal systems—universities, schools, textbooks, lectures—supply explicit, codified knowledge that can be transmitted across generations. This knowledge is abstract, systematic, and broadly applicable. At the same time, lived experience provides tacit learning. Conversations, trial-and-error mistakes, workplace practices, and social interactions produce forms of understanding that are embodied, situated, and difficult to fully articulate. Human expertise emerges not from either source alone but from their synthesis. A surgeon learns anatomy from textbooks but also learns the “feel” of surgery only through practice.
Agents also embody this duality. Their pretraining phase is analogous to human formal education. During creation, an LLM is exposed to vast corpora of text, acquiring generalizable patterns of reasoning, language, and knowledge. This base training equips the agent with explicit, codified capabilities. Yet learning does not stop there. Agents must continue to adapt after deployment, updating their memory and refining their strategies in response to new inputs and interactions. This ongoing adaptation parallels tacit learning in humans, where real-world engagement shapes and contextualizes knowledge.
The human distinction between explicit and tacit knowledge has a direct analogue in agent architectures. Explicit knowledge is codified, structured, and transferable—such as mathematical formulas or legal definitions. In agents, this maps to pretrained parameters and fine-tuned models: knowledge encoded during development that can be applied across many contexts. Tacit knowledge, by contrast, is embodied and personal: the intuition a craftsman develops over years of practice, or the unspoken norms one learns in a workplace. For agents, tacit knowledge takes the form of interaction-based adaptations—updates to memory stores, evolving heuristics, or patterns reinforced through reinforcement learning with human feedback (RLHF). The interplay between explicit and tacit forms is what gives both humans and agents depth.
Moreover, learning is layered. Humans often progress through stages: acquiring broad foundations in early schooling, then specializing through advanced study, and refining skills through ongoing practice. Agents mirror this trajectory. Pretraining provides broad general foundations; fine-tuning sharpens them for specific domains (like medicine or finance); and in-context learning adapts them on the fly to the current task. Each stage builds upon the last, producing an entity that is both generalist and specialist, both trained and adaptive.
Learning is not simply about storing information—it is about transformation. For humans, the essence of learning lies in converting memory into growth: the ability to do something tomorrow that one could not do yesterday. This transformation requires integration, reflection, and adaptation. Agents follow the same path. They take logs of prior executions, feedback from users, and stored experiences, and convert them into improved performance over time. Without this transformation, both humans and agents stagnate, remaining static repositories rather than evolving problem-solvers.
At its core, learning ensures that memory is not inert. It makes intelligence developmental, not merely operational. For humans, this is what allows children to grow into experts, apprentices into masters, and societies into civilizations. For agents, learning is what allows systems to evolve from static models into adaptive entities—capable of handling novel challenges with increasing skill and autonomy. In both cases, learning is the process that transforms intelligence from a state of “having knowledge” into a trajectory of becoming more capable.
Collaboration and Communications
Collaboration and communication sit at the core of human activity. While individuals can often accomplish small tasks alone—writing a note, preparing a meal—most complex work requires the coordinated effort of multiple people. Building a bridge, launching a business, or running a hospital are undertakings that exceed the capabilities of a single person. In the same way, agents can operate individually, but their full potential emerges when they collaborate. Multiagent systems allow tasks to be decomposed and distributed, with specialized agents working together to solve problems too complex for one to handle.
For humans, the most basic form of communication is a direct conversation: one person speaking to another, face-to-face. This point-to-point model is efficient, personal, and immediate. Agents follow the same principle. They send targeted messages from one to another, ensuring that information reaches the intended recipient without being diluted or broadcast unnecessarily. Just as people value clarity and directness in conversation, agents benefit from protocols that ensure unambiguous, low-latency message delivery.
Collaboration expands communication beyond one-to-one exchanges. Humans work in pairs, teams, and organizations, sharing information, dividing responsibilities, and synchronizing their efforts. The success of such collaboration depends on not just the act of talking but the ability to align goals and maintain shared context. Agents mirror this pattern. In collaborative fleets, agents pass messages, share intermediate results, and negotiate responsibilities. One agent may analyze data while another generates a summary and yet another checks compliance—each contributing to the collective outcome.
Language is the medium that makes human collaboration possible. Whether English, Spanish, or Mandarin, shared languages provide a common ground for expressing ideas, negotiating, and coordinating. Agents likewise require shared languages. But instead of natural languages, they rely on structured specifications or protocols. Emerging standards such as A2A (agent-to-agent) communications aim to define these interaction rules, ensuring that agents built by different teams or organizations can still collaborate effectively. In this sense, protocols are to agents what languages are to people: conventions that make communication intelligible and reliable.
Just as humans need a medium for their conversations—sound waves for speech, ink for writing, networks for texting—agents require communication channels. For people, technology has expanded these media: telephones, email, video calls, and instant messaging. Agents use analogous channels in the form of network protocols, message buses, or publish/subscribe systems. Whether messages travel over HTTP, NATS, or other transport layers, the principle is the same: communication requires not only a language but also a medium capable of carrying it.
Human collaboration is rarely just about exchanging words; it also involves context, nuance, and feedback. Conversations carry tone, emotion, and rhythm that influence meaning. Agents, too, increasingly require richer forms of communication. Metadata, context frames, and structured envelopes (such as CloudEvents) provide the “tone” and “body language” of agent interactions—helping interpret not just the content of a message but its purpose, source, and intended use.
In human societies, collaboration scales from small groups to vast organizations. The larger the group, the more formalized the communication becomes: from casual chat among friends to board meetings governed by agendas and minutes. Agents follow the same trajectory. As fleets grow, ad hoc messaging becomes insufficient. Protocols, schemas, and governance mechanisms emerge to ensure order, prevent conflict, and support scalability. Without these, multiagent systems risk descending into chaos, just as human organizations collapse without clear communication structures.
Trust is another cornerstone of human communication. People rarely collaborate effectively without confidence in the reliability and integrity of their partners. Agreements, contracts, and social norms provide the scaffolding for trust. For agents, the equivalent lies in authentication, authorization, and encryption—mechanisms that guarantee messages are genuine, secure, and exchanged only between trusted parties. Collaboration without trust is fragile in both human and agent domains.
Feedback loops also play a critical role. People do not simply speak into the void—they observe reactions, listen for clarifications, and adapt their speech accordingly. Effective collaboration requires this constant back-and-forth adjustment. Agents likewise need feedback. A request must be acknowledged, a response validated, and errors communicated so that the collaboration can adapt in real time. Without feedback, conversations become monologues, and collaboration falters.
So humans collaborate and communicate to extend their abilities, and agents do the same. People rely on conversations, languages, media, and trust to work together toward shared goals. Agents rely on protocols, specifications, channels, and security mechanisms to achieve the same end. Whether in human societies or digital ecosystems, communication is the connective tissue that transforms isolated actors into collective intelligences—capable of achievements no individual, human or agent, could accomplish alone.
Summary
Taken together, the analogies between people and agents show that the power of agents is not something strange or opaque but instead rooted in patterns we already know well from human intelligence and collaboration: agents plan tasks as humans do when breaking down goals into steps; they execute with the same balance of sequencing, monitoring, and adaptation that people bring to work; they solve problems using reasoning engines—their LLM “brains”—just as humans rely on cognition; they amplify their abilities through tools, much like people wield technologies to transcend biological limits; they depend on memory and carefully engineered context to sustain continuity, echoing how humans focus attention and externalize knowledge; they learn from both formal training and lived experience, paralleling explicit and tacit human knowledge; and finally, they collaborate and communicate in ways directly analogous to human conversations, languages, and organizational structures. The architecture of agents, in other words, is not alien—it is a designed reflection of human intelligence, coordination, and growth, scaled into computational form. In many ways, the best way to understand agents is to understand people.
In Chapter 5, we turn to the technical foundations—how agents are architected, how they interact within an agentic mesh, and what systems enable them to operate at scale.
PART II
Defining the Agent Ecosystem: Agentic Mesh
The chapters in Part II move from high-level concepts to architecture. We’ve already established what agents are and how they differ from earlier forms of AI, so now this part explains how those agents come together into something larger: the agentic mesh. It explores the design principles, infrastructure, and governance needed to transform isolated agents into a functioning ecosystem—one that can operate reliably, securely, and at scale. You will see how the mesh provides the connective tissue between thousands of autonomous components, turning what might otherwise be chaos into coordination.
Chapter 5, “Agent Architecture”, lays the technical foundation for understanding how agents work internally. It introduces the shared concepts that underpin all agent designs: a common set of principles; the role of the LLM as the agent’s “brain”; and supporting components such as memory, tools, and context engineering. The chapter explains how agents manage tasks, interact with one another, and evolve into specialized types such as observers, task-oriented agents, and goal-oriented agents. It also explores common agent patterns that enable reuse and scalability, giving readers a blueprint for building agents that are both intelligent and practical.
Chapter 6, “Enterprise-Grade Agents”, explains what it takes to transform agents into production-ready systems. It introduces the characteristics that define enterprise-grade capability: security, observability, explainability, and scalability, to name a few. Chapter 7, “Agentic Mesh: Enterprise-Grade Agent Ecosystem”, scales the discussion from single agents to systems of agents. It defines what an agent ecosystem is, explores the challenges of coordinating large numbers of autonomous entities, and identifies the core services—such as communication, discovery, and coordination—required to make such an ecosystem function. This chapter introduces fleets as a new abstraction: groups of agents that operate together as coherent teams.
Chapter 8, “Agentic Mesh User Experience (UX)”, brings the human back into the loop. It shows how people engage with agents through a unified interface—the marketplace—where they can discover, invoke, and monitor agents. The chapter emphasizes that usability is not an afterthought: the success of the mesh depends on intuitive user experiences that make powerful systems accessible. It explains how the marketplace connects users to agents, manages interactions, and creates a seamless bridge between human intent and agent execution.
Chapter 9, “Agentic Mesh Registry”, introduces the registry as the mesh’s central nervous system. It describes how metadata about agents, tools, users, policies, and interactions is stored and maintained, ensuring discoverability, traceability, and governance. The registry provides the authoritative record that keeps the ecosystem coherent—preventing duplication, enforcing rules, and supporting transparency across thousands of agents.
Chapter 10, “Interaction Management”, discusses how communication unfolds in agentic mesh. It covers both people-to-agent and agent-to-agent interactions, introducing the idea of workspaces as shared collaboration environments where multiple agents can coordinate on tasks. This chapter focuses on the mechanics of dialogue, task flow, and state management—how agents sustain long-running interactions, remember context, and recover from failure.
Chapter 11, “Security Considerations”, outlines how to protect the agentic mesh from threats, misuse, and unintended behavior. It explains how principles like zero trust, encryption, and role-based access control (RBAC) extend to agents and their interactions. The chapter also discusses isolation, authentication, and policy enforcement, ensuring that agents operate safely and that data integrity and privacy are preserved throughout the ecosystem.
Chapter 12, “Trust Framework and Governance”, concludes Part II by addressing the question of assurance: how do we know an agent can be trusted? This chapter presents a trust framework that begins with identity, authentication, and authorization and extends to certification and policy conformance. It proposes a roadmap toward agent governance—systems and standards that let enterprises certify that an agent behaves ethically, securely, and in alignment with the agent’s declared purpose.