ComputerWeekly

Governing agentic AI, now and in the future


The UK government believes artificial intelligence (AI) has the potential to boost the economy by £38bn. However, its benefits will only be realised as and when the technology can be trusted.

There are three parts to trust: the trust in AI that needs to be attained today; the trust that needs to be developed as agentic AI becomes more mainstream; and the trust that must be achieved long-term to benefit society.

The recently published Business, Innovation, Science and Trade (BIST) Committee’s Guardrails for growth: AI safety and security report warned that frontier AI is advancing faster than our ability to manage its risks. This, according to the report’s authors, could lead to a situation where public bodies, citizens and businesses are wary of entrusting AI with boosting productivity.

At the highest level, the development of frontier AI models appears to be progressing at an uncontrolled rate, with little or no consideration given to AI safety.

In his keynote presentation at November’s Gartner Symposium in Barcelona, Yuval Noah Harari, co-founder of social impact company Sapienship, said: “We have almost no experience of how to build large-scale, robust systems of cooperation. When you test AI safety in a laboratory, you can test it for kind of limited, short-term scenarios, and you can try to make sure there are no accidents. But you cannot simulate what happens when you release millions or billions of AIs into the world. We just can’t simulate that.”

And AI firms are accelerating efforts to engineer artificial general intelligence (AGI) or superintelligence in a race to secure a dominant market position.

The transcript of evidence given by OpenAI governance researcher Daniel Kokotajlo, which is presented in the BIST report, reveals the challenges facing people who want to promote AI safety at these firms.

“OpenAI, Anthropic and some of these other companies are trying to build superintelligence, which means AI systems that are better than the best humans at everything while also being faster and cheaper. I left OpenAI because I came to believe that OpenAI would not behave responsibly around the creation of this technology, and it was rationalising why it needed to be in the lead and build this as fast as possible. Basically, I lost confidence in the leadership,” he told the BIST Committee.

While this high-level discussion on AI safety illustrates the concerns of policymakers, organisations are starting to deploy agentic AI, which presents very near-term challenges for IT departments.

According to analyst Forrester, only 42% of AI decision-makers say governance strategy is included in their organisation’s official AI and agentic AI strategy.

When you test AI safety in a laboratory, you can test it for limited, short-term scenarios … but you cannot simulate what happens when you release millions or billions of AIs into the world
Yuval Noah Harari, Sapienship

Inadequate AI governance undermines return on investment (ROI) assumptions since, as Computer Weekly recently reported, an agentic AI system may be costing much more, in terms of token costs, than the value it generates for the business.

The agentic code time bomb

Writing code has become an obvious use case for agentic AI. In software development, however, software engineers are asking how they can trust AI-generated code, says David Loker, vice-president of AI at code auditing tools provider CodeRabbit.

Loker, who previously worked as an AI engineer at Netflix, says most agentic AI software development efforts start to fall apart in real-world situations, which are not greenfield implementations. “When I’m just building a new thing, and I’m saying, ‘Build me this kind of app’, I don’t have to worry about users, customers, or reliability,” he says.

But, in his experience, AI-based code generation falls apart when attempting to create code for an organisation that relies on thousands of code repositories and a microservices architecture combined with 30 years of legacy code.

From a software development perspective, while agentic AI promises to reduce the need for human coders, he says no system has yet been developed that builds a level of trust in the output of AI code generation.

Even if code is generated by AI, Loker says: “As engineering leaders, we still need to have processes in place to make sure that the quality of the AI-generated code meets certain standards, is maintainable and has long-term validity.”

He says the security of AI-generated code must also be assessed to ensure it does not introduce bugs.

As Loker notes, traditionally, software development is a team effort where software is developed by a group, and people find bugs and share the responsibility of fixing them. Using AI agents for coding does not change the problem.

A team of 10 or so people may have a certain cadence of bugs they can manage. When the team uses agents to code, more code can be produced, and hence the number of potential bugs that can be generated also increases. Loker warns that a software development team that handles bugs in code will be unable to manage the volume of bugs produced by the AI code generator.

“Initially, the promise of AI coding was over-promised and under-delivered. Most people generated more code but didn’t actually ship any extra stuff because they didn’t know how to build trust around that code,” he adds.

Studies have shown that software engineers have an attention span of around 400 lines of code, so the more code that is generated, the less able a developer is to focus on looking through it to find bugs. According to Loker, these days, one in eight of the pull requests used to merge different branches of code into a stable release contains more than 1,000 lines of code.

As engineering leaders, we need to have processes in place to make sure that the quality of AI-generated code meets certain standards, is maintainable and has long-term validity
David Loker, CodeRabbit

“I believe that in the next six to 12 months, most people will not be looking at any of the lines of code,” he warns.

In Loker’s view, the idea of scaling up code generation and letting it run in production is something engineers are very uncomfortable with.

The risk of taking agentic skills for granted

Beyond software development, IT teams may consider deploying agents to run a set of procedures encapsulated as a skill, such as in network management.

But, as Mike Hicks, principal solutions analyst at Cisco ThousandEyes, explains, generating a skill from policy documents, or asking a model to create one, is not the same as validating it. He says there are numerous questions that need to be answered, such as whether the skill calls in the appropriate tools and if the results are being interpreted correctly. He says organisations will also want to assess what the evidence the skill has drawn upon can and cannot establish.

“Those questions require domain expertise,” adds Hicks. “In network operations, for example, a basic reachability check may show that a destination responds, but it may not establish whether users can actually join the call. Knowing which additional evidence to gather, and how to interpret it, takes expertise in the systems being investigated.”

While past incidents can help an agent investigate future problems, Hicks says they should not automatically become new rules. “Findings need to be checked and categorised before they are reused. Otherwise, an incorrect conclusion can be repeated until it appears authoritative. Even reviewed findings should point to where to look, not override what the live evidence shows.”

Other considerations

Although an AI agent might work on behalf of a specific user, it cannot simply adopt that user’s security credentials to access IT systems.

Gartner does not classify AI agents as digital employees. Senior director Akif Khan says: “They can carry out tasks on our behalf, but this completely misrepresents how they relate to organisational workflows and business context. A human employee can carry out tasks across many different aspects of your business to varying levels of sensitivity, and you can hold them accountable. But an AI agent is typically given a specific task to do.”



This implies that AI agents should not have the ability to carry out other unrelated tasks. “They actually need a much more locked-down scope of authorisation than a human employee,” says Khan.

Since an AI agent should not be considered merely as a digital employee, Khan says the starting point to managing it securely is through identity and access management. “Right now, most of our clients are interested in how you can manage identity and access management for AI agents. It’s important that all AI agents are each given their own unique identity. They should never inherit the identity of the human that created them because they are separate entities. You then need to scope exactly what that agent is authorised to do.”

While AGI may seem to be on the horizon as the industry progresses towards this goal, agentic AI will inevitably get smarter and be able to take on tasks once considered only achievable by humans. This is already accelerating in software development, with IT operations tasks adopting more and more agentic AI.

Tight governance of AI agents is needed to prevent them from going awry, and this starts with robust agentic AI identity and access management controls.



Source link