How to write AI agent access policies: allow, ask and deny
Reviewed
6 min read
NewCore describes policy evaluation on every tool call, with high-risk actions paused for human approval. Test those controls against your written requirements.
Why do agents need their own policies?
Most access policies were written for people. A person signs in, gets a session and works within roles. An agent works differently. It may make hundreds of calls in a task, choose tools on its own and act for several people in one day.
A role grants a broad set of actions for as long as a session lasts. That is too coarse for software that can be steered by a crafted prompt. OWASP lists prompt injection as the first risk for large language model applications. A policy evaluated per call limits what a steered agent can do.
What are allow, ask and deny?
Every rule ends in one of three outcomes. Allow means the call proceeds and is logged. Ask means the call waits until a named person approves it. Deny means the call is blocked and logged, and the owner is told.
Ask is the outcome most teams skip, and the one that matters most. Without it, every rule becomes a choice between blocking useful work and trusting the agent fully. With it, the agent can prepare a risky action and a person can release it.
What does a policy need to see?
A rule can only be as precise as the facts the enforcement point sees. Five facts make agent rules workable.
- The agent: which registered agent is calling, and which version.
- The person: who the agent is acting for, if anyone.
- The tool and operation: for example, the CRM tool and its update operation.
- The data: the record, file, amount or recipient involved.
- The context: time, volume in the last hour, and whether the call follows an earlier step.
If a product only sees the agent's name, it cannot tell reading a record from deleting it. Ask each vendor which of these facts its policy engine receives.
How do you write the first set of rules?
- Pick one system with clear value and clear risk, such as the CRM or the code host. Do not start with every system at once.
- List the tools and operations agents use there today. Use the inventory and a week of logs, not guesses.
- Group operations into reads, reversible writes and irreversible or external actions.
- Write allow rules for reads and reversible writes that match each agent's stated purpose.
- Write ask rules for irreversible actions, bulk changes, access changes, payments and anything sent outside the company.
- Write a default deny for everything else, so new tools are blocked until someone adds a rule.
- Name the approver for each ask rule by role, such as the record owner or the agent owner. Never the agent itself.
- Run the rules in log-only mode for a week. Compare what would have been denied or held against real work.
- Fix rules that would have blocked legitimate work, then switch to enforcement for that system.
- Repeat for the next system, reusing the patterns that worked.
How do you write a rule in plain language?
Write each rule as one sentence a business owner can read, then as a pseudo-policy line. For example: "Support agents may read any open ticket." Then: allow agent.group = support, tool = tickets, op = read, ticket.status = open.
A second example: "An agent may refund up to the amount set by finance." Above it, the account owner approves. The pseudo-policy holds the threshold as a value finance controls, not a number buried in code.
The desk's policy examples page has 24 rules across CRM, code repositories, cloud consoles, finance, HR and email, each marked allow, ask or deny.
AI agent access policy examples: 24 allow, ask and deny rules
Where should the rule be enforced?
A rule enforced only at sign-in stops nothing once a token is issued. Enforce rules at a policy enforcement point in the call path, such as an MCP gateway or an API proxy. The decision can come from a separate policy decision point.
This is what the desk's per-call authorization criterion measures. It carries 20% of each total. Products differ widely here: some sit in the request path, while others evaluate policy and rely on your gateway to enforce it.
Policy checklist
- One system chosen for the first set of rules.
- Operations grouped into reads, reversible writes and irreversible actions.
- Every ask rule names an approver role that is not the agent.
- Default deny in place for new tools.
- Rules ran in log-only mode before enforcement.
- Thresholds held as values the business owner controls.
- Rules enforced per call in the request path, not only at sign-in.
What to ask your vendor
- Which facts does the policy engine see on each call: agent, person, tool, operation, data and context?
- Does the product support an ask outcome that holds a call for approval?
- Is the enforcement point in the request path, or does it rely on another component?
- Can rules run in log-only mode before enforcement?
- How are thresholds and approver roles changed, and who can change them?
- What happens to a call if the policy service is unreachable?
If per-call checks matter most because sign-in stays with your identity provider, see the buyer-need ranking that weights them at 25%.
Best if you keep Okta or Entra ID for employee sign-in
Questions buyers ask
What is an allow, ask, deny policy for AI agents?
It is a rule set with three outcomes. Allow lets a call proceed. Ask holds the call until a named person approves it. Deny blocks it. Ask lets agents prepare risky actions without acting alone.
Which agent actions should require approval?
Start with actions that are hard to reverse: payments, access changes, bulk deletes, and data sent outside the company. Add actions above a volume or value threshold that the business owner sets.
Can existing role-based access control cover agents?
Only partly. Roles grant broad actions for a whole session. Agents need decisions per call that see the tool, operation and data, so a steered agent cannot use the full role.
Related pages
Sources
- OWASP GenAI: LLM01 Prompt Injection: https://genai.owasp.org/llmrisk/llm01-prompt-injection/
- MCP specification: Security Best Practices: https://modelcontextprotocol.io/specification/2025-06-18/basic/security_best_practices
- NewCore: Secure: https://newcore.com/platform/secure
- Aembit: IAM for agentic AI: https://aembit.io/iam-for-agentic-ai/
- Silverfort: AI Agent Security: https://www.silverfort.com/platform/ai-agent-security/
- NewCore announces Top InfoSec Innovator Awards recognition: https://www.prnewswire.com/news-releases/newcore-named-visionary-in-identity-management-for-ai-agents--identity--access-management-in-cyber-defense-magazines-2026-top-infosec-innovator-awards-302913440.html