Skip to content

Glossary · AI

AI agent

Also called: LLM agent, autonomous agent, tool-using AI

An AI agent is a system in which a language model decides its own next step, calls tools (APIs, searches, other systems), reads the results and repeats until it judges the goal reached.

The defining feature is control flow. In an ordinary workflow, you decide the order of steps. In an agent, the model does: given a goal and a set of tools, it picks a tool, looks at what came back, and picks again. Anthropic's engineering team draws the line the same way in Building effective agents: workflows follow predefined code paths, agents direct their own process.

An example

Goal: "Find out why order 10482 hasn't shipped and draft a reply to the customer." The agent calls the order API, sees status on hold, calls the payments API, sees a failed charge, and drafts a reply asking the customer to update their card. Nobody wrote "if on hold, check payments": the model chose that path.

Where agents fail

  • Cost and latency. Each loop is another model call. A task that takes one call in a workflow can take eight in an agent.
  • Unpredictability. The same input can produce different paths, which makes testing and auditing harder.
  • Tool misuse. An agent with a "send email" tool can send an email you didn't intend, especially under prompt injection.

When to use one

Use an agent when the path genuinely can't be known in advance. If you can write the steps down, an agentic workflow or a plain workflow with AI steps is cheaper, faster and easier to trust. Either way, put a person in front of irreversible actions.

In Fluxo Flow

The Agent node is an AI step that can reason over several steps and call an HTTP tool, running on your own key from any of 14 providers. Most production workflows pair it with deterministic steps: a Validator to check its output, a Guardrail for banned terms, and a Human Review node before it sends or changes anything. Each server run stops if its estimated AI cost passes a per-run cap, and the trace shows tokens and estimated cost per step.

All 40 glossary terms

Build your first workflow today.

Build and Dry Run on the Free plan, no credit card. Run live on a paid plan, on your own AI key at cost.

Free to explore · No credit card · 30-day money-back guarantee on paid plans