AI PM 10X / TECHNICAL FOUNDATIONS

AI Agents

Systems that do not just answer but act. They plan, call tools, observe the result, and take the next step on their own. That autonomy changes what a PM has to design and what can go wrong.

Overview

An AI agent is a system that uses a language model to decide what to do, take an action, see what happened, and keep going until a goal is met. A chatbot returns one answer and stops. An agent runs a loop. It can search, query a database, run code, or call an API, then use what it learns to choose its next move. That ability to act, rather than only respond, is what makes agents both powerful and harder to control.

For product managers, the important judgement is when to use one. Agents cost more, run slower, and behave less predictably than a fixed workflow. Most tasks have a path you can hard-code, and for those a workflow wins. Agents earn their place when the steps genuinely depend on what the model discovers along the way. Once you do build one, the tools it can reach, the points where a human approves an action, and how you measure success all become product decisions you own.

Why It Matters for PMs

From answer to action

A chatbot returns text. An agent takes steps. It plans, calls tools, reads the result, and decides what to do next. That shift changes what your product can do and what can go wrong.

Most tasks do not need one

Agents add cost, latency, and unpredictability. A fixed workflow is cheaper and more reliable for most jobs. Reach for an agent only when the path to the goal cannot be hard-coded in advance.

You own the boundaries

An agent acts on its own, so the PM defines what it may touch, where a human signs off, and how failure is caught. The guardrails are a product decision made from day one.

Key Concepts

Three ideas that make an agent more than a chatbot. The loop it runs, the tools it acts through, and the memory that holds it together

1

The reasoning loop

Plan · Act · Observe

An agent works in a loop. It reasons about the goal, takes an action, observes the result, then reasons again until the task is done. The best-known version of this pattern is ReActReActReAct (Reasoning + Acting) prompts the model to alternate a 'Thought' with an 'Act' such as calling a search tool, then read the 'Observation' before the next thought. Yao et al. (2022) showed it beats reasoning or acting alone.ReAct paper (arXiv). Some agents also reflectreflectReflection has the agent critique its own output and try again before finishing. Self-correction loops like Reflexion (Shinn et al., 2023) catch mistakes the first pass missed.Reflexion paper (arXiv) on their own work and retry before they report back.

2

Tools

Function calling · Acting

A model on its own can only produce text. Tools are what let it act. Through function callingfunction callingFunction calling lets the model emit a structured request to run a function you defined, such as search_orders(customer_id). Your code runs it and hands the result back. This is the core mechanism behind every agent.Anthropic on tool use the agent can query a database, hit an API, or run code. A growing standard for connecting tools is the Model Context ProtocolModel Context ProtocolThe Model Context Protocol (MCP) is an open standard, introduced by Anthropic in 2024, for connecting AI models to tools and data sources through one common interface. It is to AI tools roughly what USB is to devices.Model Context Protocol, which gives any model a common way to reach external systems.

3

Memory & orchestration

State · Coordination

A useful agent has to remember. Short-term state lives in the context windowcontext windowThe context window is the amount of text a model can consider at once, measured in tokens. It is the agent's working memory. Once a task exceeds it, earlier steps fall out of view unless they are stored elsewhere.Anthropic on context windows, while longer-term recall is often kept in a vector storevector storeA vector store keeps past information as embeddings so the agent can retrieve what is relevant to the current step. It gives an agent memory that survives beyond a single context window.Weng on agent memory. For larger jobs, work is split across multiple agentsmultiple agentsA multi-agent system uses several specialised agents that coordinate, such as a planner that delegates to workers. Anthropic's research system showed it can outperform a single agent on broad, parallel tasks.Anthropic multi-agent system that each handle one part and report back.

Building blocks to know

Hover over any term for a plain-English explanation and a link to go deeper.

Architecture

How the agent is wired

ReAct loopReAct loopThe reason-act-observe cycle that lets a model interleave thinking with tool calls. It is the default structure for most single agents and the thing to understand first.ReAct paper (arXiv)PlanningPlanningThe agent breaks a goal into an ordered set of sub-steps before acting. Good planning is what separates an agent that finishes a complex task from one that wanders.Weng on planningReflectionReflectionThe agent reviews its own output, spots errors, and retries before finishing. It trades extra tokens and latency for higher reliability on hard tasks.Reflexion (arXiv)
Tools

How the agent acts

Function callingFunction callingThe model emits a structured call to a function you defined, your code runs it, and the result goes back to the model. This is how an agent reaches anything outside its own text.OpenAI function callingMCPMCPThe Model Context Protocol, an open standard for connecting models to tools and data through one common interface, so you do not hand-wire every integration.Model Context ProtocolCode executionCode executionGiving the agent a sandbox to write and run code. It turns open-ended tasks like data analysis into something the agent can solve by computing rather than guessing.Anthropic on tool use
Memory

What the agent remembers

Context windowContext windowThe span of text a model can hold at once, measured in tokens. It is the agent’s working memory, and tasks that overrun it lose their earlier steps.Anthropic on context windowsVector memoryVector memoryLong-term recall stored as embeddings in a vector database, retrieved by relevance to the current step. It lets an agent remember across sessions and beyond a single context window.Weng on memoryScratchpadScratchpadA running log of the agent’s thoughts, actions, and observations kept inside the prompt. It is how the agent tracks where it is partway through a multi-step task.Prompting Guide: agents
Reliability

How you keep it safe

GuardrailsGuardrailsHard limits on what the agent may do: which tools it can call, what data it can touch, when it must stop. They keep an autonomous system inside a safe envelope.Anthropic: effective agentsHuman-in-the-loopHuman-in-the-loopA checkpoint where a person approves a step before the agent proceeds, used for actions that are costly or hard to undo such as sending money or deleting data.OpenAI agents guideAgent evalsAgent evalsTests that score whether an agent reached the right outcome across a complete task rather than one isolated response. They are how you know a change made the agent better rather than worse.Chip Huyen on agents

In Practice

Four ways agents change how PMs scope and ship AI features

1

Decide whether you even need an agent

Autonomy is expensive and harder to control than a fixed flow. The honest first question is whether the task has a predictable path you could hard-code. If it does, a workflow will be cheaper, faster, and easier to trust. Save the agent for jobs where the steps genuinely depend on what the model finds along the way.

2

Scope the tools as carefully as the prompt

An agent is only as capable and as dangerous as the tools you give it. Defining that tool set is product work. Each tool you add expands what the agent can accomplish and what it can break, so you decide which APIs it may call, what data it can read, and what it is never allowed to touch.

3

Place the human checkpoints deliberately

Some actions are cheap to undo and some are not. Reading a record is low stakes. Issuing a refund or emailing a customer carries real consequences. Put a human-in-the-loop approval in front of the irreversible steps, and let the agent run free on the reversible ones. Where that line sits is a call only the PM can make.

4

Evaluate outcomes across the full task

A chatbot is judged one answer at a time. An agent has to be judged across a whole task, because a good-looking step can still lead to a wrong result three steps later. Build evals that score the end state against what the user actually wanted, and watch the failure traces to see where the loop went off course.

Curated Resources

Videos

Key Takeaway

An agent trades predictability for autonomy. Use one only when the task cannot be hard-coded, then earn back the control by scoping its tools tightly, gating the irreversible steps behind a human, and evaluating the outcome rather than any single reply.