By NHI Mgmt Group Editorial TeamBased on depthfirst: “Agent Capability Is a System Design Problem: Lessons From a 90% Improvement on CyberGym” (November 24, 2025)

TL;DR: CyberGym performance is constrained less by raw model capability than by the surrounding agent system, with a purpose-built environment lifting success from roughly 28% to 53% and earlier comparisons topping out near 20%, according to depthfirst. The practical lesson is that agentic AI risk is a system design problem: tooling, runtime feedback, and task structure shape outcomes as much as the model itself.


At a glance

What this is: depthfirst argues that CyberGym performance is driven more by agent system design than by prompt quality, with environment, tooling, and feedback lifting success to 53%.

Why it matters: For IAM and AI security teams, the lesson is that agent behaviour must be governed as a system property, because controls on runtime context and action boundaries shape outcomes as much as the model itself.


Context

Agentic AI performance is not determined by the model alone. In CyberGym, the benchmark outcome changed materially when the environment, feedback path, and execution structure were redesigned around the task rather than around a generic prompt.

That matters for identity and access governance because agent capability grows or shrinks based on the permissions, tool access, and runtime context it receives. When a software agent can instrument code, recompile, and iterate, the real control question becomes what that agent is allowed to do, observe, and retain across steps.


Key questions

Q: What breaks when an agent has no runtime feedback during task execution?

A: Without runtime feedback, the agent can only guess why an attempt failed, so it may stop exploring after a false negative or keep repeating the same mistake. For technical work, that means the system must expose enough intermediate state to support hypothesis testing, otherwise the model optimises for plausibility rather than correctness.

Q: Why do agent scaffolding and tooling matter more than prompt quality alone?

A: Prompts describe intent, but scaffolding determines whether the agent can act on that intent in a useful way. If the environment blocks observation, decomposition, or iterative testing, even a strong model will underperform. The practical question is not whether the agent can answer, but whether it can verify and refine its own work.

Q: How should security teams govern agent workflows at runtime?

A: Security teams should govern agent workflows with controls that evaluate prompts, tool calls, and outputs during execution, not only after deployment. Runtime checks matter because risk can appear at each stage of the workflow. The goal is to stop unsafe behavior before it becomes an executed action or a leaked response.

Q: When does a stronger base model not solve an agent reliability problem?

A: A better model does not fix a broken execution environment, a misleading task frame, or a missing feedback loop. If the agent cannot inspect its own outcomes or the system hides the true harness behaviour, capability remains constrained. Teams should assess orchestration quality alongside model quality before drawing conclusions.


Technical breakdown

Why prompt quality is not the main bottleneck in agent performance

CyberGym tests whether an agent can turn a vulnerability description into a proof of concept that triggers the bug. The article shows that a competent model can still underperform when the task framing is poor, the environment is opaque, or the agent cannot inspect the effect of its own actions. In practice, that means the surrounding system determines whether the model can test hypotheses, recover from failure, and converge on a working output. The model is necessary, but the agent scaffold decides whether that capability is expressed.

Practical implication: Treat agent architecture as part of the control surface, not as a thin wrapper around the model.

How runtime feedback changes agent behaviour

The article’s strongest technical point is that static analysis alone was insufficient. When the agent could instrument the target, recompile it, and observe runtime behaviour, it could refine assumptions instead of guessing from a binary pass or fail result. That is a classic feedback loop problem: without observable intermediate state, the agent cannot diagnose why an attempt failed. With targeted debug output, the agent gets a local truth source that narrows uncertainty and improves iteration quality.

Practical implication: Provide controlled runtime observability when you expect agents to complete multi-step technical work.

Why modular subagents improve complex task execution

The article describes splitting the work into specialised modules, including an instrumentation agent and smaller subagents for narrowly scoped exploration. That reduces context pollution in the main task loop and keeps long-horizon planning separate from low-level investigation. In agent terms, this is task decomposition with bounded responsibility. It improves throughput not by making the model smarter, but by reducing cognitive and operational overload inside the system design.

Practical implication: Use bounded, role-specific subagents when the primary agent must manage both planning and execution.


NHI Mgmt Group analysis

Agent capability is a system design problem, not a prompt-engineering problem: the article shows that a better execution environment can move performance much more than a better instruction string. That matters because agent governance cannot stop at model selection or policy text. Practitioners need to govern the full runtime context, including tools, feedback, and action boundaries.

Runtime observability is the decisive control point for agent reliability: the article’s improvement came from letting the agent see how its actions changed the program. Without that feedback, the system could not distinguish a bad hypothesis from a bad harness. For NHIMG, the governance lesson is that visibility into agent action effects is a control requirement, not a luxury.

