TL;DR: Coding agents are already shaping 16 to 23 percent of code contributions, and Arize argues the real bottleneck is not model capability but the harness, telemetry, and evaluation loops that let agents verify changes against runtime evidence. The governance challenge now is to treat traces as the source of truth for agentic software, because blind automation only scales review overhead.
At a glance
What this is: This analysis says coding agents are becoming a major part of software production, but they need telemetry, traces, and evaluation loops to verify their own changes at runtime.
Why it matters: For IAM and NHI teams, the governance lesson is that agentic systems need machine-readable evidence and control points, not just access to tools, if they are to operate safely.
Context
Coding agents are shifting software delivery from human-written code to machine-assisted change generation, and that creates a governance gap: the code is no longer the only source of truth. In agentic development, runtime traces, tool calls, prompts, and evaluation outputs become part of the control surface, which means security, quality, and accountability all depend on whether those signals are captured and usable.
The identity angle is real even though this is not a classic IAM story. Coding agents act as non-human identities when they access files, tools, and environments under delegated permissions, so their access scope, traceability, and verification rights need explicit governance. That makes telemetry part of the control plane for agentic software, not just an observability convenience.
Key questions
Q: What breaks when coding agents cannot see their own runtime traces?
A: The self-verification loop breaks. Without traces, an agent can only guess why a tool call failed, whether a retry helped, or whether a code change improved behaviour. That creates noisy fixes, weak accountability, and more human review work rather than less. Telemetry is what turns agent output into evidence-based software change.
Q: Why do coding agents create a new access-governance problem for software teams?
A: Because they operate as delegated machine actors that can use tools, files, and environments under borrowed authority. That means the real control question is not only who approved access, but what the agent was allowed to do, verify, and persist during execution. Governance has to move from static permission lists to runtime boundaries.
Q: How can security teams tell whether agentic software is actually improving quality?
A: Look for evidence in traces and evaluations, not just successful test runs. If the agent can show the reasoning path, the tools it used, the failures it observed, and the measurable delta after a change, the loop is working. If it cannot, the system is still operating on inference rather than proof.
Q: What is the difference between an agent harness and the model behind it?
A: The model generates decisions, but the harness governs how those decisions reach tools and execution environments. That distinction matters because identity, policy, and isolation belong in the harness layer. Without that separation, security teams end up trying to govern runtime behaviour inside the model, which is the wrong layer.
Technical breakdown
Why coding agents need a harness, not just a model
A coding agent is the model plus the harness around it. The harness manages tool access, context persistence, environment isolation, and verification checkpoints, which is what turns a general model into a useful software-change system. Without that wrapper, the agent loses state, over-reasons, or executes blindly. The article’s core technical point is that reliability comes from constraining and instrumenting the workflow, not from asking the model to be smarter. In practice, the harness is where permissions, execution boundaries, and feedback loops are enforced.
Practical implication: govern the harness as the security boundary for agentic development, not the model prompt alone.
Why traces are the source of truth for agentic software
In deterministic software, source code explains behavior. In agentic software, source code only describes the scaffolding. The actual decision path emerges at runtime through tool selection, retries, reasoning steps, and prompt interpretation, which means traces become the authoritative record of what happened. That shifts debugging, monitoring, and validation from static review to runtime evidence analysis. It also creates a governance requirement: if an agent cannot query or emit meaningful traces, it cannot reliably self-correct or prove that a change worked.
Practical implication: make trace capture and trace accessibility mandatory for any coding-agent workflow that can change production code.
How evaluation loops close the self-verification gap
Self-verifying software loops depend on the agent being able to test a change, inspect the resulting traces, and then refine the next action based on measured outcomes. That is materially different from human code review, which happens after the fact and often without runtime evidence. The technical shift is from assumption-based validation to evidence-based iteration. This is also where agentic identity matters: once a coding agent can request tooling, observe telemetry, and act again, it is operating as a delegated machine identity with measurable authority and measurable output.
Practical implication: bind agent permissions to evaluation results so agents can iterate only within the evidence they can verify.
Threat narrative
Attacker objective: The practical risk is not a single breach chain but uncontrolled machine-assisted change that weakens software integrity, confidentiality, and developer trust.
- Entry occurs when a coding agent is granted access to repositories, build tooling, and runtime telemetry so it can modify software autonomously.
- Credential or privilege abuse appears when the agent can invoke tools and environments under delegated permissions without sufficiently constrained verification boundaries.
- Impact is produced when blind automation ships code that looks correct in review but behaves unpredictably, expands review overhead, or leaks secrets through agent-assisted commits.
Breaches seen in the wild
- Sentry MCP Agentjacking 2026: Researchers showed a fake Sentry error, posted with a public DSN, could make AI coding agents run attacker code with developers' credentials.
- PocketOS database deletion incident: An AI coding agent found an over-privileged Railway API token in the codebase and deleted PocketOS production data and backups in nine seconds.
Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Telemetry is becoming a governance control, not just an engineering metric. In agentic development, the system that verifies the change is as important as the change itself. If traces, evaluations, and tool-call history are missing or inaccessible, the organisation has no defensible basis for trusting the agent’s output. The practitioner takeaway is to treat observability as part of access governance for coding agents.
Self-verification changes the identity problem from access review to evidence review. Traditional IAM assumes a human or service account can be reviewed after the fact, but a coding agent may request, use, and discard authority inside a single task loop. That makes runtime evidence more important than periodic certification. The practitioner takeaway is to manage machine authority at issuance and verification time, not only in retrospective access reviews.
Agentic software creates a new kind of accountability gap: the code is no longer the only artefact that matters. Prompts, traces, skill definitions, and harness logic all shape the final outcome, which means software governance has to expand beyond source control. In practice, this is a control-plane problem as much as a development problem. The practitioner takeaway is to govern the full agent execution chain as a recordable system of action.
Trace access is now a prerequisite for trustworthy autonomy. A coding agent that cannot inspect runtime behaviour is forced to guess, and guessing is what turns autonomy into review debt. That is why self-improving software loops depend on machine-readable telemetry, not dashboards built only for humans. The practitioner takeaway is to ensure agents can both produce and consume structured evidence before expanding autonomy.
Agentic identity needs explicit boundaries when code-writing systems can also execute tools. The article shows that coding agents are not just models; they are delegated actors operating with borrowed authority. That makes over-scoped permissions, unclear environment isolation, and weak verification especially dangerous. The practitioner takeaway is to define what the agent may touch, what it may verify, and what evidence must exist before it can proceed.
From our research library:
- Claude Code-assisted commits leaked secrets at a rate of 3.2%, more than double the human-only baseline of 1.5%, with peaks reaching 31 secrets per 1,000 commits in August 2025, according to the State of Secrets Sprawl 2026.
- Read next: AI Coding Agents Security Guide
What this signals
Telemetry is the control surface for agentic software. Once coding agents can change code, the programme has to treat runtime traces as operational evidence, not optional diagnostics. That means the security team, engineering team, and platform team need a shared view of what the agent actually did, not just what it was asked to do.
Agentic identity governance will increasingly look like evidence governance. The important question is no longer only whether an agent had access, but whether the organisation can prove what it accessed, what it verified, and when it should have been stopped. That is where machine-readable observability and delegated authority converge.
Self-verification only scales when the agent can read its own behaviour. If traces are structured enough for an agent to query and act on, code review shifts from inspection of every change to oversight of the system that produced the change. That is a material change in how teams should design controls for coding agents.
For practitioners
- Instrument agent workflows with runtime traces Capture tool calls, retries, prompts, and environment outputs so every material code change has an evidence trail that an agent can query and a human can audit.
- Constrain delegated permissions by task scope Limit repository, filesystem, and build access to the minimum required for the current task, then revoke or narrow those rights when the task boundary ends.
- Require evidence-based verification before merge Block merge completion unless the agent can show trace-backed validation, test outcomes, and a clear link between the requested change and the observed runtime effect.
- Separate human review from agent self-checks Use human approval for exception handling and high-risk changes, but let the agent perform structured self-checks against telemetry before it escalates for review.
- Treat agent harness design as a control boundary Document the harness, the available tools, the permission model, and the evidence the agent must produce so the control surface is explicit rather than implicit.
Key takeaways
- Coding agents are moving software production toward runtime evidence, and that makes telemetry part of the control environment rather than a side-channel for debugging.
- The central failure mode is blind delegation: without structured traces and evaluation loops, agents can generate code faster while increasing review debt and governance uncertainty.
- Security teams should govern the harness, scope delegated permissions, and require evidence-backed verification before autonomous changes are allowed to progress.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Agentic AI Top 10 addresses the attack and risk surface, while NIST AI RMF and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | ASI02 — Tool Misuse | Coding agents rely on tool calls and runtime feedback, which is where misuse and unsafe execution emerge. |
| ASI03 — Identity & Privilege Abuse | The article centers on delegated authority, access scope, and runtime control over agent actions. | |
| ASI08 — Cascading Failures | Self-verification loops can fail downstream when telemetry gaps propagate bad decisions across workflows. | |
| Recommendation — Constrain tool access and validate every agent tool call against explicit task boundaries. Review agent privilege boundaries and bind authority to task-scoped verification checkpoints. Instrument agent pipelines to detect and stop error propagation before changes cascade. | ||
| NIST AI RMF | MANAGE — AI risk management | The article is about operational controls for governing AI-enabled coding workflows. |
| Recommendation — Establish runtime oversight and accountability for AI-assisted code generation and verification. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | Agent access and verification depend on clear entitlements to code, tools, and telemetry. |
| Recommendation — Apply access-entitlement controls to every coding agent and remove excess permissions promptly. | ||
Key terms
- Agent Harness: The agent harness is the runtime layer that wraps a model and turns it into an acting system. It usually includes the loop, tools, context handling, permissions, hooks, and logs. In security terms, it is often the real place where privilege sits and where identity evidence must be governed.
- Runtime telemetry: Observation of what a system actually does while it is executing. In agentic CI/CD, this means seeing which commands, files, tools, and credentials an agent touched so security teams can detect misuse that static workflow review will miss.
- Self-verification: Self-verification is a review pattern where the same system that produces an assessment is also asked to judge the quality or confidence of that assessment. In security work, this weakens independence and can preserve the original mistake rather than challenge it.
- Delegated Machine Access: Access exercised by a non-human actor on behalf of a human or another system. The important issue is not only who requested the access, but how far the delegated actor can chain actions once runtime execution begins.
Deepen your knowledge
NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, agentic AI identity, and machine identity security. It helps practitioners design control boundaries for systems that act with delegated authority.
Published by the NHIMG editorial team on August 20, 2026.
Updated on October 12, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org