Update cookies preferences

AI agent

Updated:
 
August 14, 2026
Overview

An AI agent is a software system that uses one or more language models to reason about a goal, plan a sequence of actions, call external tools or services to execute them, and adjust based on results. Agents differ from chatbots by their capacity to act rather than only respond, and by persistent context across steps.

  • Reasons about a goal, plans actions, calls tools, and adapts to results
  • Differs from a chatbot by acting rather than only responding
  • Holds identity, permissions, a reasoning loop, a tool catalog, and memory
  • Each of those five is an attack surface the existing stack was not built for

Why is an AI agent important?

The agent is the unit of risk in modern AI security, which is why it is the object worth defining precisely. An agent has five properties that matter, and each one is an attack surface. It holds an identity, so it can be impersonated or over-permissioned. It holds a permission set, so it can exceed the scope its task required. It runs a reasoning loop, so it can be steered by instructions hidden in the content it reads. It carries a tool catalog, so it can reach systems its owner never considered. And it retains memory, so a compromise can persist across sessions.

The existing security stack was not built for any of the five. Identity systems assume a human principal, and detection assumes deterministic software. That gap is what CrowdStrike observed being exploited when it documented malicious prompts injected into legitimate AI tools at more than 90 organizations in 2025.

What is an AI agent?

An AI agent is a system that pursues a goal by reasoning, acting, and adapting. Given an objective, it decides what steps are required, invokes tools or services to carry them out, evaluates what came back, and revises its approach until the goal is met or it stops.

Four components make that possible. A model provides the reasoning. A tool interface gives it the ability to act – calling APIs, querying data, running code, sending messages. Memory maintains state across steps, so the agent knows what it has already tried. And an orchestration loop governs the cycle of decide, act, observe, revise.

The distinction from a chatbot is not sophistication but capability. A chatbot receives input and returns output, and a human decides what to do next. An agent takes the action itself. That single difference is what moves the security question from data exposure to consequence, because an agent's mistakes and an attacker's instructions both arrive as real changes to real systems.

Types of AI agents

Agents are usefully grouped by how much autonomy they hold and by what they are built to do.

By autonomy, assistive agents propose actions and wait for approval. Semi-autonomous agents act within a bounded scope and escalate anything outside it. Fully autonomous agents complete multi-step tasks without checkpoints, which is where the governance question becomes acute.

By function, coding agents read and write code and hold developer-level access. Workflow agents execute business processes across SaaS systems. Research agents retrieve and synthesize information, and are exposed primarily through what they read. Customer-facing agents interact with people outside the organization, which adds a reputational and regulatory dimension. Supervisory agents oversee other agents rather than performing a task.

A cross-cutting distinction matters more than either taxonomy: whether an agent was deliberately deployed or created inside a low-code builder by someone who did not treat it as software.

AI agent & Onyx

The agent is the primary object Onyx governs. Each one is discovered across the environment, scored for posture, governed by policy, inspected at runtime, and measured for adoption and business value – one object, followed through every function of the Secure AI Control Plane.

That matters because the five agent attack surfaces are not separable in practice. An over-permissioned agent with a large tool catalog and a steerable reasoning loop is one problem, not three, and addressing it requires identity, permission, and runtime controls that share a data model. Agent identity and access governance handles the identity and permission side, while runtime inspection covers the reasoning loop and tool calls.

Frequently Asked Questions

What separates an AI agent from a chatbot?
The ability to act. A chatbot returns text and a human decides what happens next. An agent calls tools and changes systems without waiting. Persistent context across steps is the second difference, and it is what allows multi-step tasks at all.
Why is agent identity treated as a security problem?
Because an agent authenticating with a human's credentials makes every action attributable to that person. Without a distinct identity, you cannot answer who acted, and you cannot revoke the agent's access without disrupting the human whose credentials it borrowed.
What does over-permissioning look like in practice?
An agent built for one task granted broad standing access because scoping was harder than copying an existing role. It works, and it means a steered or compromised agent reaches far more than its task ever needed. This is the OWASP excessive agency category.
How do agents get compromised without a software vulnerability?
Through the content they read. An agent processing a document or a tool response carrying attacker-written instructions may follow them, because it has no reliable way to separate data from instruction. Nothing is exploited in the traditional sense.
Where should governance of a new agent begin?
With identity and permission scope, before capability. Establish who owns it, give it a distinct principal, scope access to what the task requires, and decide which of its actions need approval. Those four answers determine how much the rest of the controls have to carry.
Related terms:
Table of Contents