# What is an AI agent?

> An AI agent is a system in which a language model plans steps, calls tools and acts for a user in a loop. How OpenAI, Anthropic and Google define agents.

Canonical: https://promptlyfound.com/llms/ai-agents
Updated: 2026-11-20

## Short answer

An AI agent is **a system in which a language model directs its own steps and uses tools to complete a task for a user**. It works in a loop: it plans, calls a tool such as web search or a browser, reads the result and decides what to do next. OpenAI says simple chatbots are not agents, because the model does not control the workflow.

## Key findings

- Anthropic defines agents as systems where language models dynamically direct their own processes and tool usage. It calls systems that follow predefined code paths workflows. [1]
- OpenAI names three core components of an agent: the model, tools and instructions. It says simple chatbots, single-turn LLMs and sentiment classifiers are not agents. [2]
- Google defines AI agents as software systems that use AI to pursue goals and complete tasks on behalf of users, with reasoning, planning and memory. [3]
- Claude's web fetch tool does not support websites that are rendered with JavaScript. Anthropic points developers to a browser tool for pages that need a real browser. [5]
- OpenAI's help center says ChatGPT agent is no longer available and points users to ChatGPT Work for longer, multi-step tasks. [13]

AI agents reach your site through a search index, a fetcher or a browser, and each route sees a different version of the page. Anthropic's web fetch tool, for one, does not run JavaScript, so content that appears only after scripts run may never reach the model. An AI agent is a system in which a large language model decides which steps to take, uses tools to carry them out and works toward a goal that a user set. [Anthropic's guide to building effective agents](https://www.anthropic.com/engineering/building-effective-agents) describes agents as language models "using tools based on environmental feedback in a loop."[1] The tools can search the web, open pages, operate a browser, query a database or send a message.

## AI agent definition

OpenAI, Anthropic and Google agree on the core of an agent: a language model that controls the steps and has tools to act with. That test is useful when a vendor calls its product an agent. Each provider publishes its own definition, and the wording differs between them.

[OpenAI's practical guide to building agents](https://cdn.openai.com/business-guides-and-resources/a-practical-guide-to-building-agents.pdf) says: "Agents are systems that independently accomplish tasks on your behalf." The guide lists two core characteristics. First, the agent uses a language model to manage workflow execution and make decisions, and it recognizes when a workflow is complete. Second, it has tools to gather context and take actions, and it picks the tools that fit the current state of the workflow.[2]

Anthropic splits what it calls agentic systems into two kinds. Workflows are systems in which language models and tools are orchestrated through predefined code paths. Agents are systems in which language models "dynamically direct their own processes and tool usage, maintaining control over how they accomplish tasks."[1]

Google defines AI agents as "software systems that use AI to pursue goals and complete tasks on behalf of users" on [Google Cloud's page on AI agents](https://cloud.google.com/discover/what-are-ai-agents). Google says agents show reasoning, planning and memory, and have a level of autonomy to make decisions, learn and adapt.[3]

  <thead><tr><th scope="col">Provider</th><th scope="col">Definition</th><th scope="col">What is not an agent</th></tr></thead>
  <tbody>
    <tr><th scope="row">OpenAI</th><td>Systems that independently accomplish tasks on the user's behalf, with a model that manages the workflow and selects tools</td><td>Simple chatbots, single-turn LLMs and sentiment classifiers</td></tr>
    <tr><th scope="row">Anthropic</th><td>Systems where language models direct their own processes and tool usage</td><td>Workflows that follow predefined code paths, which Anthropic still counts as agentic systems</td></tr>
    <tr><th scope="row">Google</th><td>Software systems that use AI to pursue goals and complete tasks on behalf of users</td><td>AI assistants, where the user makes the decisions, and rule-based bots</td></tr>
  </tbody>

## How an AI agent differs from a chatbot

A chatbot answers each message. An agent works through a task over several steps, and it can change things outside the conversation. OpenAI says applications that integrate language models but do not use them to control workflow execution are not agents. Its examples are simple chatbots, single-turn LLMs and sentiment classifiers.[2]

Google separates agents, AI assistants and bots by how much autonomy each has. In its comparison, an AI assistant responds to requests and can recommend actions, but the user makes the decisions. An agent can perform complex, multi-step actions and make decisions independently. A bot follows predefined rules.[3]

The difference shows in four capabilities:

- Tools: the agent can call functions outside the model, such as a search engine, a browser or a company's API.
- Planning: the agent breaks a goal into steps before and during the work.
- Loops: the agent repeats a cycle of acting and checking the result until the task is done or a limit is reached.
- Actions: the agent can change something in the world, such as sending an email, updating a record or submitting a form.

Anthropic says many applications do not need an agent at all. For those, a single, well-tuned model call with retrieval and in-context examples is usually enough.[1]

## The agent loop

An agent keeps working until the task is done or a limit stops it, so one request can mean many searches and page visits. In Anthropic's description, the agent starts from a user's command or a discussion with the user, makes a plan and then works on its own. At each step it gets "ground truth" from the environment, such as the result of a tool call or of code it ran, and uses it to judge its progress. It can stop for human feedback at checkpoints or when it gets stuck. The task often ends when the work is done. Developers often add stopping conditions as well, such as a maximum number of iterations.[1]

OpenAI calls one pass through the task a run. Its guide says a run is "typically implemented as a loop that lets agents operate until an exit condition is reached" and that every orchestration approach needs one. The loop usually ends on a tool call, a certain structured output, an error or a maximum number of turns.[2]

## Parts of an AI agent

Tools decide how an agent reads your page, and guardrails decide which inputs it trusts. OpenAI's guide names three core components: a model, tools and instructions.[2] Anthropic starts from a language model with three additions: retrieval, tools and memory.[1] Google lists a persona, memory, tools and a model.[3] Taken together, the three lists cover five parts.

  <thead><tr><th scope="col">Part</th><th scope="col">What it does</th><th scope="col">Provider documentation</th></tr></thead>
  <tbody>
    <tr><th scope="row">Model</th><td>Reasons, plans and decides the next step</td><td>OpenAI: "The LLM powering the agent's reasoning and decision-making." Google calls the model the "brain" of the agent.</td></tr>
    <tr><th scope="row">Tools</th><td>Gather information and take actions</td><td>OpenAI groups tools as data tools (such as web search), action tools (such as sending email) and orchestration tools (other agents).</td></tr>
    <tr><th scope="row">Memory</th><td>Keeps information across steps and sessions</td><td>Google lists short-term, long-term, episodic and consensus memory. Anthropic's memory tool stores files that persist between sessions.</td></tr>
    <tr><th scope="row">Instructions</th><td>Define the task, the steps and how to handle edge cases</td><td>OpenAI: "Explicit guidelines and guardrails defining how the agent behaves."</td></tr>
    <tr><th scope="row">Guardrails</th><td>Limit what the agent accepts and does</td><td>OpenAI lists relevance and safety classifiers, PII filters, moderation, tool risk ratings and human intervention.</td></tr>
  </tbody>

[Anthropic's memory tool documentation](https://platform.claude.com/docs/en/agents-and-tools/tool-use/memory-tool) shows how memory works in practice. Claude checks a memory directory before it starts a task. It stores what it learns in files and reads them back in later conversations, and the files live in storage that the developer controls.[12]

OpenAI ties guardrails to risk. Its guide suggests a low, medium or high rating for each tool, based on factors such as read-only or write access, reversibility and financial impact. A high-risk tool can pause the run for checks or hand the task to a human. The guide also describes a safety classifier that detects prompt injections, which are inputs that try to make the agent ignore its instructions.[2]

## How AI agents use the web

Agents reach the web through three kinds of tools: a search tool, a fetch tool and a browser. Each one sees a page differently. OpenAI, Anthropic and Google document all three for developers.

### Search tools

A search tool lets the model run web searches and read the results. [Anthropic's web search tool documentation](https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-search-tool) says Claude decides when to search, the API runs the searches, and the process "can repeat multiple times throughout a single request." The final answer cites its sources.[4]

[OpenAI's web search guide](https://developers.openai.com/api/docs/guides/tools-web-search) lists three actions that a search call can take: `search`, `open_page` and `find_in_page`. The last two are supported in reasoning models. OpenAI says a reasoning model "can refine its searches as it reads results." The response includes inline citations, and a separate `sources` field lists every URL the model consulted, which is often more than the number it cites.[7]

[Google's documentation for Grounding with Google Search](https://ai.google.dev/gemini-api/docs/google-search) says Gemini analyzes the prompt, decides whether a search would improve the answer, and generates and runs one or more queries. The response includes citations.[10] [What is grounding in AI?](https://promptlyfound.com/ai-search/grounding) explains the mechanism.

### Fetch tools

A fetch tool loads a specific URL and passes its text to the model. [Anthropic's web fetch tool documentation](https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-fetch-tool) says the API retrieves the full text of the page. It does not support websites rendered with JavaScript. For pages that need JavaScript, clicks or forms, Anthropic points developers to a browser tool. When both search and fetch are turned on, Claude can search for a page and then fetch the most promising results.[5]

[Google's URL context tool](https://ai.google.dev/gemini-api/docs/url-context) first tries to fetch a page from an internal index cache. If the URL is not in the index, for example because the page is new, the tool falls back to a live fetch. Google says it cannot read paywalled content, and that the model retrieves only the URLs it is given and does not follow links from them.[11]

### Browsers and computer use

A computer use tool lets the model see a screen and operate it. [Anthropic's computer use documentation](https://platform.claude.com/docs/en/agents-and-tools/tool-use/computer-use-tool) describes screenshots plus mouse and keyboard control of a desktop. The developer's application carries out each action, captures a new screenshot and returns it to Claude.[6]

[OpenAI's computer use guide](https://developers.openai.com/api/docs/guides/tools-computer-use) describes the same loop. The model returns actions such as `click`, `scroll` and `type`. The application runs them and sends back a screenshot, and the loop goes on until the model stops asking for actions. OpenAI also lets the model write code with Playwright or PyAutoGUI to operate the interface. For public information that needs no interaction, OpenAI recommends web search instead.[8]

[Google's computer use documentation](https://ai.google.dev/gemini-api/docs/computer-use) supports browser, mobile and desktop environments. In a browser, the model can click, type, go back and navigate directly to a URL. Each action includes an `intent` field that explains why the model chose it. Google lists research across websites, such as gathering product information, prices and reviews, among the uses.[9]

## AI agents in ChatGPT

OpenAI has moved its agent features in ChatGPT more than once, so any plan that names one should be checked against OpenAI's current help pages. [OpenAI's ChatGPT agent help article](https://help.openai.com/en/articles/11752874-chatgpt-agent) now says "ChatGPT agent is no longer available." It points users to ChatGPT Work for longer, multi-step tasks and finished deliverables, and to the cloud browser for browser workflows. The article also says the earlier Operator functionality was integrated into ChatGPT agent mode.[13]

[OpenAI's help article on ChatGPT Work and Codex](https://help.openai.com/articles/20001275) says ChatGPT includes Chat and Work. Chat is for fast, conversational assistance. Work "is an agent designed for longer, multi-step work and finished deliverables." Work can use connected apps, create documents, presentations and spreadsheets, or use a browser.[14]

Deep research features in ChatGPT, Claude, Gemini and Perplexity are agents that search. [What is agentic search?](https://promptlyfound.com/ai-search/agentic-search) covers how they plan searches, open pages and cite sources.

## What AI agents mean for websites

An agent reaches a website in one of three ways. It can read a search index that a crawler built earlier, call a fetcher that loads a page at the user's request, or operate a browser. Each operator publishes its own user agents and rules for these fetchers. [How AI browser agents access websites](https://promptlyfound.com/crawlers/ai-agents) covers the crawler side, including how to identify agent traffic, and [What is agentic search?](https://promptlyfound.com/ai-search/agentic-search) lists each operator's user-triggered fetchers and their robots.txt rules.

The tool documentation above has four consequences for how a page is built:

- Fetch tools may not run JavaScript. Anthropic's web fetch tool does not support pages rendered with JavaScript, so content that appears only after scripts run may not reach the model.[5] [What crawlers without JavaScript can see](https://promptlyfound.com/crawlers/javascript-seo) explains how to check. Run a page through the [AI page check](https://promptlyfound.com/tools/ai-page-check) to see the text it has without JavaScript.
- Computer use agents read the page from screenshots and act on it with clicks, scrolling and typing, as a person would.[6][9] Content that is not visible on screen does not appear in a screenshot, so key facts belong in visible text.
- Some fetch tools read from an index before they fetch live. Google's URL context tool tries its internal index cache first and fetches the live page only when the URL is not there.[11] Google does not say how that cache is filled, so a recent change to a page may not reach the tool right away.
- Providers build defenses against instructions hidden in pages. Google offers opt-in screenshot scanning that detects hidden adversarial instructions, and OpenAI's guide describes classifiers that flag prompt injections.[9][2]

No provider has published how often its agents visit websites, or how an agent chooses which of the pages it reads to cite.

## Sources

1. Building effective agents. Anthropic, 2024-12-19. https://www.anthropic.com/engineering/building-effective-agents
2. A practical guide to building agents. OpenAI. https://cdn.openai.com/business-guides-and-resources/a-practical-guide-to-building-agents.pdf
3. What are AI agents? Definition, examples, and types. Google Cloud. https://cloud.google.com/discover/what-are-ai-agents
4. Web search tool. Claude Platform Docs. https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-search-tool
5. Web fetch tool. Claude Platform Docs. https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-fetch-tool
6. Computer use tool. Claude Platform Docs. https://platform.claude.com/docs/en/agents-and-tools/tool-use/computer-use-tool
7. Web search. OpenAI API documentation. https://developers.openai.com/api/docs/guides/tools-web-search
8. Computer use. OpenAI API documentation. https://developers.openai.com/api/docs/guides/tools-computer-use
9. Computer use. Gemini API documentation, 2026-10-30. https://ai.google.dev/gemini-api/docs/computer-use
10. Grounding with Google Search. Gemini API documentation. https://ai.google.dev/gemini-api/docs/google-search
11. URL context. Gemini API documentation. https://ai.google.dev/gemini-api/docs/url-context
12. Memory tool. Claude Platform Docs. https://platform.claude.com/docs/en/agents-and-tools/tool-use/memory-tool
13. ChatGPT agent. OpenAI Help Center. https://help.openai.com/en/articles/11752874-chatgpt-agent
14. ChatGPT Work and Codex. OpenAI Help Center. https://help.openai.com/articles/20001275

---

This is a plain-text copy of https://promptlyfound.com/llms/ai-agents from Promptly Found. The web page is the canonical version and includes the charts.
