Definition

What is an AI agent?

Last updated

Definition

An AI agent is a software system that uses a large language model to plan, take actions through tools, observe results, and iterate toward a goal — without a human stepping through each action.

AI agents go beyond single LLM calls by combining a reasoning loop (plan → act → observe → reflect), tool use (function calling, API calls, code execution), and memory of past decisions. The agent decides what to do next based on the goal, the tools available, and what's happened so far. In production, agents typically run inside a state-machine framework like LangGraph and include human-in-the-loop checkpoints for actions that need approval.

How agents differ from workflows

A workflow is a fixed sequence of steps: when X happens, do A then B then C. An agent decides what to do next based on the goal and the current state — and it can decide to call a tool, ask a clarifying question, retry a failed step, or escalate to a human.

The difference matters operationally. Workflows fail when the world doesn’t fit the predefined branches. Agents adapt — but at the cost of needing memory, observability, and approval guardrails for actions that touch the real world.

Agents in Glitch Grow boilerplates

Every agent boilerplate in the catalog uses LangGraph for the state machine, Postgres + pgvector for memory, and a Discord/Telegram reconciler for HITL approvals. The Ads Operator, Sales Agent, and Social Media Agent all use this same shape.

Related terms

Related agents

Sources

Free Vibe Coder Kit

Get the kit. Ship like a vibe coder.

Installs into Claude Code, Codex, or OpenClaws in under a minute. Required to deploy our paid agents.

Protected by Cloudflare Turnstile. We never share your details. Unsubscribe any time.