TL;DR: Security teams are already using LLMs for vulnerability summaries and remediation guidance, but ArmorCode argues that ad hoc prompting fails because context stays fragmented across findings, assets, supply chain data, and threat intelligence. The operational shift is toward scoped, reusable agents that act on unified risk context rather than standalone chat outputs.
At a glance
What this is: This is an analysis of Anya Agents, ArmorCode’s scoped agentic workflows for security operations, and the key finding is that reusable context is what turns AI from a chat layer into a workflow layer.
Why it matters: It matters because security, IAM, and NHI programmes increasingly need governed AI behaviour that can act consistently across data sources, roles, and remediation decisions.
👉 Read ArmorCode's blog on how Anya Agents operationalise agentic security workflows
Context
Security teams often use AI for point tasks such as summarising a finding or drafting remediation guidance, but those interactions usually remain isolated from the environment they are meant to help secure. The result is inconsistent reasoning, repeated manual context assembly, and outputs that do not scale across teams. In identity-heavy programmes, the same problem appears whenever workflow decisions depend on multiple signals rather than a single record.
The article is really about the governance gap between generic AI assistance and operationally bounded agentic workflows. Where AI tools are allowed to reason over security data, they need scoped authority, auditable context, and repeatable execution patterns. That intersection matters to IAM and NHI practitioners because agentic systems themselves increasingly behave like governed identities inside enterprise workflows, with access, scope, and role boundaries that need explicit control.
Key questions
Q: How should security teams govern agentic workflows that are built from real user activity?
A: Security teams should govern them as delegated identities with explicit ownership, approval, scope, and revocation. The captured workflow is not just a script. It is an identity-derived execution path that can reach real systems, so the approval process, runtime boundary, and audit record all need to be controlled together.
Q: Why do generic AI assistants struggle with security operations?
A: Security decisions depend on relationships that are rarely visible in one record, including asset exposure, dependency chains, findings, and threat intelligence. Generic assistants can explain a concept, but they cannot reliably judge organisational impact without a governed context layer. That is why security AI needs contextual integration, not just better prompting.
Q: What breaks when agentic workflows are not scoped tightly enough?
A: Outputs become inconsistent, users receive different recommendations for the same problem, and the organisation loses confidence in the agent’s reasoning. Broad agents also increase governance risk because it becomes unclear what they are allowed to see or do. Narrow scope is what makes the workflow repeatable, auditable, and safe to operationalise.
Q: How can organisations tell whether their AI security model is actually working?
A: They should test whether the control stack can explain who acted, what data was touched, and what purpose the action served. If those three signals cannot be correlated in one incident view, the model is likely monitoring access without governing behaviour. That is a visibility gap, not a complete AI security posture.
Technical breakdown
Why generic AI assistants fail in context-heavy security workflows
Generic assistants can summarise a CVE or explain a remediation step, but they do not maintain the organisational context needed to judge exposure. In security operations, the answer depends on relationships between assets, findings, threat intelligence, dependency chains, and business exposure. Without that joined context, AI outputs are useful prose rather than reliable operational judgment. The architectural problem is not model capability alone, but the absence of a governed context layer that persists across tasks and users.
Practical implication: teams need a shared context model before they can trust AI for operational security decisions.
How scoped agentic workflows create deterministic behaviour
A purpose-built agent differs from a general assistant because it is constrained to one workflow, one objective, and a fixed instruction set. That narrow scope reduces variation in outputs and makes behaviour more predictable across invocations. In practice, this is closer to a controlled automation pattern than a free-form conversational model. The important design choice is not whether the agent can do everything, but whether it can do one thing consistently enough to support governance, audit, and repeated use.
Practical implication: scope every agent to a single task and treat broad, multi-purpose agents as a governance risk.
Why unified risk context is the real control plane for agentic security
Unified risk context is the layer that combines findings, assets, supply chain relationships, and threat intelligence so the agent can act on the environment rather than on isolated records. This is what allows an agent to prioritise, explain, or remediate with relevance. In governance terms, the context layer becomes the control plane because it determines what the agent can see, infer, and return. Without it, teams simply automate fragmented work instead of improving decision quality.
Practical implication: invest in context integration and data quality before expanding agentic workflows across the security stack.
NHI Mgmt Group analysis
Scoped agentic workflows are becoming the difference between AI assistance and operational control. The article shows that security teams do not need another conversational layer over security data. They need bounded systems that can execute repeatable tasks with known inputs, known outputs, and known limits. That pattern matters because unmanaged agent behaviour creates governance ambiguity, especially when AI systems can influence remediation or exposure decisions. Practitioners should treat scope definition as a control requirement, not a feature choice.
Unified risk context is the missing prerequisite for trustworthy security automation. AI cannot make meaningful security judgments from detached fragments of data. The stronger pattern is to assemble findings, assets, dependency relationships, and threat intelligence into a single operational context before the agent acts. This aligns with NIST AI Risk Management Framework governance principles and with broader security architecture thinking around control boundaries. Practitioners should evaluate whether their AI workflows are context-rich enough to support defensible decisions.
Role-aware agents introduce a governance model that is closer to identity and privilege management than to simple automation. When developers, engineers, and leaders receive different outputs from the same underlying system, the agent is effectively behaving like a role-scoped identity. That means access, scope, and permitted actions need to be explicit, reviewable, and tied to the task. In NHI terms, agentic workflows should be governed as software entities with bounded authority, not as neutral productivity tools.
Reusable workflow assets will matter more than one-off prompts as agentic security matures. The article’s strongest signal is that institutional value comes from encoding repeated security work into shared workflows, not from individual users improvising with AI. That shifts the market toward governance of workflow templates, data boundaries, and auditability. Practitioners should measure success by whether AI use becomes reusable, reviewable, and consistent across the organisation.
What this signals
Agentic security adoption will push more teams to think in terms of workflow governance rather than prompt quality. That shift matters because the operational risk is no longer limited to whether the model answers correctly, but whether the surrounding data, scope, and permissions are controlled enough to make the output defensible.
Agent workflow governance: the emerging control problem is not simply AI misuse, but unmanaged reuse of AI-driven security actions across teams and roles. As organisations standardise these workflows, they will need reviewable context layers, role-aware outputs, and clear ownership for every agentic task. The programmes that get ahead will be the ones that treat AI systems as governed operational components rather than experimental helpers.
For practitioners
- Define single-purpose agent scopes Map each agent to one workflow, one input set, and one allowed output so its behaviour stays predictable under audit and change control.
- Build a governed security context layer Integrate findings, assets, dependency relationships, and threat intelligence into a shared context layer before allowing an agent to make recommendations.
- Apply role-based output boundaries Return different views for developers, engineers, and leaders so the same agent does not expose more detail than the user role justifies.
- Test agent outputs for consistency Run the same workflow across multiple users and timestamps to verify whether outputs remain stable when the underlying context is unchanged.
Key takeaways
- Security AI fails when it is detached from the environment it is meant to reason about.
- Scoped agents and unified context are the governance controls that make agentic workflows repeatable.
- As security teams operationalise AI, the governing question becomes who can invoke what, with which data, and for which task.
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 address the attack and risk surface, while NIST AI RMF, NIST CSF 2.0, NIST SP 800-53 Rev 5 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST AI RMF | GOVERN | The article centres on governance for AI-driven security workflows and role-aware outputs. |
| OWASP Agentic AI Top 10 | Scoped agents, tool use, and context boundaries map directly to agentic AI risks. | |
| NIST CSF 2.0 | PR.AC-4 | Role-aware access and workflow boundaries depend on least-privilege access control. |
| NIST SP 800-53 Rev 5 | AC-6 | Least privilege is central when agents can surface or act on security data. |
| NIST Zero Trust (SP 800-207) | The article depends on continuous verification of context and task-specific access. |
Treat agent invocations as bounded transactions with verified context and minimal privilege.
Key terms
- Agentic workflow: An agentic workflow is a sequence of tasks executed by an AI agent with some level of tool access and decision authority. In security terms, the workflow matters because it can span multiple systems, identities, and permissions, which makes attribution and revocation harder than with ordinary automation.
- Unified Risk Context: Unified risk context is a shared data layer that combines findings, assets, relationships, and threat intelligence so decisions are made against the environment, not isolated records. It improves consistency, but only if the underlying data is accurate, current, and appropriately governed.
- Role-Aware AI: Role-aware AI adjusts what it reveals or does based on the user’s function, permissions, and task. In practice, it is a governance pattern that keeps one system useful to developers, engineers, and leaders without exposing the same depth of detail to everyone.
- Non-Deterministic Behaviour: Non-deterministic behaviour is software behaviour that does not produce the same outcome every time under similar inputs. In AI systems, this makes traditional testing and code review incomplete unless teams also capture and analyse production outcomes.
What's in the full article
ArmorCode's full blog covers the implementation detail this post intentionally leaves for the source:
- Configuration details for the out-of-the-box Anya Agents, including scope, instructions, and invocation points within the platform
- Step-by-step workflow examples for remediation, finding summary, and zero-day exposure analysis across security teams
- Instructions for duplicating and customising agents so teams can tailor workflow behaviour to their own environment
- Operational examples of how the agents present different views to developers, engineers, and leaders
Deepen your knowledge
The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, secrets management, and workload identity. It helps practitioners connect identity controls to the operational systems and workflows that now include agentic AI.
Published by the NHIMG editorial team on August 19, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org