This page contains Agentic glossary terms. For all glossary terms,
[click here](https://developers.google.com/machine-learning/glossary).


## A

<br />


## act

#agent

<br />

A stage in the [**agentic loop**](https://developers.google.com/machine-learning/glossary/agent#agentic-loop) in which the
agent executes the action chosen during the [**reason**](https://developers.google.com/machine-learning/glossary/agent#reason)
stage. For example, the act stage could send an API request.


## action

#agent

<br />

In [**reinforcement learning**](https://developers.google.com/machine-learning/glossary#reinforcement_learning),
the mechanism by which the [**agent**](https://developers.google.com/machine-learning/glossary/agent#agent)
transitions between [**states**](https://developers.google.com/machine-learning/glossary/agent#state) of the
[**environment**](https://developers.google.com/machine-learning/glossary#environment). The agent chooses the action by using a
[**policy**](https://developers.google.com/machine-learning/glossary#policy).


## action space

#agent

<br />

The set of resources an [**agent**](https://developers.google.com/machine-learning/glossary/agent#agent) can use to perform a task.
Action space might include the tools and APIs that the agent
can invoke and the permissions the agent holds.
In general, the action space should be just big enough for the agent
to perform the task. If the action space is too small, the agent might
have insufficient resources to perform the task. If the action space is
too large, the agent tends to become more error prone.


## agent

#generativeAI #agent

<br />

Software that can reason about user inputs in order
to plan and execute actions on behalf of the user.

In [**reinforcement learning**](https://developers.google.com/machine-learning/glossary#reinforcement_learning),
an agent is the entity that uses a
[**policy**](https://developers.google.com/machine-learning/glossary#policy) to maximize the expected [**return**](https://developers.google.com/machine-learning/glossary#return) gained from
transitioning between [**states**](https://developers.google.com/machine-learning/glossary/agent#state) of the
[**environment**](https://developers.google.com/machine-learning/glossary#environment).


## agentic

#generativeAI #agent

<br />

The adjective form of [**agent**](https://developers.google.com/machine-learning/glossary/agent#agent). Agentic refers to the qualities
that agents possess (such as autonomy).


## agentic loop

#agent

<br />

A cycle that an agent iterates through until a
[**termination condition**](https://developers.google.com/machine-learning/glossary/agent#termination_condition) is met. The cycle
typically consists of the following four stages:

1. [**Observe**](https://developers.google.com/machine-learning/glossary/agent#observe)
2. [**Reason**](https://developers.google.com/machine-learning/glossary/agent#reason)
3. [**Act**](https://developers.google.com/machine-learning/glossary/agent#act)
4. [**Feedback**](https://developers.google.com/machine-learning/glossary/agent#feedback)


## agentic workflow

#generativeAI #agent

<br />

A dynamic process in which an [**agent**](https://developers.google.com/machine-learning/glossary/agent#agent) autonomously plans and
executes actions to achieve a goal. The process may involve reasoning,
invoking external tools, and self-correcting its plan.


## agent orchestration

#agent

<br />

The centralized management and routing of tasks across multiple
[**sub-agents**](https://developers.google.com/machine-learning/glossary/agent#sub-agent) or LLM calls. Agent orchestration
breaks down complex tasks into smaller sub-tasks and assigns them
to the most capable sub-agents.


## autonomous agent

#agent

<br />

An agent that works towards a complex goal by planning, acting, and
adapting *without* continuous human intervention.


## E

<br />


## evaluator agent

#agent

<br />

An agent that assesses another agent's results before those results are
finalized. You can imagine one agent as manufacturing a product and a
separate agent---the evaluator agent---testing that product before it is
released.

**Critic** is a synonym for evaluator agent.


## F

<br />


## feedback

#agent

<br />

A stage in an [**agentic loop**](https://developers.google.com/machine-learning/glossary/agent#agentic-loop) in which the
agent evaluates the action taken during the [**act**](https://developers.google.com/machine-learning/glossary/agent#act) stage.
For example, if the agent sent an API request during the act stage,
the feedback stage might determine whether the API response
was successful.


## G

<br />


## Gemini models

#generativeAI #agent

<br />

Google's state-of-the-art [**Transformer**](https://developers.google.com/machine-learning/glossary#Transformer)-based
[**multimodal models**](https://developers.google.com/machine-learning/glossary#multimodal-model). Gemini models are specifically
designed to integrate with [**agents**](https://developers.google.com/machine-learning/glossary/agent#agent).

Users can interact with Gemini models in a variety of ways, including through
an interactive dialog interface and through SDKs.


## generative agents (simulacra)

#agent

<br />

Agents endowed with unique personas, memories, and routines that simulate
realistic human behavior.

See [Generative Agents: Interactive Simulacra of Human Behavior](https://arxiv.org/abs/2304.03442)
for details.


## M

<br />


## manager agent

#agent

<br />

An agent that controls one or more [**sub-agents**](https://developers.google.com/machine-learning/glossary/agent#sub-agent).


## multi-agent collaboration

#agent

<br />

A framework where multiple specialized AI agents interact, debate, or pass
tasks to one another to solve a complex problem.


## O

<br />


## observe

#agent

<br />

A stage in the [**agentic loop**](https://developers.google.com/machine-learning/glossary/agent#agentic-loop) in which the agent examines
or evaluates some aspect of the agent's progress. For example, suppose that the
[**act**](https://developers.google.com/machine-learning/glossary/agent#act) stage generates some code. Consequently, the *observe* stage
might run tests on the generated code.


## P

<br />


## plan-and-solve

#agent

<br />

An agentic strategy where the model first drafts an explicit,
multi-step plan before attempting to execute any actions.


## plugin

#agent

<br />

A standardized, modular tool that can be easily attached to an agent
to extend its capabilities. For example, a GitHub plugin enables
agents to perform actions like reading GitHub issues and creating pull
requests.


## procedural memory

#agent

<br />

In [**agents**](https://developers.google.com/machine-learning/glossary/agent#agent), the knowledge of how to do something. For example,
an agent might develop a procedural memory of *how* to search the web and
then display the top three sites.


## R

<br />


## reason

#agent

<br />

A stage in the [**agentic loop**](https://developers.google.com/machine-learning/glossary/agent#agentic-loop) in which the
agent determines what to do. For example, the agent might
determine that a particular API request should be sent.


## reflection

#generativeAI #agent

<br />

A strategy for improving the quality of an
[**agentic workflow**](https://developers.google.com/machine-learning/glossary/agent#agentic-workflow) by examining (reflecting on) a
step's output before passing that output to the next step.

The examiner is often the same [**LLM**](https://developers.google.com/machine-learning/glossary#LLM) that generated the response
(though it could be a different LLM).
How could the same LLM that generated a response be a fair judge of its
own response? The "trick" is to put the LLM in a critical (reflective)
mindset. This process is analogous to a writer who uses a creative
mindset to write a first draft and then switches to a critical mindset to
edit it.

For example, imagine an agentic workflow whose first step is to create
text for coffee mugs. The prompt for this step might be:
> You are a creative. Generate humorous, original text of less than 50
> characters suitable for a coffee mug.

Now imagine the following reflective prompt:
> You are a coffee drinker. Would you find the preceding response humorous?

The workflow might then only pass text that receives a high reflection score
to the next stage.


## router agent

#agent

<br />

An agent that classifies a user query and then invokes the most
appropriate agent to handle it.


## S

<br />


## self-correction

#agent

<br />

An agent's ability to detect an error in its own output
and then try a different approach.


## state

#agent

<br />

In reinforcement learning, the parameter values that describe the current
configuration of the environment, which the [**agent**](https://developers.google.com/machine-learning/glossary/agent#agent) uses to
choose an [**action**](https://developers.google.com/machine-learning/glossary/agent#action).


## state machine agent

#agent

<br />

An [**agent**](https://developers.google.com/machine-learning/glossary/agent#agent) whose workflows are constrained by rigid rules.
State machine agents generally make fewer mistakes than autonomous agents
but lack the freedom to adapt to situations outside their constraints.


## sub-agent

#agent

<br />

A specialized, narrowly focused model invoked by a manager agent
to handle a specific subset of a larger problem.
Sub-agents typically have a narrower [**action space**](https://developers.google.com/machine-learning/glossary/agent#action-space)
than agents.


## T

<br />


## termination condition

#agent

<br />

In [**agentic**](https://developers.google.com/machine-learning/glossary/agent#agent) AI, the predefined criteria that tell the agent
to stop iterating. For example, here are a few possible termination conditions:

- The agent successfully completed the goal.
- The agent can't use any more resources.
- A [**human-in-the-loop**](https://developers.google.com/machine-learning/glossary#human-in-the-loop) has detected a problem.

In [**reinforcement learning**](https://developers.google.com/machine-learning/glossary#reinforcement_learning), the conditions that
determine when an [**episode**](https://developers.google.com/machine-learning/glossary#episode) ends, such as when the agent reaches
a certain state or exceeds a threshold number of state transitions.
For example, in [tic-tac-toe](https://wikipedia.org/wiki/Tic-tac-toe) (also
known as noughts and crosses), an episode terminates either when a player marks
three consecutive spaces or when all spaces are marked.