Separation of duties for AI agents means no agent can both perform a high-impact action and approve it: a second, independent identity has to sign off first. NIST SP 800-53 Rev. 5 states it as control AC-5 (final), which asks you to “Identify and document [Assignment: organization-defined duties of individuals requiring separation]; and” “Define system access authorizations to support separation of duties.” (NIST SP 800-53 Rev. 5) AC-5 does not mention AI agents. Applying it to them is this article's reasoning, not NIST's.
AI agents can hold privileges and run actions without anyone watching. The risk is not malice; it is autonomy without verification. When the same agent can trigger a merge, a deploy or a payout and also approve it, nothing stands between a bad output and production.
How does NIST AC-5 carry over to AI agents?
In the same document, AC-5’s discussion says “Separation of duties addresses the potential for abuse of authorized privileges and helps to reduce the risk of malevolent activity without collusion,” and AC-6 (least privilege, final) covers “users (or processes acting on behalf of users)” (NIST SP 800-53 Rev. 5). That AC-6 phrase is the bridge to agents. An agent that writes code, opens a pull request and merges it is a process acting on behalf of a user. If that one process can both request and authorize a consequential action, the separation AC-5 asks for is missing, whatever its intent.
The NIST glossary, drawing on NIST SP 800-192, says separation of duty “refers to the principle that no user should be given enough privileges to misuse the system on their own.” The same test fits an agent holding a signing key or a deploy token. The question is not whether the agent is “evil.” It is whether the system lets it be its own auditor.
What is the difference between static and dynamic separation?
The NIST glossary says separation of duties “can be enforced either statically (by defining conflicting roles, i.e., roles which cannot be executed by the same user) or dynamically (by enforcing the control at access time). An example of dynamic separation of duty is the two-person rule.” For agents, static separation is a role rule: the identity that can push to the main branch is not the identity that can approve. It is worth having, but it assumes one agent maps to one identity. An agent, or the process coordinating it, can hold several keys, and a role table will not show you that they share one controller.
Dynamic separation checks at the moment of action. Applied to agents, the two-person rule means a merge or deploy runs only when a second identity, with its own key, has signed the exact version being shipped. It still depends on the two signers being truly independent, so decide what counts as independent: a different identity, a different model, a different vendor, or a human.
What actions require independent sign-off?
Start with the actions that change state and are hard to undo: merges, deploys, payouts, deletions, configuration changes and permission grants. Those are the ones worth a second signer.
The check for this week: list every consequential action each agent can trigger, and for each one write down where the allow/deny decision lives. If the answer is the agent’s prompt, such as an instruction to “merge if tests pass,” the agent is approving itself. The decision belongs in the downstream system that runs the action: the branch protection rule, the deploy pipeline, the payments API.
Then check who can change each gate. A gate the agent can reach or reconfigure is not separation: an agent with admin rights on the repo, write access to the pipeline config, or the token that edits the rule can open its own door. Tighten one action at a time and watch the first runs, because a new gate that refuses everything will stall merges and deploys until you fix its rules.
On GitHub, branch protection gives you one concrete setting: “Optionally, you can require that the most recent reviewable push must be approved by someone other than the person who pushed it.” (About protected branches - GitHub Docs) Turn it on for the repositories your agents push to.
What does OWASP say about this?
OWASP LLM06:2025 Excessive Agency (final) lists, as one example of excessive autonomy, “An LLM-based application or extension fails to independently verify and approve high-impact actions,” and gives the mitigation “Implement authorization in downstream systems rather than relying on an LLM to decide if an action is allowed or not.” That lines up with AC-5: the authority to approve sits outside the agent. The agent can propose and test; the system that runs the action decides.
How do you enforce it?
One way to build the dynamic version is a signing gate. On the Seconded page, the policy step reads: “You decide who must sign and how independent they must be: a different identity, model, vendor, or a human.” The gate step reads: “Every signature, digest and rule gets checked. One failure and the action is refused.” Each step “signs one exact version of the work, by its digest, with evidence attached,” and every decision lands in an append-only ledger that an open verifier lets anyone re-check.
Whatever you build or buy, the test is the two-person rule applied to agents: a second, independent signer for every high-impact action, checked by a system the first agent cannot reach. Seconded is in development: gates are being built now, and everything after that is roadmap. If you want to follow it, request early access.
Frequently asked questions
What is an example of separation of duties?
The NIST glossary gives one: “the person authorizing a paycheck should not also be the one who can prepare them.” For AI agents, the same idea means the agent that writes a change is not the one that approves it.
Does NIST explicitly require separation of duties for AI agents?
No. AC-5 does not mention AI agents. The least-privilege control AC-6 covers “users (or processes acting on behalf of users)” (NIST SP 800-53 Rev. 5), and applying separation of duties to agents through that phrase is a reasonable reading, not an explicit NIST requirement.
What’s wrong with letting an agent approve its own changes if it passes tests?
Tests check whether the code works; approval decides whether it may ship. An agent that writes a change and decides it can merge has no second check. OWASP LLM06:2025 lists, as an example of excessive autonomy, an application that fails “to independently verify and approve high-impact actions,” and advises: “Implement authorization in downstream systems rather than relying on an LLM to decide if an action is allowed or not.”