Agent scaffolding debt: this article exposes the hidden risk created when organisations deploy agents without enough surrounding structure to make them behave predictably. The more capable the model becomes, the more damaging weak scaffolding becomes because it masks failure until the agent is already acting. Security teams should treat agent scaffolding as governed infrastructure, not experimental glue.

Specialised subagents can reduce risk by narrowing responsibility: the article shows that decomposing work into instrumentation and PoC tasks improved outcomes by keeping the main context cleaner. That has direct relevance for agentic AI identity governance, because each subagent is effectively a bounded runtime actor with its own tool scope and failure mode. Practitioners should design for scoped delegation, not monolithic autonomy.

Base-model gains and system-design gains are additive, which complicates assurance: the article’s comparison with newer model capability shows that stronger models do not remove the need for controlled environments. For security programmes, that means capability assessments must cover both model behaviour and orchestration design. The practitioner conclusion is simple: evaluate the whole agent stack, not just the model layer.

What this signals

Agent scaffolding debt: organisations that rush to deploy autonomous or semi-autonomous systems often accumulate invisible governance debt in the layer around the model. The issue is not just whether the agent can complete a task, but whether its tool scope, feedback loop, and task decomposition are controlled tightly enough to make its behaviour predictable.

For identity teams, the operational question is whether the agent is being treated as a governed runtime subject or as an informal automation layer. Once agents can edit code, call tools, and spawn helper processes, access scope and execution boundaries become the practical control plane that determines real-world risk.


For practitioners

  • Define the agent's runtime world explicitly State the execution environment, harness behaviour, and success criteria in the task definition so the agent does not infer the wrong failure model from a false negative.
  • Separate planning from instrumentation Use a dedicated instrumentation step or subagent for runtime tracing, so the main agent can focus on hypothesis generation rather than context-heavy debugging.
  • Constrain tool and file-system scope Limit what the agent can edit, execute, and observe to the minimum required for the task, especially when the workflow includes recompilation or repeated testing.
  • Review agent success as a system metric Measure whether performance changes when you alter feedback, decomposition, or tool access, because those variables can matter more than the prompt itself.

Key takeaways

  • CyberGym shows that agent capability is shaped by the surrounding system, not just by model quality or prompting skill.
  • Runtime feedback, task decomposition, and execution context materially changed success rates in the article’s evaluation.
  • For practitioners, the control problem is agent governance across tools, observation, and scope, not prompt tuning alone.

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 and MITRE ATLAS address the attack and risk surface, while NIST AI RMF and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10ASI03 — Identity & Privilege AbuseThe article centres on how agent identity and delegated capability change with system design.
ASI02 — Tool MisuseThe performance gains came from controlling how the agent uses tools during iterative execution.
Recommendation — Map agent workflows to ASI03 and restrict delegated privileges to the minimum runtime scope. Apply ASI02 controls to govern which tools an agent can invoke and under what conditions.
NIST AI RMFMANAGE — AI Risk Management and ResponseThe article is about operationalising agent behaviour through environment and feedback control.
Recommendation — Use MANAGE to set runtime guardrails, escalation paths, and monitoring for agent execution.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsAgent outcomes depend on the permissions and execution scope granted to the runtime actor.
Recommendation — Apply PR.AA-05 to bound agent permissions, tool access, and execution authority.
MITRE ATLASTA0002;TA0006 — Execution; Credential AccessThe article examines how runtime behaviour and tool use enable or constrain adversarial-like outcomes.
Recommendation — Model agent testing environments against TA0002 and TA0006 to spot unsafe execution paths.

Key terms

  • Agent Scaffolding: The tools, runtime context, feedback paths, and orchestration logic that surround an AI model and determine how it behaves in practice. In agent systems, scaffolding often matters as much as model quality because it controls what the system can see, do, and recover from during execution.
  • Runtime Feedback Loop: The cycle in which an agent observes the effect of its action, adjusts its hypothesis, and tries again. In technical workflows, a strong feedback loop turns trial and error into disciplined iteration and is often the difference between plausible output and correct output.
  • Task Decomposition Abuse: A misuse pattern where harmful activity is split into small, seemingly legitimate actions so each step appears safe in isolation. For AI agents, this turns ordinary tool use into a multi-turn attack chain that can evade simple guardrails and human review.
  • Agentic Context: The environmental, organisational, and operational information an AI agent uses to decide what it is looking at and what action is appropriate. When context is incomplete or wrong, the agent can behave rationally inside the wrong frame, which turns ordinary access into unsafe execution.

Deepen your knowledge

The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, workload identity, and secrets management in the contexts that security teams actually operate. It helps practitioners translate identity control into repeatable governance for modern automated systems.
NHIMG Editorial Note
Published by the NHIMG editorial team on August 21, 2026.
Updated on October 12, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org