Telerik blogs

AI agent governance sets runtime limits on what agents can access and do. Observability helps show what happened and why.

When an AI agent makes a costly mistake, what does your error log show? Probably less than you’d hope.

Let’s say you give an AI agent access to your support queue and your refund system. It reads a complaint, checks the customer’s account and sends a $25 refund. On the next ticket, a bad value slips into the request and the refund goes out as $2,500. Nothing crashes and no alert fires, because your application did exactly what you allowed it to do.

Nobody looked at that refund before it went out, because the agent chose the action and the amount on its own. A good prompt and a passing test suite can’t tell you what an agent will do on its next run. Chances are, your team needs a way to decide what each agent may do, watch what it actually does and stop a bad action before it reaches a customer.

What Is AI Agent Governance?

AI agent governance is how you control what an AI agent is allowed to do. An agent uses an AI model to choose and carry out multiple steps toward a goal, such as querying a database, calling an API or updating a record. Once software can act, every tool and credential it holds becomes part of your application’s risk model. A system prompt that says “please don’t issue large refunds” is a suggestion, not a control.

In practice, governance combines policies, ownership and technical controls. It identifies the agent, limits which tools and data the agent can reach, routes consequential actions for approval, caps each run’s cost and gives an operator a way to stop it.

Those controls live in a checkpoint between the agent and the tools it calls, usually called a control layer. In a support agent that issues refunds, the control layer sees the issue_refund call, the agent identity and the $2,500 amount, then returns deny before the refund API ever gets the request.

The NIST AI Risk Management Framework’s Govern function puts roles, policies and monitoring across the AI lifecycle. Agent engineering, the work of building and running agents in production, puts those policies in the request path.

How Does AI Agent Governance Differ From Observability?

Governance decides what an agent may do before it acts. Observability records what it did. After a run, observability gives you a trace showing the model request, tool calls, latency, token use, errors and final result. OpenTelemetry semantic conventions give traces, metrics and events common names.

Let’s say a support agent proposes a $2,500 refund. Observability records the agent’s issue_refund call with its amount and result. Governance checks that proposed refund against policy before the request reaches the refund API.

QuestionGovernanceObservability
What does it decide?Whether an action is allowed, blocked or sent for approvalWhat the agent attempted and what happened
When does it act?Before or during executionDuring and after execution
What does it use?Identity, permissions, limits and approval rulesTraces, logs and metrics
What does it produce?A policy decision and an enforcement resultEvidence for debugging, review and auditing

You need both. A trace can show you exactly how $2,500 left the account, but it can’t put the money back. Put the policy decision in the trace right beside the tool call, so one record shows what the agent tried and why it was stopped.

What Does AI Agent Governance Control at Runtime?

At runtime, governance controls each tool call before it reaches your systems. When a support agent calls issue_refund with a $2,500 amount, the control layer checks the agent identity, requested tool, target resource, arguments and the cost the run has racked up so far. It then returns one explicit result: allow, deny or approval_required.

Too much access is a well-documented way for agents to fail. OWASP identifies excessive functionality, permissions and autonomy as root causes of Excessive Agency, and limiting that agency takes several controls working together:

  • Dedicated identity replaces a shared service credential.
  • Tool permissions allow only the operations the use case needs.
  • Argument checks inspect the refund amount, destination account and data classification.
  • Approval rules pause actions with financial or legal impact.
  • Per-run limits cap model calls, tokens, time and spend.

Pro Tip: Enforce policy where the agent’s tool call crosses into your application. A prompt can only ask the model to behave, while an API request is something the control layer can actually inspect and stop.


In the refund case, identity tells the control layer which agent asked. Tool permissions confirm that issue_refund is available to that agent. The argument check then compares $2,500 with the approval threshold and pauses the refund. When you open the run, you can see why the refund stopped without matching timestamps across three systems.

You don’t have to build every one of those checks yourself. Progress Agent Engineering, Progress’s platform for observing, evaluating and governing production agents, offers agent governance capabilities that include agent policies, alerts, human review and auditing. Its agent policies set boundaries for cost, quality, safety, security, models, tools and context.

Why Does AI Agent Governance Matter to Developers?

Governance matters to developers because your tests can’t cover every path an agent takes. Unit tests cover the paths you know to exercise, but an agent picks its path from model output, retrieved data and tool responses that change from run to run. Tests catch known failures, and traces explain an incident afterward. Neither can recall a payment that already went out.

Governance limits what the unexpected path can reach. Your support agent can read an account and draft a reply automatically, while a refund above $100 pauses for approval. Your coding agent can edit a feature branch and open a pull request, while its identity lacks permission to push to main or trigger a production deployment.


Pro Tip: For each agent, ask what its worst choice could reach. If the answer includes payments, production or customer data, that action needs a policy check before it runs.


Limiting what each agent may do helps contain the damage from an unexpected path, and recording the policy decision with the trace gives your reviewers evidence after the run. Regulators expect that evidence too. For high-risk AI systems, Article 14 of the EU AI Act requires effective human oversight. Article 12 of the EU AI Act adds automatic event logging for record keeping.

Outside those high-risk systems, reviewers still need to know which identity acted under which policy and who approved an exception. Agent Engineering addresses part of that need. Human review escalates sensitive, risky or low-confidence runs with the full run context preserved, and auditing keeps the prompts, model calls, tools, costs and review states for later investigation.

How Can Developers Start Governing AI Agents?

Start governing AI agents in the interface your agent runtime or platform exposes to your application, usually a software development kit (SDK). Four pieces should be visible in your application code:

  • Tool registration gives issue_refund its own permission scope, separate from read_customer and draft_reply.
  • Policy evaluation returns allow, deny or approval_required, plus a decision ID your application handles.
  • Trace output carries the invoking user, agent identity, model and prompt version, tool arguments, policy decision, approval record, result, latency and cost. Sensitive values stay out of telemetry.
  • Denial behavior stops the tool call and gives the user a safe application state.

Warning: If a policy check times out, keep the action blocked until authorization is confirmed. A missing decision should not be treated as permission to proceed.


The identity, policy and trace records your application already handles can also support the AI management system described by ISO/IEC 42001. Expand an agent’s authority only after each permission and approval rule is enforceable and its policy decision appears in the trace. A clean API response proves the request was accepted, not that the agent had the authority to send it.

So go back to that $2,500 refund. At your next agent design review, follow issue_refund from SDK permission through policy result to trace, and confirm the request stops at the approval threshold instead of landing in a customer’s account.


Progress Agent Engineering helps you put governance into practice with policies for model and tool access, alerts when cost or quality thresholds are crossed and human review flags for sensitive runs—with trace-connected records for investigation and audit.


Get Started


Adam Bertram
About the Author

Adam Bertram

Adam Bertram is a 25+ year IT veteran, former Microsoft MVP and self-employed consultant who helps organizations replace repetitive manual work with generative AI automation and agent-based workflows. He’s a successful blogger, consultant, trainer, published author and freelance writer for dozens of technology publications.

Related Posts

Comments

Comments are disabled in preview mode.