Beyond LLMs: Building AI Agents That Can Reason, Act, and Recover

Nov 25, 2026

Beyond LLMs: Building AI Agents That Can Reason, Act, and Recover

Explore how AI agents reason, execute tasks, and recover from failures, with insights on human oversight, business costs, and evaluating AI systems before deployment.

Editor’s Note: This blog is adapted from an episode of the AI ThoughtMakers podcast featuring Madhumitha Kolkar, Senior Machine Learning Engineer at SolarWinds, in conversation with host Prem Prakash Goswami.

AI agents are being assigned more and more tasks in businesses. From handling customer requests and working across connected systems, they are truly automating every possible aspect of monotonous, repetitive business tasks.

According to McKinsey's 2026 State of AI report, 40% of respondents from organizations with annual revenues above $1 billion report scaling AI agents, up from 27% in the previous year.

With the increase in AI adoption, it is necessary to have a discussion on how these agents and systems make decisions, take action and to what extent, have control.

In an effort to better understand these aspects that come with AI adoption and automation, GeekyAnts’ in their recent episode of AI ThoughtMakers, have a conversation on who works on AI safety evaluations and guardrails.

Prefer listening? Catch the full conversation on Apple Podcasts.

This article follows that conversation: what sits around the model, where a task actually ends, how to check reasoning instead of trusting it, where approval gates belong, how a system recovers from a half-completed action, who owns a failure, what the whole thing costs, and what to ask a vendor before signing.

Understanding LLMs, Agents, and Harnesses

To understand AI agentic systems, it would help to break them down to their three main components:

Think of LLM’s as a database of knowledge contained in an environment. An LLM can answer questions, explain concepts, and generate content using the information available to it.

Now give the LLM internet and resources to connect with tools and data freely available. It will be able to work toward defined goals by searching for relevant information itself.

A quick example would be as Madhumitha said- ‘I'm going to go look at these jobs, see what I need for that, maybe apply for them, create a resume.’

The agent is given the ability to take action.

Tell the agent how to operate with defined rules, permissions and restrictions- that's a harness. These rules may specify which websites the agent can use, which roles it can apply for, and what actions require approval.

Together, these three components determine what the system can do, how it performs a task, and what controls the business has over its actions.

What It Means for an AI Agent to Complete a Task

Consider a customer requesting a delivery address change after placing an online order.

An agent works in the following manner:

  • Retrieve order details
  • Check fulfillment status
  • Determine whether conditions are met
  • Call an API to update address
  • Verify if new details are saved

Naturally, it is possible for the process to fail at several points. The order status may be unavailable, the update request may be rejected, or the system may return an error. In these situations, the agent needs to recognize the incomplete action and request additional information or escalate the issue.

But does that still guarantee completion done in the right way for every ticket raised?

Where Human Approval Belongs in AI Workflows

To tackle this issue of 'trust’- businesses need to define what actions an agent can complete independently and when and where human review is required.

This is a relevant concern as companies expand their use of agentic AI. Nowadays, one in five surveyed companies have a mature governance model for autonomous AI agents.

What that translates to, is more room for error. If anything, it is imperative now, for humans to cast review in the final stages of most actions taken by autonomous, agentic AI’s.

An incorrect message could misinform a customer or communicate a decision the company has not approved.

Human approval can help prevent incorrect decisions, but businesses also need to prepare for failures that occur while an agent is carrying out an approved task. As discussed in GeekyAnts' article on why AI agents fail in production, recovery also depends on making errors visible and controlling retries.

How Businesses Should Evaluate the Cost of AI Agents

The next question that arises after you deal with inconsistencies from the AI end is how do we price this model? And based on what?

Before we answer that, let's look at a statistic quoted in McKinsey's 2026 State of AI survey. Where approximately 20% of respondents report that AI-related operating costs, including token costs, have constrained their organization's AI use.

Clearly, there is a mismatch between the cost savings companies expect from AI agents and the costs they may underestimate when considering replacing employees. Especially when the former option of automating tasks, requires humans in the loop to see the actions through to completion.

On paper it looks great: An agent has completed a development task in 2 hours over the two weeks your team of engineers would have ideally taken.

But take a step back and see the additional hours your engineers will spend reviewing the generated code, understanding it and fixing all the issues that arise.

Businesses therefore need to account for model usage, infrastructure, human review, and the effort required to fix problems. The evaluation should also consider whether the system improves the existing process. A task that takes less time to generate may still require extensive checking afterward.

The goal is to compare the total cost of completing a task not just with the time saved, but also consider the quality of the result and its effect on users or operations.

What Businesses Should Test Before Investing in AI Agents

Understanding the total cost is one part of the decision. Businesses also need evidence that an agent can handle their actual requirements before investing in it.

As Madhumitha points out in the conversation, a vendor's demonstration may show a working product, but that does not establish how well it performs in a company's environment.

Rather, one should use realistic business situations to validate the system, even those that involve incomplete information, conflicting instructions, and an impossible task.

Is the agent capable of recognizing that it does not have enough information to make a decision, or that it should ask for clarification rather than give an answer without having the full picture? Moreover, can the vendor prove how often the system makes mistakes?

Start with simple internal assignments, like classifying support tickets, and gradually increasing the amount of responsibility assigned to the agent. Errors made by the team can be documented, used as test cases, and evaluated in relation to improvements in the future.

This way, companies would get not just proof that the system works, but tangible results of its performance and weaknesses.

Conclusion

Ultimately, the use of AI agents will depend on how much they help the work done by the company.

Their worth is determined by the whole process that includes their decisions, actions, human labor involved, and failures experienced.

For businesses exploring these capabilities, GeekyAnts' AI Agent Development Services provide a starting point for evaluating requirements and building AI systems around specific business needs.

Subscribe to Our Newsletter

Insights

More from the engineering frontline.

Dive deep into our research and insights on design, development, and the impact of various trends to businesses.

When Should an AI Agent Stop and Ask for Human Help?
Nov 25, 2026

Insight

When Should an AI Agent Stop and Ask for Human Help?

AI agents can send emails, update systems, and make decisions. But when should they stop and involve a human? Manu, Solution Architect at Serverless Guru, discusses AI autonomy, risk assessment, permission layers, and human oversight.

Start a project

The Right Conversation Can Save You Six Months.