AI & Compute Explainers

What are AI agents? Useful where their work can be checked

AI agents act inside company systems instead of just answering. They work best where output can be checked, as with code; elsewhere costs, risks and returns lag.

The CEO Lens Editors 25 November 2026 5 min read

Photo by Juanjo Jaramillo on Unsplash

An AI agent is software built on a large language model that is given a goal, a set of tools and permission to act. A chatbot answers a question. An agent works out the steps, uses company systems to carry them out, checks the result and tries again.

What most explanations miss is that the useful dividing line is not how clever an agent is but whether its work can be checked. Agents have gone furthest in coding, where automated tests verify what they produce. Elsewhere an agent’s mistake is not a bad answer but a completed transaction, and that is where the cost and the risk sit. Large companies are scaling them anyway: 40% of respondents at firms with revenue above $1bn told McKinsey agents were scaled1 in at least one function, against 27% a year earlier. The share attributing any EBIT impact to AI was 37%, about where it was. Adoption is running ahead of proof.

How an agent works

Most agents have three parts: a model that reasons, tools it can call (a database, a payments system, a code repository, a browser) and instructions that set its goal and limits. The agent runs in a loop: it picks an action, sees what happened and decides the next step.

Vendors use the word loosely. Anthropic, which builds the Claude models, drew the clearest line in December 20242. In a workflow, the developer writes the path in advance and the model fills in steps along it. In an agent, “LLMs dynamically direct their own processes and tool usage”. So chatbots answer or draft while a person acts; traditional automation follows fixed rules and breaks when the input changes; agents choose their own steps, cope with messy inputs and are less predictable.

The same guidance advises against reaching for an agent by default. Its authors recommend the simplest design that works, note that a single well-tuned model call is enough for many applications, and warn that autonomy brings higher bills and the chance that one early mistake compounds through later steps. Coming from a company that sells the models, that advice deserves weight.

Where they work: code first

McKinsey’s State of AI 2026 survey1 polled 1,719 people in 97 countries between 4 May and 8 June 2026. Smaller organisations stayed flat at 22% while large ones climbed. IT, knowledge management and software engineering lead, and coding is the most mature use because automated tests can verify the output.

One number should worry anyone who sells software. In 32% of respondents’ organisations, the company had decided against buying at least one software product or feature because agentic coding tools let it build the thing in-house.

Customer service is the second established use. Annual recurring revenue from Salesforce’s Agentforce passed $1.5bn at 31 July 20263, up more than 240% in a year, though not like for like: from that quarter the company widened the measure to take in Slackbot and Headless 360.

What they cost

Every step in an agent’s loop is another model call, so agents use far more computing than chatbots. Roughly one McKinsey respondent in five said operating costs for AI, tokens included, were limiting how much their organisation used it.

The supplier’s side is starker. Revenue at Alibaba’s AI Labs and Applications unit grew 51% to $661m4 in the September quarter on demand for agentic products. Its adjusted EBITA loss widened to about $1.6bn, almost two and a half times that revenue, which the company put down to heavier AI investment and inference costs for its Qwen app.

The larger cost is integration. Gartner predicted in June 20255 that more than 40% of agentic AI projects would be cancelled by the end of 2027, citing rising costs, unclear business value and weak risk controls. Connecting agents to legacy systems, it said, often forces costly changes to existing workflows. By its estimate only about 130 of the thousands of vendors claiming agentic AI were real.

When the mistake is a transaction

Wrong actions. Singapore’s governance framework for agentic AI6, launched on 22 January 2026, names unauthorised or erroneous actions, such as changing a customer database or making a payment, as a core risk. It flags automation bias, where staff trust the system too much to check it, and asks companies to set checkpoints where a human must approve an agent’s action.

Security. Agents read emails, web pages and documents, and can be steered by instructions hidden in them, an attack called prompt injection. Britain’s National Cyber Security Centre wrote in December 20257 that such attacks may never be fully mitigated and should be managed as a standing risk, not fixed like a bug. Its advice is to cut an agent’s privileges whenever it handles content from outside parties.

Regulation. The EU AI Act’s rules for the high-risk uses listed in Annex III now apply from 2 December 2027, not 2 August 2026, according to a timeline from the Future of Privacy Forum8. The act’s general transparency rules did take effect on 2 August 2026.

Jobs. The effect so far is smaller than executives expected. In 2026, 14% of McKinsey’s respondents said AI had contributed to a fall in headcount over the past year; a year earlier, 32% had expected one. Looking ahead, 39% expect AI-related cuts in the coming year.

What leaders can take from it

  • Does the task need a model to choose its own steps? If a fixed workflow would do, use one.
  • Can the output be checked automatically, as code can? If not, budget for the people who will check it.
  • What is the most damage the agent could do with the access it has? If the answer is uncomfortable, narrow the access before widening the pilot.
  • If you sell software, read McKinsey’s 32% twice. Customers are already building what they used to buy.

What we don’t know yet

  • Whether Gartner’s forecast of more than 40% of agentic AI projects cancelled by the end of 2027 shows up in company results.
  • Whether its bolder forecast holds: that at least 15% of day-to-day work decisions will be made autonomously by agentic AI by 2028, from none in 2024.
  • Whether capability keeps compounding. METR found in March 20259 that the length of task an AI agent could finish, measured by how long it would take a skilled human at a 50% success rate, doubled about every seven months. Its page now notes that the figure reflects data at the time of publication.

What to watch

  • Gartner’s end-2027 test: whether the predicted cancellation of more than 40% of agentic AI projects shows up in company disclosures and in McKinsey’s 2027 survey.
  • Unit economics at suppliers: Salesforce’s next Agentforce figures on a consistent definition, and whether losses at Alibaba’s AI applications unit narrow as agent revenue grows.
  • The run-up to 2 December 2027, when EU high-risk AI obligations start to apply, and whether other regulators follow Singapore with agent-specific guidance.

Sources

  1. McKinsey & Company: The state of AI in 2026: On the road to ROI (2026-08-25) ↑ ↑
  2. Anthropic: Building effective agents (2024-12-19) ↑
  3. Salesforce: Salesforce Delivers Record Second Quarter Fiscal 2027 Results (2026-08-26) ↑
  4. Alibaba Group (SEC Form 6-K, Exhibit 99.1): September Quarter 2026 Results (2026-11) ↑
  5. Gartner: Gartner Predicts Over 40% of Agentic AI Projects Will Be Canceled by End of 2027 (2025-06-25) ↑
  6. Singapore Ministry of Digital Development and Information: Singapore Launches New Model AI Governance Framework for Agentic AI (2026-01-22) ↑
  7. UK National Cyber Security Centre: Prompt injection is not SQL injection (it may be worse) (2025-12-08) ↑
  8. Future of Privacy Forum: The AI Act Implementation Timeline: What Changes Under the AI Omnibus? (2026-07-28) ↑
  9. METR: Measuring AI Ability to Complete Long Software Tasks (2025-03-19) ↑

How this article was made. Researched and drafted with AI tools, then checked against the sources listed above before publication. Every figure and quote must come from a linked source. Our editorial standards

Newsletter

The Focal Point

The week’s most important developments for business leaders, in five minutes.