A delivery pipeline that embeds AI agents directly into build or deployment workflows. The agent can interpret text, select tools, and act inside the runner, which makes runtime authority part of the security model rather than just the workflow definition.
Expanded Definition
Agentic CI/CD is not just automated delivery with smarter scripts. It is a pipeline design where an AI agent can interpret instructions, choose tools, and execute actions inside build or deployment runners, so the security model must account for runtime authority, not only YAML or policy-as-code definitions. That distinction matters because the agent may decide which commands to run, which secrets to request, and which artifacts to promote. In practice, agentic CI/CD sits at the intersection of OWASP Agentic AI Top 10 concerns and classic CI/CD hardening, with emerging guidance still evolving across vendors and standards bodies. NHI Management Group treats the embedded agent as a privileged non-human actor whose permissions must be bounded explicitly, observed continuously, and revoked just as aggressively as any other high-trust service identity. The most common misapplication is treating the agent as a harmless workflow helper, which occurs when teams grant broad runner access without constraining tool scope or secret exposure.
Examples and Use Cases
Implementing agentic CI/CD rigorously often introduces a control tradeoff: the more autonomy the agent has to accelerate delivery, the more tightly its actions must be constrained, reviewed, and logged to prevent unsafe execution.
- An agent reviews pull requests, runs tests, and opens remediation tickets, but it is blocked from modifying release secrets or production deployment steps unless a human approves the change.
- An agent in a release workflow generates deployment notes and chooses rollback commands during an incident, while the runner is isolated from long-lived credentials and limited to short-lived tokens.
- A platform team uses an agent to triage failed builds, inspect logs, and suggest dependency fixes, aligning with the attack-surface concerns highlighted in AI Agents: The New Attack Surface report and the control patterns discussed in NIST AI Risk Management Framework.
- A security team requires the agent to use only signed build tools and approved APIs, preventing it from reaching ad hoc shell commands or external package mirrors during a deployment.
- During secrets scanning, the agent flags exposed tokens in pipeline logs, a useful pattern given the leakage trends documented in The State of Secrets Sprawl 2025.
Why It Matters in NHI Security
Agentic CI/CD turns the pipeline into an active identity and access problem. If the agent can execute tools, inherit environment variables, or call cloud APIs, then compromised prompts, poisoned dependencies, or unsafe approvals can become direct execution paths. That is why NHI security teams focus on secret hygiene, ephemeral credentials, runner isolation, and granular authorization for each tool the agent can invoke. The risk is not theoretical: in AI Agents: The New Attack Surface report, 80% of organisations said their AI agents had already performed actions beyond intended scope, and only 52% could track and audit what those agents accessed. In the CI/CD context, that means a build assistant can become a release-path adversary if it can see too much, do too much, or persist too long. This aligns with the threat modeling emphasis in MITRE ATLAS adversarial AI threat matrix and the governance approach in CSA MAESTRO agentic AI threat modeling framework. Organisations typically encounter the operational need for agentic CI/CD controls only after a build system is abused to leak secrets or ship unreviewed code, at which point the term becomes operationally unavoidable to address.
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 OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST AI RMF set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | Covers agent-driven application risks, including tool use and unsafe action execution in pipelines. | |
| NIST AI RMF | Defines AI risk governance practices applicable to autonomous agents in delivery workflows. | |
| OWASP Non-Human Identity Top 10 | NHI-02 | Addresses secret exposure and credential handling for non-human identities in automated systems. |
Apply AI risk controls to pipeline agents, including monitoring, accountability, and human oversight.
Related resources from NHI Mgmt Group
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on June 9, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org