AI agent

What is AI agent?

An AI agent is a system that uses a language model to decide which actions to take toward a goal, rather than only generating text. It is given a set of tools it may call, and the surrounding software validates, authorises and executes each call. Agency comes from the tools, not from the model.

In more detail

Most systems called AI agents combine three parts: a language model that reads the conversation and decides what to do, a set of tools it is allowed to request, and surrounding software that checks each request and runs it. Without the tools it is a chatbot. Without the checks it is a risk.

Agents differ in how much they are trusted to do. A website agent might be allowed to record a lead or open a ticket, both easy to undo. Refunds, deletions and anything involving money normally stay with people, or wait for a person to approve them.

An example

Asked "can someone call me back about a kitchen quote?", a chatbot replies that someone will be in touch. An agent calls a create-lead tool with the visitor's name, number and request, and the software emails the enquiry to the business.

Illustration for "AI agent"GLOSSARYAI agent
AI agent, defined in plain English.
AI agent connected to customers and the tools that serve themAI agentTool callingChatbotAI employeePrompt injection
Related terms in this glossary.

How SpideyChat handles it

SpideyChat assistants can be given five tools: search the knowledge base, capture a lead, open a support ticket, hand over to a person and notify an external system. All are off by default. The server re-checks that each requested action is enabled before running it, validates the arguments, refuses anything marked destructive, and allows at most three rounds of tool calls per reply.

We make SpideyChat. The rest of this page describes the term in general, not our product.

Questions

Do AI agents act on their own?
Only within the tools they are given. The model proposes an action and the application decides whether to run it. Well-built agents keep anything costly or irreversible behind a person.
What is the difference between an AI agent and an AI assistant?
The words overlap. Assistant usually describes the conversational side and agent the ability to take actions. Many products, SpideyChat included, are assistants that become agents when actions are switched on.

All glossary terms