Braj Kishore
JourneyVaultML FoundationsAI PM GuideAgenticNewsWork With MeMentorshipPulseNow
Say hi

Hiring · Building · Investing

Have a system — or a team —that needs to scale?

info@avyxon.ai

Usually replies within a day · track record here

JourneyVaultML FoundationsAI PM GuideAgenticNewsWork With MeMentorshipPulseNow
LinkedInXYouTubeSubstackInstagramThreadsFacebookDiscordGitHubTopmate
© 2026 Braj Kishore · Bengaluru, INThink Big · Start Small · Scale Fast
The Guide
06Phase 2 · Knowledge & Action

AI Agents

When the model stops just answering and starts doing things. And how you keep it safe.

8-min read~5–6 hrs with the practice + a short course
The analogy

A chatbot is a knowledgeable receptionist who answers questions. An agent is a capable assistant you hand a goal ('book my trip') who makes the calls and fills the forms — but who can also confidently book the wrong hotel, so you keep approval rights on anything irreversible.

Unlearn this

That 'more autonomous = better'. In production, unbounded autonomy is a liability: outputs are non-deterministic, so blindly retrying a failed step often worsens a cascading error. The best agent products are tightly scoped with guardrails and human-in-the-loop gates.

The lesson, in five answers

01

What is it?

An agent is an LLM that takes actions to reach a goal. It plans steps, calls tools and APIs, looks at the results, and adjusts. It doesn't just reply with text. Tool calling (also called function calling) lets the model send a structured request, like 'call refund_order with id=123'. Your code then runs it. MCP (Model Context Protocol) is the up-and-coming shared standard for how agents plug into those tools and data sources. A chatbot talks. An agent does.

What are AI Agents?IBM Technology
02

Why it matters to a PM

Agents are the 2026 frontier. That's where both the value and the risk pile up. As PM, you decide a few things. Which tools it's allowed to use. Where a human must sign off before it acts (refunds, deletes, messages to outsiders). What guardrails hold it back. And how you score the whole run of steps, not just the final answer. Bigger goals more and more use several agents working together. One agent leads and hands sub-tasks to worker agents. They also keep memory that carries across steps.

03

When would I reach for it?

Use an agent when a goal really needs several steps and tool calls, and the payoff is worth the extra risk and cost. For simple questions or a single lookup, a chatbot or plain RAG is safer and cheaper.

04

Trade-offs & failure modes

Agents fail in their own way. One wrong step snowballs into the next. Common failures: the agent sends broken arguments to a tool, gets stuck in retry loops that burn money, passes errors down the line, picks the wrong tool, or wanders off-task. You hold these back with step limits, spend and time budgets, input checks, and human sign-off gates. The sharpest risk is the 'lethal trifecta'. That's when one agent can reach private data, can read untrusted content, and can send data out. Combine all three and hidden instructions in a fetched web page or document can hijack it. This is called indirect prompt injection. Guardrails cut this risk but never remove it. The real defence is in how you build it. Give each tool the least access it needs. And don't let one agent hold all three powers at once.

Building Effective AI AgentsAnthropicPatterns for LLM Systems & ProductsEugene Yan
05

Say this in an interview

"For a refund agent, I'd let it look up the order and draft the action on its own. But I'd require a human to approve before any money moves. I'd give its tools the least access they need. I'd treat anything it fetches as untrusted, because of the lethal-trifecta risk. And I'd score the full run of steps: did it pick the right tool, were its arguments valid, did it follow policy? Not just the final message."

Tool use / function callingAnthropic
Learn it from the best — as you go

The canonical explainers for this topic. Open them alongside the lesson, not after it.

Watch
  • What are AI Agents?IBM Technology · Short, clear framing of how agents differ from chatbots and where tools fit.
Read
  • Building Effective AI AgentsAnthropic · Agents vs workflows and when NOT to build an agent — the most practical PM read here.
  • LLM Powered Autonomous AgentsLilian Weng · The canonical deep-read on planning, memory and tool use as agent building blocks.
  • Patterns for LLM Systems & ProductsEugene Yan · Guardrails, defensive UX (HITL) and failure modes as reusable production patterns.
Paper
  • ReAct: Reasoning + ActingYao et al., 2022 · The paper behind reason-then-act loops that most tool-using agents are built on.
Docs
  • Tool use / function callingAnthropic · The concrete tool_use → tool_result round trip — how function calling works in code.

External links open in a new tab. Content and prices change — verify before relying on any of them.

Key terms

Tool / function calling

The model sends a structured call, and your code runs it. This is how an agent acts on the world.

MCP (Model Context Protocol)

The emerging universal standard for connecting agents to tools and data. Knowing it signals you keep up.

Human-in-the-loop (HITL)

A required human approval gate before high-stakes or irreversible actions.

Lethal trifecta

One agent that can reach private data, read untrusted content, and send data out. Put all three together and hidden instructions can hijack it (indirect prompt injection). Defend by how you build it, not just by adding rules.

Multi-agent orchestration

A lead agent that hands sub-tasks to worker agents. It's how big goals grow past what one agent can do.

Trajectory evaluation

Scoring every step the agent took, like tool choice, arguments, cost, and policy, not just the final answer.

The stack — tools you'll hear about

You don't need to use or master these. Recognising the names — and which box each sits in — is the tech-stack awareness a PM needs. No deep dive.

  • LangGraph · CrewAI · AutoGen · OpenAI Agents SDKAgent frameworksBuild and orchestrate agents.
  • MCP (Model Context Protocol)StandardsThe universal way agents connect to tools/data.
  • Composio · ZapierAgent frameworksReady-made tool integrations.
  • LangSmith · LangfuseEval & tracingTrace and debug agent runs.
  • Lakera · Guardrails AIGuardrails & securityInjection defence & output guardrails.

Try it

Inside an agent's loop

Plan → act → observe → repeat, with a human-in-the-loop gate before money moves.

The Agent Loop (02)

A chatbot answers. An agent acts.

An agent pursues a goal through a loop — Plan → Act → Observe → repeat — calling tools to change the world until it's done. Step through a refund agent below.

Loop · tap a node
repeatGoalPlanActObserveDone

Plan — It reasons about the next move given the goal and everything observed so far.

Refund agent · trajectorystep 0/6
  1. Goal received
    “Cancel my two unused subscriptions.”
Agent failure modes
Malformed tool argsRetry loop burns costError propagationWrong tool chosenDrifts off-task
Why it matters to a PM

You decide which tools it may call, where a human must approve, and the guardrails — spend caps, step limits — that box in its autonomy. And you evaluate the whole trajectory, not just the final answer.

Test yourself

Recall beats re-reading. Answer before you flip.

AI Agents · self-test
2 cards
Card 1 / 2 · box 1
Do this

Take a multi-step task (e.g. 'cancel my unused subscriptions'). List the tools an agent would need, mark which steps are irreversible, and draw where you'd put the human-approval gate. That's the core of an agent PRD.

This is where the hours go — reading is the warm-up, doing is the learning.

Go deeper
  • Building effective agentsAnthropic
  • Evaluating AI Agents (course)DeepLearning.AI

External resources open in a new tab. Course prices and links change — verify before paying.

Marked this one off? Your progress saves on this device.

PreviousRAG — Retrieval-Augmented GenerationNextEvaluation — 'How do we know it works?'