AI fundamentals · 3 MIN READ

What is an AI agent, and when is it the right tool?

SHORT ANSWER

An AI agent uses a model, instructions and tools to make decisions and perform steps towards a goal. Unlike an ordinary chat, an agent can act in other systems, which requires clear permissions, stopping rules, logs and human oversight.

An AI agent connects a goal and model to bounded tools, checkpoints and a clear stop.

An agent does more than produce an answer

NIST describes an agent as software that can receive information from its environment and take self-directed actions in service of an externally specified goal. An ordinary chat can draft text when asked. An agent may also select a tool, read a case, update a system and check whether the task is complete. The boundary is not how human the text sounds, but whether the system may decide on and carry out actions.

OpenAI describes practical agents as systems where a language model manages a workflow and selects tools within defined guardrails. Tools may retrieve information or change something. You should therefore always be able to state the agent’s goal, which data it may read, which actions it may perform and who is accountable for the result.

Choose a bounded task with a clear end

A suitable first task is recurring, reviewable and has a clear end. Examples include sorting incoming material, proposing a case category and creating a draft for human approval. An agent is a poor choice when the goal is unclear, the consequence of an error is high or there is no reliable way to check the result. A fixed rule or ordinary form may then be better.

Draw the workflow without AI first: trigger, input, decision, action, check and stop. Mark which steps are fixed and where interpretation is required. Our guide to what can be automated with AI helps distinguish rule-based steps from those requiring language understanding. Then build the smallest version you can test with harmless data.

Permissions and stopping rules are part of the feature

Give the agent the least access it needs. Permission to read is not permission to send, delete, publish or purchase. Limit tools, recipients, amounts, data volumes and time periods. Require human approval before irreversible or sensitive actions, and make sure the system can stop when evidence is uncertain, a tool responds unexpectedly or the goal is already complete.

The current security discussion shows why boundaries matter. On 30 November 2026, CISA described how agentic offensive frameworks can increase the speed and scale of intrusions. This does not make every agent a cyber tool, but the same core properties—tool access and multiple autonomous steps—make identity, permissions, logging and recovery central even in ordinary workflows.

Test actions, not only answers

Test the normal case, missing details, conflicting instructions, broken tools, duplicates and a user who changes their mind. Confirm that the agent does not repeat an action after a timeout and that the log shows which instruction, data and permission were used. A useful work sample includes a process map, permission matrix, test cases, stopping rules and a short description of what still requires a person.

Our workflow automation course teaches you to map and test a small process with error handling. The AI security course goes further into agent permissions, data boundaries and prompt injection controls. If you want to build a prototype, the Codex course can help you define requirements and test behaviour. Compare more AI courses according to the task you actually need to perform.

Sources and further reading

NIST CSRC · Agent glossary

OpenAI · A practical guide to building agents

CISA · Defending against malicious use of agentic offensive frameworks, 30 November 2026