{"id":"ai-agents","title":"AI agents, minus the hype.","searchTitle":"AI Agents Explained: When to Use One & What It Costs","cheat":["An agent is a model in a loop that picks its own next step.","Most jobs want a workflow: steps you decide, a model filling the gaps.","Agents burn far more tokens than chat. Start in suggest mode."],"description":"What an AI agent actually is, when a simple workflow beats one, how to choose a platform and what it really costs to run one in production.","topic":"agents","tags":["must-know","builders","leaders"],"published":"2026-10-29","updated":"2026-10-29","minutes":3,"terms":[{"id":"agent","term":"Agent"},{"id":"workflow","term":"Workflow"},{"id":"tool-calling","term":"Tool calling"},{"id":"mcp-server","term":"MCP server"},{"id":"agent-harness","term":"Agent harness"},{"id":"agent-memory","term":"Agent memory"},{"id":"token","term":"Token"}],"tools":[{"label":"Skills and workflows","path":"/library/skills"},{"label":"Repos worth building on","path":"/repos"}],"sources":[{"label":"Anthropic: Building effective agents","url":"https://www.anthropic.com/research/building-effective-agents"},{"label":"Anthropic: How we built our multi-agent research system","url":"https://www.anthropic.com/research/multi-agent-research-system"},{"label":"OpenAI: A practical guide to building agents","url":"https://cdn.openai.com/business-guides-and-resources/a-practical-guide-to-building-agents.pdf"}],"blocks":[{"type":"p","children":[{"type":"text","text":"\"Agent\" now means everything from a chatbot with a calendar plugin to software that runs for hours on its own. That makes buying decisions hard and builds go wrong. Here's the plain version."}]},{"type":"h2","children":[{"type":"text","text":"What an agent is"}]},{"type":"p","children":[{"type":"text","text":"An "},{"type":"link","href":"/ai-glossary/agent","children":[{"type":"text","text":"AI agent"}]},{"type":"text","text":" is a model working in a loop. It looks at the goal and the situation, decides what to do, uses a tool (search, send an email, update a record, run code), looks at the result and decides the next step, until the job is done or it gets stuck. The model chooses the steps. That's the difference."}]},{"type":"p","children":[{"type":"text","text":"A "},{"type":"link","href":"/ai-glossary/workflow","children":[{"type":"text","text":"workflow"}]},{"type":"text","text":" is different. You decide the steps in advance, and the model fills in parts of them, like \"summarize this ticket\" or \"draft a reply\". Workflows are predictable, cheaper and easier to test. Agents handle open-ended work where you can't map the steps ahead of time."}]},{"type":"h2","children":[{"type":"text","text":"Start with a workflow, usually"}]},{"type":"p","children":[{"type":"text","text":"Anthropic's engineering team, after working with dozens of companies building agents, found the most successful ones used simple, composable patterns rather than complex frameworks, and recommends adding complexity only when it clearly pays. That matches what works inside companies: the dependable AI systems are mostly workflows with a model in a few steps, plus one or two genuinely agentic pieces."}]},{"type":"p","children":[{"type":"text","text":"Use an agent when:"}]},{"type":"ul","items":[[{"type":"text","text":"The steps change a lot from case to case."}],[{"type":"text","text":"The task needs judgment about what to try next."}],[{"type":"text","text":"A wrong move is cheap to undo, or a human approves the important ones."}]]},{"type":"p","children":[{"type":"text","text":"Use a workflow when the steps are known, the volume is high and mistakes are expensive."}]},{"type":"h2","children":[{"type":"text","text":"How agents work inside"}]},{"type":"p","children":[{"type":"text","text":"Under the hood, most agents share the same parts:"}]},{"type":"ul","items":[[{"type":"strong","children":[{"type":"text","text":"A model"}]},{"type":"text","text":" that reasons about the next step. Stronger models take fewer wrong turns."}],[{"type":"strong","children":[{"type":"text","text":"Tools:"}]},{"type":"text","text":" functions the model can call ("},{"type":"link","href":"/ai-glossary/tool-calling","children":[{"type":"text","text":"tool calling"}]},{"type":"text","text":"), often connected through "},{"type":"link","href":"/ai-glossary/mcp-server","children":[{"type":"text","text":"MCP servers"}]},{"type":"text","text":"."}],[{"type":"strong","children":[{"type":"text","text":"A harness:"}]},{"type":"text","text":" the loop, the permissions and the stopping rules ("},{"type":"link","href":"/ai-glossary/agent-harness","children":[{"type":"text","text":"agent harness"}]},{"type":"text","text":")."}],[{"type":"strong","children":[{"type":"text","text":"Memory:"}]},{"type":"text","text":" notes it keeps between steps or sessions ("},{"type":"link","href":"/ai-glossary/agent-memory","children":[{"type":"text","text":"agent memory"}]},{"type":"text","text":")."}],[{"type":"strong","children":[{"type":"text","text":"Guardrails:"}]},{"type":"text","text":" limits on what it can touch, spend and send."}]]},{"type":"h2","children":[{"type":"text","text":"Choosing a platform"}]},{"type":"p","children":[{"type":"text","text":"The tools fall into three groups. Pick by who will build and maintain it, not by the demo."}]},{"type":"ul","items":[[{"type":"strong","children":[{"type":"text","text":"No-code and low-code builders"}]},{"type":"text","text":" like n8n, Zapier or Make: visual workflows with AI steps and agent nodes. Fast to start, good for operations and marketing teams, messy at scale."}],[{"type":"strong","children":[{"type":"text","text":"Agent frameworks and SDKs"}]},{"type":"text","text":" like the OpenAI Agents SDK, the Claude Agent SDK or LangGraph: full control in code. For teams with engineers."}],[{"type":"strong","children":[{"type":"text","text":"Agents inside tools you already use:"}]},{"type":"text","text":" your CRM, help desk or office suite increasingly ships its own. Least work, least control."}]]},{"type":"p","children":[{"type":"text","text":"Whatever you pick, make sure you can see every step the agent took, cap what it can spend and switch it off."}]},{"type":"h2","children":[{"type":"text","text":"What agents cost"}]},{"type":"p","children":[{"type":"text","text":"Agents use far more "},{"type":"link","href":"/ai-glossary/token","children":[{"type":"text","text":"tokens"}]},{"type":"text","text":" than chat, because every step re-reads the context and the tool results. Anthropic reported that its agents use about four times the tokens of a chat, and its multi-agent research system about fifteen times. Budget for:"}]},{"type":"ul","items":[[{"type":"text","text":"Model costs per run, times runs per day."}],[{"type":"text","text":"Platform fees and hosting."}],[{"type":"text","text":"Human time to review outputs, especially early on."}],[{"type":"text","text":"Maintenance: APIs change, prompts drift, websites block scrapers."}]]},{"type":"p","children":[{"type":"text","text":"The value is real when an agent replaces repetitive hours, but measure it. "},{"type":"link","href":"/learn/ai-roi","children":[{"type":"text","text":"Measure AI ROI without fooling yourself"}]},{"type":"text","text":" shows how."}]},{"type":"h2","children":[{"type":"text","text":"How to start"}]},{"type":"ol","items":[[{"type":"text","text":"Pick one boring, repetitive task with a clear finish line."}],[{"type":"text","text":"Map it as a workflow first. Add agent behavior only where the steps vary."}],[{"type":"text","text":"Run it in suggest mode: the agent drafts, a human approves."}],[{"type":"text","text":"Log everything, review weekly and widen permissions only when the agent earns them."}]]},{"type":"p","children":[{"type":"text","text":"Then read "},{"type":"link","href":"/learn/first-agent","children":[{"type":"text","text":"Build your first agent, the boring way"}]},{"type":"text","text":", "},{"type":"link","href":"/learn/agent-failure-modes","children":[{"type":"text","text":"How AI agents fail in production"}]},{"type":"text","text":" and "},{"type":"link","href":"/learn/agent-security","children":[{"type":"text","text":"Lock down your agents before they act"}]},{"type":"text","text":"."}]},{"type":"p","children":[{"type":"text","text":"Want to see real tools? "},{"type":"link","href":"/learn/open-source-ai-agents","children":[{"type":"text","text":"Open-source AI agents worth trying in 2027"}]},{"type":"text","text":", "},{"type":"link","href":"/learn/ai-voice-agents-2027","children":[{"type":"text","text":"AI voice agents worth knowing in 2027"}]},{"type":"text","text":" and "},{"type":"link","href":"/learn/ai-browsers-2027","children":[{"type":"text","text":"AI browsers worth using in 2027"}]},{"type":"text","text":" are directories of what is out there now."}]}],"quote":{"text":"3 lines of typescript to deploy an agent is cool\n\nthe sdk was never the hard part\n\nthe hard part is memory, evals, and the bit where your agent doesn't lie to a customer at 2am","url":"https://x.com/glitch_/status/2049808289186128272","date":"2026-04-30"},"table":{"caption":"Workflow or agent?","head":["","Workflow","Agent"],"rows":[["Who picks the steps","You, in advance","The model, as it goes"],["Best for","Known steps, high volume","Steps that change case to case"],["Cost","Cheaper and predictable","Far more tokens: every step re-reads the context"],["Testing","Easier to test","Harder: you need to see every step it took"],["If mistakes are expensive","Use this","Only with a human approving"]]},"diagram":{"kind":"loop","title":"The agent loop","steps":["Look at the goal","Pick the next step","Use a tool","Read the result"],"exit":"until it's done, or stuck"},"boss":[{"q":"What makes something an agent rather than a workflow?","options":["It uses an AI model","The model chooses the steps","It runs on a schedule"],"answer":1,"why":"In a workflow you decide the steps in advance. In an agent the model picks them as it goes."},{"q":"Anthropic reported its agents use about how many times the tokens of a chat?","options":["About the same","About four times","About a hundred times"],"answer":1,"why":"About four times for its agents, and about fifteen for its multi-agent research system."},{"q":"How should your first agent start?","options":["Full autonomy, to see what it can do","Suggest mode: it drafts, a human approves","Switched off until it is perfect"],"answer":1,"why":"Run it in suggest mode, log everything and widen permissions only when it earns them."}],"faq":[{"q":"What is an AI agent, in plain terms?","a":"An AI agent is a model working in a loop that chooses its own next step. It looks at the goal, decides what to do, uses a tool such as search, email or running code, checks the result and repeats until the job is done or it gets stuck. Most agents combine a model, tools, a harness with permissions and stopping rules, memory and guardrails."},{"q":"How do I start building my first AI agent?","a":"Pick one boring, repetitive task with a clear finish line and map it as a workflow first. Add agent behavior only where the steps vary. Run it in suggest mode, where the agent drafts and a human approves. Log everything, review weekly and widen permissions only when the agent earns them."},{"q":"Should I use an AI agent or a workflow?","a":"Usually a workflow. Use one when the steps are known, volume is high and mistakes are expensive, since workflows are predictable, cheaper and easier to test. Choose an agent when steps change a lot between cases, the task needs judgment about what to try next, and a wrong move is cheap to undo or a human approves the important ones."},{"q":"Why do AI agents cost more to run than chat?","a":"Agents use far more tokens because every step re-reads the context and the tool results. Anthropic reported its agents use about four times the tokens of a chat, and its multi-agent research system about fifteen times. Budget for model costs per run times runs per day, platform fees, hosting, human review time and ongoing maintenance."},{"q":"How should I prepare for using AI agents in 2027?","a":"Start with workflows now and add agent behavior only where steps truly vary. Pick platforms by who will build and maintain them, not by the demo, and make sure you can see every step, cap spending and switch the agent off. Run agents in suggest mode, log everything and measure ROI before widening permissions."}],"card":{"code":"LRN 07/38","rarity":"holo rare","type":"monster","name":"AI agents","image":"/images/cards/learn/ai-agents.webp?v=99cea47925ad8a43","share":"/images/cards/learn/ai-agents.jpg?v=99cea47925ad8a43","alt":"AI agents, a holo rare monster card for the guide “AI agents, minus the hype”: Anime crows bursting out of a glowing laptop toward a red sky."},"partOf":{"id":"forward-deployed-engineer","title":"What is a forward deployed engineer? The ultimate guide to becoming one in 2027"},"fresh":[{"week":"2026-W47","title":"OpenAI ships GPT-6.2 Astra and Sol with cheaper Astra pricing","path":"/radar/2026-w47#story-wire-8f6af8c44a4a1bfb5de3","date":"2026-11-22"},{"week":"2026-W47","title":"Gemini API adds Tool Retrieval to load tool schemas on demand","path":"/radar/2026-w47#story-wire-056cf0b58a3dbace6833","date":"2026-11-22"},{"week":"2026-W46","title":"Google rolls out Gemini 4 Carbon with an agent swarm preview","path":"/radar/2026-w46#story-wire-8658a0744e2cda3c83ed","date":"2026-11-15"}]}
