Skip to content

AI agents

What is an AI agent?

An AI agent is software that uses an AI model to decide which steps reach a goal and then carries them out with tools connected to other systems, such as your CRM, calendar or help desk. A chatbot answers questions, while an agent also acts: it books the appointment, updates the record or starts the return. It can only do what its tools and permissions allow.

By the KDS security engineering teamPublished 3 min read

Key takeaways

  • An AI agent combines a language model, instructions, tools, memory and guardrails to complete tasks, not only answer questions.
  • Tools decide what an agent can change in your systems, so tool access is a security decision.
  • Least-privilege access, approval for high-impact actions, logging and attack testing keep a mistake or an attack small.
On this page

How an AI agent works

NIST describes an agent as a software system that prompts a model again and again: it acts on the model's output, for example by calling a function the model selected, and feeds the result back into the next prompt (NIST AI 100-2 E2025 (opens in a new tab), section 3.5). The loop continues until the task is done or a rule stops it. A business agent usually has five parts:

  • Model: a large language model (LLM) that reads the request, plans the next step and writes replies.
  • Instructions: the system prompt that sets the agent's role and rules, such as which topics it handles and when a person takes over.
  • Tools: defined actions the agent can call, such as looking up an order, booking a slot or creating a ticket.
  • Memory: the conversation so far and, in some agents, notes kept between sessions, such as a customer's preferences.
  • Guardrails: limits outside the model, such as access rights, spending caps, approval steps and checks on each tool call before it runs.

The model decides, but the tools act. An agent that can only read your calendar cannot cancel a meeting, whatever its prompt says. For this reason the tool list and its access rights matter more than the wording of the instructions.

What is an AI agent used for?

Agents fit tasks that repeat often, follow rules you can write down and need a lookup or an update in one of your systems. Typical examples:

  • A voice agent answers a call, checks the calendar and books or moves the appointment.
  • A support agent confirms who the customer is, finds the order and starts a return within your policy.
  • A sales agent replies to a new lead, asks your qualification questions, updates the CRM and books a meeting.
  • A back-office agent reads an invoice, matches it to a purchase order and sends exceptions to a person for approval.

A chatbot stops at the answer. It can explain your return policy, but a person still starts the return. Our comparison of an AI agent vs chatbot shows when each one fits.

Why it matters for your business

An agent can finish work that today moves between people and systems by hand. The same ability creates the main risk: a wrong decision, or an attacker's hidden instruction, becomes an action in a real system. NIST notes that because agents act through tools, attacks such as prompt injection (tricking an AI with hidden instructions) can let someone hijack an agent to run code or take data out of its environment.

The OWASP Top 10 for LLM Applications 2026 (opens in a new tab) ranks excessive agency third: an agent with more functions, permissions or autonomy than its task needs. Joint guidance from CISA and partner agencies (opens in a new tab) advises starting with low-risk use cases and avoiding broad or unrestricted access to sensitive data or critical systems.

Four controls keep most mistakes small: least-privilege access for each tool, a person's approval before high-impact actions, a log of every action and attack testing before launch. When we build AI agents, a security team sets these limits before the agent talks to a single customer.

  • Agentic AI: AI systems that plan and act toward a goal with limited human direction.
  • Tool calling: the way a model asks the application to run a defined action.
  • Human in the loop: a person reviews or approves the AI's work before it takes effect.
  • Prompt injection: an attack that tricks an AI with hidden instructions.

Sources

  1. 1.Agent (glossary entry, from NIST AI 100-2 E2025), NIST Computer Security Resource Center (opens in a new tab)
  2. 2.NIST AI 100-2 E2025, Adversarial Machine Learning: A Taxonomy and Terminology of Attacks and Mitigations, NIST, 2025-03-24 (opens in a new tab)
  3. 3.OWASP Top 10 for LLM Applications 2026, OWASP GenAI Security Project, 2026-08-03 (opens in a new tab)
  4. 4.CISA, US and international partners release guide to secure adoption of agentic AI, CISA, 2026-05-01 (opens in a new tab)
  5. 5.Prompt injection is not SQL injection (it may be worse), UK National Cyber Security Centre, 2025-12-08 (opens in a new tab)

Get a free 30-minute assessment

Tell us which calls, chats or tasks take up your team's time. A senior engineer will show you what an agent could handle and what it would take to launch it safely.

Frequently asked questions

What is an AI agent in simple terms?

An AI agent is software that completes tasks for you instead of only answering questions. You give it a goal, such as booking an appointment. It uses an AI model to decide the steps and tools connected to your systems to carry them out. It works within the access and rules you set, and it passes the case to a person when a rule requires it.

What is an example of an AI agent?

A support agent that handles a damaged-order request is a common example. It confirms who the customer is, finds the order in your system, checks the return policy, creates the replacement order and sends a confirmation. If the order value is above a limit you set, it passes the case to a person with a summary instead of acting on its own.

Is a chatbot an AI agent?

Usually not. A chatbot holds a conversation and answers questions from a script or a knowledge base. An AI agent also takes actions in other systems through tools, such as updating a CRM record or booking a slot. A chatbot becomes an agent when you connect tools that let it change something, and from that point it needs tighter security controls.

Are AI agents safe to use in business?

They can be used safely when the design limits the damage of a mistake or an attack. Give each agent only the access its task needs and require a person's approval for payments, data exports and deletions. Log every action, and attack-test the agent before launch and after changes. The UK National Cyber Security Centre warns that prompt injection may never be fully mitigated, so these limits matter more than the prompt.

Services and use cases

  • Customer support lead calmly reviewing a short list of escalated tickets at her desk

    Use case

    AI customer support

    AI customer support agents that resolve order, return and account questions from start to finish and hand complex cases to your team with full history.

    See how the AI support agent works
  • Clinic reception desk in the evening with a phone lighting up as a call comes in

    Use case

    AI receptionist

    An AI receptionist that answers every call, books appointments 24/7 and transfers urgent callers to your staff. Built for clinics and service businesses.

    See how the AI receptionist works
  • Service

    AI agent development

    Custom AI agent development for support, sales, front desk and back-office work. Voice and chat agents built and attack-tested by a cybersecurity team.

    Explore AI agent development
  • Service

    AI security and red teaming

    AI security consulting for AI agents and LLM apps: red teaming, prompt injection testing, shadow AI discovery and EU AI Act and ISO/IEC 42001 readiness.

    Explore AI security consulting

Free 30-minute assessment

Find the one workflow worth automating first.

Tell us how your team works. We'll come back with two or three AI opportunities, the risks to watch and a rough payback estimate. No obligation.

  • A senior engineer replies within one business day
  • We can sign an NDA before you share details
  • No fixed packages, every quote tailored to you
What can we help with?
About your company

Company size

When would you like to start?

How can we reach you?

Encrypted in transit · read only by our team · never sold

Free 30-minute AI assessmentGet it →

Before you go

Find out where AI can save your team time

Book a free 30-minute assessment. A senior engineer reviews one workflow with you and sends back the opportunities, the risks and a rough payback estimate.