AI & vibe coding · Explainer

What is an AI agent?
Examples you already use

An AI agent is software that uses an AI model to pursue a goal by deciding its own next steps — reading information, choosing tools, taking actions and checking results in a loop until the task is done. A chatbot replies; an agent acts. Examples include coding agents, research assistants that compile reports, and support agents that issue refunds within limits.

By , FounderUpdated 4 min read

Share

Quick answer: What is an AI agent?

  1. Goal-driven — given an objective, not just a question.
  2. Uses tools — search, code, apps, APIs, browsers.
  3. Loops — plan → act → observe → adjust.
  4. Examples — coding agents, research assistants, support agents.
  5. Risks — wrong actions, cost, security; keep humans in control.

Key takeaways

  • Agents act; chatbots answer. That difference changes the risk.
  • Many useful 'agents' are really structured workflows with AI steps — and that's fine.
  • Tools and permissions define what an agent can do — and what can go wrong.
  • Human approval for important actions is a key safety pattern.
  • Start with narrow, well-defined tasks before broad autonomy.

"Agent" is the most overused word in tech right now. Strip away the hype and there's a simple, important idea: an AI that doesn't just answer you, but does things for you — looks things up, uses apps, takes actions, checks whether it worked, and keeps going until the job is done.

What is an AI agent? At a glance: Goal-driven; Uses tools; Loops; Examples; Risks.
At a glance: What is an AI agent?

The agent loop

Diagram of 5 steps for the agent loop: 1. Goal; 2. Plan; 3. Act; 4. Observe; 5. Adjust.
The agent loop
  1. Goal — "Find out why checkout conversions dropped last week."
  2. Plan — decide the next step: query analytics, check recent releases.
  3. Act — use a tool: run a query, open a dashboard, read release notes.
  4. Observe — look at the result.
  5. Adjust — choose the next step, or finish and report.

Chatbot vs workflow vs agent

Chatbot vs AI workflow vs AI agent
ChatbotWorkflow with AIAgent
What it doesReplies to messagesFollows predefined steps, some done by AIDecides its own steps toward a goal
Uses toolsRarelyYes, in fixed placesYes, as it chooses
PredictabilityHighHighLower
Best forQ&A, support FAQsRepeatable processesOpen-ended, multi-step tasks

Anthropic's guidance draws exactly this line between workflows and agents — and recommends starting with the simplest approach that works1.

Examples you already use

Examples you already use: Coding agents; Research assistants; Support agents; Computer and browser agents.
Examples you already use

Coding agents

Tools that read a codebase, change many files, run the tests and fix failures.

Research assistants

"Deep research" features that search the web, read sources and write a cited report.

Support agents

Assistants that look up your order, check a policy and issue a refund within limits — handing off to a human when unsure.

Computer and browser agents

Assistants that fill forms, navigate websites or operate apps to complete a task.

What makes agents work

Checklist: What makes agents work — A capable model; Tools; Context; Guardrails; Evaluation.
What makes agents work
  • A capable model to plan and decide
  • Tools — search, code, APIs, databases — connected through standards like MCP2
  • Context — instructions, data and memory relevant to the task
  • Guardrails — permissions, approvals and limits
  • Evaluation — checking whether the agent actually succeeded

The risks

AI agent risks and safeguards
RiskExampleSafeguard
Wrong actionRefunding the wrong orderApproval for high-impact actions
Prompt injectionA web page tells the agent to leak dataTreat external content as untrusted3
Runaway costLong loops on expensive modelsStep and budget limits
Over-permissionAccess to systems it doesn't needLeast-privilege access

Ready to try? See how to build an AI agent without coding, and learn how agents connect to tools in what MCP is.

Key terms, defined

AI agent — software that uses a model to pursue a goal with tools. Tool use — an AI calling functions, APIs or apps. Workflow — predefined steps, some performed by AI. Prompt injection — malicious instructions hidden in content an AI reads. Human in the loop — a person approving or reviewing actions.

Frequently asked questions

What's the difference between an AI agent and a chatbot?

A chatbot responds to messages. An AI agent pursues a goal by deciding and taking actions with tools — running code, browsing, calling APIs — and checking the results until the task is complete.

What's the difference between an agent and a workflow?

Anthropic distinguishes workflows, where AI and tools follow predefined steps, from agents, where the model dynamically directs its own process and tool use. Workflows are more predictable; agents are more flexible.

What are examples of AI agents?

Coding agents that implement and test changes across a repository, research agents that search and compile reports, customer-support agents that look up orders and process refunds within rules, and assistants that operate a browser or computer to complete tasks.

Are AI agents safe?

They can be, with safeguards: limited permissions, approval steps for important actions, logging, spending limits, and defences against prompt injection from untrusted content.

What tools do AI agents use?

Search engines, code execution, databases, business apps via APIs, browsers and file systems. Standards like the Model Context Protocol (MCP) make connecting agents to tools easier.

Can I build an AI agent without coding?

Yes, for many business tasks. Automation platforms with AI steps and agent builders let you connect a model to tools and data visually. See our guide to building an AI agent without code.

Sources

  1. Anthropic — Building effective agents
  2. Model Context Protocol — Official documentation
  3. OWASP — Top 10 for Large Language Model Applications
  4. Checked October 23, 2026. Figures that change — fees, salaries, prices — are reviewed every six months; if something is out of date, tell us.
Pass it on

Know someone who'd enjoy this?

Send it to them — one tap, no sign-up. Good ideas travel best between friends.

Keep exploring

Where to go from here

Join free

Get the ideas, not the noise.

Sign up with Google and we’ll send you short UX psychology tips by email — why people tap, stall and leave, and what to do about it. Unsubscribe anytime. Prefer something to keep? Get the free Laws of UX guide as a PDF.

Get the free Laws of UX PDFFree · no spam · unsubscribe anytime
AI products

Make your AI feature something users trust.

A behavioral UX audit of your app or SaaS product: why users hesitate, stall and leave, and a prioritized fix list. Fixed price, 2–4 weeks.

Free certification

Turn what you know into a credential.

Free, test-based UX, UI and product certifications. Answer real product scenarios, graded on our server, and earn a founder-signed certificate anyone can verify and you can add to LinkedIn.

  • Credential ID
  • QR verification
  • LinkedIn-ready
Free PDF · 74 pages · 2 editions

The Laws of UX, in one field guide

60 research-backed principles in 6 categories — what each one means, why it works on the human brain and how to use it on your own screens. Written by Sushant Singh, founder of Science of Apps, who has scaled consumer apps to lacs of users and spent 10+ years leading product across startups and digital businesses in the US, EU & India.

Pick your edition
Free. No card, no paywall — just your email.
Free PDF · 74 pages

Get Laws of UX by email

Choose your edition

You’ll also get occasional UX psychology tips. Unsubscribe anytime. Privacy policy

Free PDF · 90 pages · 2 editions

100+ Subscription Paywalls, decoded

110 real paywalls from top apps, taken apart, rated out of 5 and decoded with the Laws of UX — plus the frameworks, copy and checklists to ship your own. By Sushant Singh, founder of Science of Apps.

  • 110 paywalls rated
  • 34 Laws of UX
  • 12 frameworks

Which paywall scored 4.8 out of 5, and which scored 2.6? It’s all inside.

Pick your edition
Free. No card, no paywall — just your email.
Free PDF · 90 pages

Get 100+ Paywalls, Decoded by email

Choose your edition

You’ll also get occasional UX psychology tips. Unsubscribe anytime. Privacy policy