Agentic AI

Agentic (or "agentic AI") describes a class of AI system design where an LLM doesn't just respond once to a single prompt, but instead autonomously plans a sequence of steps, takes actions in the world (calling tools, APIs, or other systems), observes the results of those actions, and adapts its next steps based on what it learns — operating in a loop rather than a single request/response exchange. The core pattern, often summarized as "reason, act, observe" (echoing the ReAct prompting framework), lets an LLM tackle multi-step tasks that a single prompt-response exchange can't handle: instead of a user needing to manually chain together multiple AI calls and intermediate steps themselves, an agent decides its own next action, executes it via a tool, reads the result, and decides what to do next — continuing until the task is complete or it needs human input. This matters enormously for SaaS builders because agentic design is what separates a simple "chat with your data" feature from a genuinely autonomous assistant that can complete real work: booking a meeting by checking multiple calendars and sending invites, debugging a failing test by reading error logs, editing code, and re-running tests until it passes, or researching a topic across multiple sources and compiling a report — each of these requires multiple dependent steps where the right next action depends on the outcome of the previous one, which a single LLM call cannot do alone. A concrete worked example: an agentic coding assistant given the task "fix the failing test in `auth.test.js`" doesn't just generate a guess at a fix in one shot — it plans a sequence: (1) call a tool to read the test file and understand what's being tested, (2) call a tool to run the test and read the actual error output, (3) call a tool to read the related source file the test is exercising, (4) reason about the root cause based on the error and source code, (5) call a tool to edit the source file with a fix, (6) call a tool to re-run the test, and (7) if it still fails, loop back to step 3 with new information — only stopping once the test passes or it determines it needs human help. Building reliable agentic systems requires careful tool design (clear, well-scoped function definitions), guardrails against runaway loops or costly actions, and often human-in-the-loop checkpoints before high-stakes actions (like sending an email or making a payment) actually execute. Cost and reliability compound differently in agentic systems than in single-call features, and builders should plan for both: each additional step in an agent's reasoning loop is an additional LLM call (adding latency and cost linearly with loop length), and each additional tool call is an additional point of failure (an API timing out, returning unexpected data, or a tool the model calls incorrectly) that the agent needs to detect and recover from gracefully rather than silently propagating a bad result forward. Production agentic systems typically cap the maximum number of loop iterations, log every intermediate reasoning step and tool call for debugging and audit purposes, and require explicit human approval before executing high-stakes, hard-to-reverse actions (sending money, deleting data, sending external communications).

Related terms

More Core AI terms