Unit 2/Lesson 1 of 3

What Is an AI Agent?

An AI agent combines a language model with tools, memory, and a control loop — it can perceive context, reason about a goal, take actions, and observe results. Understanding agent anatomy is the PM's prerequisite for writing any spec.

SkillsAgent architectureLLM fundamentalsControl loop design
+20 XP
✏️ On desktop — select text to ask Nobi, save notes, or add thoughts

The anatomy of an agent

A simple LLM call is stateless: you send a prompt, you get a response, the model forgets everything. An AI agent is different — it has four components that enable autonomous task completion:

Model — the LLM at the center (GPT-4o, Claude Sonnet, Gemini Flash). The model reasons, plans, and generates outputs. Its capabilities and limitations define what the agent can and can't do.

Tools — functions the agent can call: web search, a database query, a CRM API, a code executor. Tools let the agent act on the world, not just generate text. The model decides which tool to call and with what arguments; the result comes back into the context.

Memory — context the agent can reference across turns or sessions. Short-term memory is the context window (the current conversation). Long-term memory is an external store (a vector database, a structured DB) that the agent retrieves from via tool calls.

Control loop — the logic that decides when the agent is done. A naive agent runs until the model says it's finished. A robust control loop includes: max iterations, confidence thresholds, human approval gates, and error recovery branches.

For BuzzBoard's products: Zylo is an agent with tools (CRM read/write, web search, email send), memory (account history, prior outreach), and a control loop that determines when to escalate to a human rep.

囲
Tesujiてすじ

A brilliant local tactic — the right move in a specific situation. Tools are tesuji: each one is the right tactic for a specific subtask. The agent's job is to recognize which tesuji to play.

Agents vs. chatbots vs. automation

Three things often get conflated. A PM needs to be precise:

Chatbot — responds to user input in a conversational format. It may use an LLM for language quality, but it's fundamentally reactive. It doesn't take actions autonomously. Examples: a support FAQ bot, a product assistant that answers questions.

Automation (RPA, workflow automation) — executes predefined rules or steps without intelligence. Zapier, Make, n8n. The logic is authored by humans; the system just executes it. It can't handle ambiguous inputs or reason about novel situations.

AI Agent — combines LLM reasoning with the ability to take actions, evaluate results, and adapt. An agent can handle instructions like "find the 20 best SMB prospects in the HVAC vertical in Ohio and draft personalized outreach for each" — it reasons about what data to pull, calls the right tools, evaluates quality, and iterates.

BuzzBoard's value proposition requires agents, not chatbots or automations. A rep shouldn't have to tell Zylo exactly how to research each prospect. Zylo should reason about the goal, select the right research approach, and produce the output autonomously.

The agent failure modes a PM must own

AI agents fail in ways that are different from traditional software. A PM who doesn't understand these failure modes will write specs that look complete but fail in production:

Hallucination — the model generates plausible-sounding but false information. For Zylo, this means fabricating details about a prospect that aren't in the data. Mitigation: constrain the model to only use data it has retrieved via tools; use output validation to flag low-confidence claims.

Tool call failure — the model calls a tool with malformed arguments, the tool returns an error, and the agent loops or gets stuck. Mitigation: robust error handling in the tool integration, fallback behaviors when tools are unavailable.

Context overflow — as the agent works longer, the context window fills up. Important early context gets truncated. Mitigation: summarization steps, selective context pruning, structured memory rather than raw conversation history.

Goal drift — in complex multi-step tasks, the agent optimizes for a proximate goal that diverges from the actual intent. Example: told to "write personalized outreach," the agent generates technically personalized but aggressive messages that violate brand guidelines. Mitigation: explicit constraints and evaluation criteria in the system prompt.

Cost explosion — an agent loop that makes many tool calls or processes long contexts can generate unexpected costs. Mitigation: budget controls, max iterations, cost monitoring per run.

Ask Nobiexplain

Select any text in the lesson to ask a question. Press Esc to close.

1 / 3

Zylo is conducting research on 500 prospects and is 200 in when the web search tool starts returning errors. What agent failure mode is this and what should the PM spec as mitigation?