Glossary
AI agent
A software system that uses a language model to pursue a goal by choosing and taking actions, then using the results to decide its next step.
An AI agent is a software system that uses a large language model to pursue a goal by deciding on and taking actions, such as calling an API, searching documents or editing a file, and then using the results to choose its next step. A chatbot replies to messages; an agent carries out tasks. Systems built from agents are often grouped under the term agentic AI.
The parts of an AI agent
Most agents are built from the same five parts, whatever framework they use.
Part | What it does |
|---|---|
Model | Reasons about the goal and picks the next action, often a general LLM or a reasoning model |
Instructions | A system prompt that sets the agent’s role, rules and output format |
Tools | Functions the agent can call through function calling, often supplied by an MCP server |
Memory | Short-term state within a task and long-term memory across sessions |
Environment | Where it reads and writes data, such as files, databases, a browser or a codebase, often an agent workspace |
The agent loop ties these together: the model reads the goal and context, calls a tool, reads the result and repeats. How well an agent performs depends as much on what goes into its context on each turn as on the model, which is why context engineering has become a discipline of its own.
Types of AI agents
Agents are usually described by the job they do. Coding agents edit and test software. Browser agents operate websites the way a person would. Voice agents handle spoken conversations, often on the phone. Deep research agents run many searches and write up what they find. Background agents run on a schedule or in response to events with no user present.
They are also described by structure. A single agent handles a task end to end. In a multi-agent system, a supervisor agent may hand pieces of work to specialised subagents and combine the results. They also differ in how much freedom they have, from agents that propose every action for approval to autonomous agents that act within guardrails without asking.
AI agents compared with chatbots and workflows
A chatbot answers within a conversation and leaves any action to the user. A workflow runs steps a developer fixed in advance. An agent decides its own steps at run time, which makes it more flexible and harder to predict. Many production systems use a workflow for the predictable parts and an agent only where judgement is needed. The entries on agent vs chatbot and agents vs workflows cover the trade-offs.
What AI agents need in production
Agents that work in a demo often struggle with real users for three reasons. They forget between sessions unless something persists what they learned, so users repeat themselves. They lose accuracy as tool output and history fill the context window. They are also risky with write access, because one bad run can damage a user’s data. Teams address these with persistent memory, precise retrieval in place of long context, guardrails, scoped agent permissions and a way to recover from mistakes.
AI agents on Exabase
Exabase provides infrastructure that agents call, while the agent itself runs in your own code with your chosen model and framework. Memory extracts facts, preferences and events from conversations and keeps them current as they change, so an agent picks up where it left off; the agent memory solution explains the approach. Bases give each user or tenant an isolated environment with storage, search and memory, created with one call to the create Base endpoint. Resources store the files and notes an agent produces, and Deep Search returns the exact passage, page or timestamp it needs.
When an agent needs write access, filesystem snapshotting lets you see what a run changed in a Base and recover deleted resources, as the agent undo solution describes. For agents that should run on a schedule against a Base, Workers run on Exabase infrastructure with a prompt, a schedule and a chosen set of tools. The getting started guide covers API keys and the TypeScript SDK.
Use cases built this way include customer support agents, coding assistants and personal AI assistants. For the wider market, best AI agent infrastructure and Exabase vs Letta compare platforms, and why AI agents forget and how to fix it looks at memory in more depth.
FAQs
What is an AI agent?
An AI agent is software that uses a language model to work toward a goal by choosing and taking actions, such as calling tools or searching data, and adjusting based on the results.
How is an AI agent different from a chatbot?
A chatbot replies to messages. An agent takes actions toward a goal, such as looking up records, editing files or calling APIs, and decides its own next step.
What are the main components of an AI agent?
A model, instructions, tools, memory and an environment to work in, tied together by a loop that repeats until the task is done.
What are examples of AI agents?
Coding agents, customer support agents, research agents, browser agents that operate websites and voice agents that take phone calls.
Do AI agents have memory?
Only if you give them one. Within a task the context window acts as short-term memory, but keeping anything across sessions needs a separate memory system such as Exabase Memory.
How do you build an AI agent?
Pick a model and an agent framework or SDK, define the tools it may call, write its instructions, and add memory and storage for anything that must persist between runs.
Can Exabase run my agent?
Exabase runs Workers, which are scheduled agents scoped to a Base. Agents you build yourself run in your own infrastructure and call Exabase for memory, files, search and extraction.
Related pages: Agentic AI, Agent loop, Tool use, Function calling, Agent memory, Multi-agent, Agent framework, Agent memory solution, Research agents use case, Best AI agent frameworks, MCP, Agent orchestration, Background agents, AI copilot, Agentic workflow, Autonomous agents, Voice agents