AI Agent
An AI Agent is an autonomous software entity built to carry out a goal-directed task within a bounded digital environment. It perceives its inputs, reasons over their context and acts toward a specific objective, often on behalf of a human user. It is an intelligent agent whose reasoning is done by a large language model.
An AI agent has three core characteristics:
- Autonomy. It works with minimal or no human intervention once it is deployed.
- Task-specificity. It is built for a narrow, well-defined task in a fixed domain, such as filtering email, querying a database or coordinating a calendar.
- Reactivity and adaptation. It responds to inputs as they arrive, such as a user's request or a change in a software system. Some agents also refine their behaviour over time through feedback.
A conventional automation script follows a fixed, deterministic sequence of steps. An AI agent interprets inputs that change and adjusts its output to them.
Which of these two programs is an AI agent? The first program renames each scanned claim form by its claim number. The second reads each email a broker sends, works out what the broker is asking for and forwards it to the right underwriter.
Answer
- The first program applies the same rule to every file, so it is a conventional automation script.
- The second must interpret inputs that differ from one email to the next and act toward a goal, routing each request correctly.
- The second program is the AI agent.
Language models and tools
In an AI agent, the large language model interprets the user's goal, formulates and evaluates possible plans, and manages a task of several steps. On its own, a language model is limited by what it learned in training. A tool-augmented agent overcomes this by calling external tools:
- Tool invocation. When the agent needs something its own knowledge cannot supply, such as a current stock price or the result of a script, it writes a structured function call or API request.
- Result integration. The tool's output is put back into the model's context, and the agent decides its next step from it.
The agent repeats this loop. It receives a goal, decides on the next action, performs it and observes the result, until the task is complete.
An agent is asked for the value of a US$10,000 claim payment in Canadian dollars today. How does it answer?
- The exchange rate today is not in the model's training data, so the agent calls a tool that returns the current rate.
- The rate is put back into the agent's context.
- The agent multiplies $10,000 by the rate and reports the result.
Workflows and agents
Anthropic calls every system built from language models and tools an agentic system, and divides them into two kinds:
- Workflows. The language models and tools are orchestrated through code paths set in advance.
- Agents. The language model directs its own process and its own use of tools, and keeps control of how it does the task.
A workflow gives predictable and consistent results on a well-defined task. An agent suits an open-ended problem whose number of steps cannot be predicted, so no fixed path can be written for it. An agent costs more to run, and its errors can compound from one step to the next. Agents are often given a stopping condition, such as a maximum number of steps.
Which of these two claims systems is a workflow and which is an agent? The first system always extracts the first-notice-of-loss data, then classifies the claim, then routes it to an adjuster. The second is asked to find out why a region's claim counts rose and decides which searches and queries to run until it has an answer.
Answer
- The first system follows the same three steps for every claim, set in its code, so it is a workflow.
- The second decides its own steps, and how many it needs cannot be known in advance, so it is an agent.
AI agents and agentic AI
An agentic AI system is made of several specialized agents that work together toward a complex, high-level objective. A planning agent divides the user's objective into smaller tasks, and the tasks are shared out across the agents. The agents communicate with each other, and keep a memory of context across many interactions. An AI agent is a single agent on a narrow task. The work of several agents deciding together is the subject of Collaboration.
A smart thermostat is an AI agent. It keeps the temperature at the user's setting, and it works alone on that one task. A smart home system that is agentic AI has separate agents for the weather forecast, the household's schedule, energy prices and security. A forecast of a heatwave from one agent can lead the energy agent to cool the house early, before prices peak.
Coordinating several agents raises problems a single agent does not have. Individual agents can interpret the overall objective differently, or pursue local goals that drift away from what people intended. That is a problem of alignment.
Is this insurer's renewal system an AI agent or agentic AI? The system has one agent that drafts a renewal notice, a second that checks it against the policy terms and a third that schedules its delivery.
Answer
- The objective of renewing the policy is divided into three tasks.
- Each task is done by a separate specialized agent, and the agents pass their work to each other.
- The system is agentic AI.
Applications in insurance
The applications of AI agents named in the CFE-201 reading are customer support and internal enterprise search, email filtering and prioritization, personalized recommendation and basic data reporting, and scheduling. In insurance, the BCG reading on the same syllabus finds AI creating early value in four areas:
- Underwriting. AI augments manual underwriting, and brings unstructured information that was previously inaccessible into underwriting decisions.
- Customer service. At leading insurers, knowledge assistants account for almost two-thirds of the productivity gains from giving service staff AI tools.
- Claims. For complex claims, applications automate the extraction of first-notice-of-loss data, document processing and triage. For simple claims, AI can run the whole process, from data capture to settlement.
- Sales. For direct writers, autonomous sales agents process large volumes of leads and direct each customer to a digital, phone or in-person sales journey.
Limitations of AI agents
The CFE-201 reading names five limitations of AI agents:
- Lack of causal understanding. The language model detects statistical correlations, but it does not tell association apart from causation. It cannot reason about what would happen after a change it has not observed.
- Limitations inherited from the language model. The agent can hallucinate, giving outputs that are plausible but false. Small changes in a prompt's wording can change its behaviour. Each step can need several calls to the model, which adds cost and delay. Its knowledge stops at a cutoff date unless a tool supplies newer information, and it reproduces the biases of its training data.
- Incomplete agentic properties. Its autonomy is partial, because it depends on prompts and rules people write. It rarely sets or changes its own goals.
- Limited long-horizon planning and recovery. On a task of many stages, it can repeat itself, such as querying a tool endlessly, and it often fails to recover when a step fails.
- Reliability and safety. Checking that an agent's plan is correct is an unsolved problem, and no formal verification is available for agents built on language models.
Which limitation is at work here? An agent reviewing claims data observes that policyholders who report claims online have higher average claim costs. It recommends closing the online channel to lower claim costs.
Answer
- The agent has found an association between the reporting channel and claim cost.
- Its recommendation assumes the channel causes the higher cost, which the data does not show.
- This is the lack of causal understanding.
Confusing an AI agent with agentic AI An AI agent is one agent on one narrow task. Agentic AI is several specialized agents dividing an objective among themselves and coordinating. A single language model calling a search tool in a loop is an AI agent, however many steps it takes.