Five Guardrails for Agentic Compliance
The five most important guardrails for agentic compliance are to keep detail proportionate, base the program on your actual stack and operations, collect just enough relevant audit evidence, keep policies, controls, risks and vendors connected, and retain an accountable human owner. They help a capable AI model build a program your company can actually operate, rather than a comprehensive system nobody can keep up with.
Today's frontier AI models already know a great deal about compliance. They can explain frameworks, identify common risks, draft controls and policies, and work through how a compliance program might fit a technology stack. The missing ingredient is usually not another explanation of SOC 2. It is direction about your company, your goals and how far the agent should go.
That knowledge is useful, but it is not infallible. Models can misunderstand requirements, use outdated guidance or invent details. Important requirements and company facts still need to be checked. Guardrails align that broad capability with the program you actually need.
These five guardrails draw on what we see with clients building and operating compliance programs with AI, as well as our five-part live agentic SOC 2 experiment. They are a practical starting point, not an exhaustive set of instructions for every company.
What are the five most important guardrails for agentic compliance?
Start with proportionality, company-specific context, focused evidence, a connected program and human accountability. Together, they tell the agent what to build, what to leave out, how to demonstrate it and who owns the result.
- Do not overwork the detail. Cover the material risks and requirements without creating unnecessary complexity.
- Base everything on your stack and operations. Use verified company context, not generic assumptions.
- Apply a just-enough principle to audit evidence. Provide what demonstrates the control, and preserve the underlying records.
- Keep the program connected. Align policies, controls, risks, vendors and evidence with each other and with practice.
- Keep an accountable human across it. The owner must understand, challenge and direct the agent's work.
Why does a capable AI model need compliance guardrails?
Because a request to build a compliance program does not tell AI what is proportionate for your business. Without that direction, a model often tries to cover every base: every plausible risk, every best-practice policy and every possible control. Comprehensive output can look impressive while being impractical to operate.
It is similar to asking AI to generate a legal document. The model may add provisions for situations you will never encounter because it is trying to be thorough. In compliance, those additions can become policies your team has to follow, reviews someone has to complete and commitments your auditor will test.
Guardrails turn an off-the-shelf model into an agent aligned with your context and goals. They do not lower the applicable requirements. They help meet those requirements in a way that fits the company. For the underlying failure patterns, read the three biggest challenges of agentic compliance.
What is critical for agentic compliance to work well?
Define the guardrails upfront, map the company context and give the program an accountable human owner before asking AI to build or operate it. The agent needs to understand what you are trying to achieve, where you are in your compliance journey and the boundaries it must work within.
A capable model can produce a convincing program without these inputs. The problem is that it may optimise for comprehensive coverage rather than for your actual risks, commitments and ability to operate the result. Setting direction first helps prevent unnecessary policies, invented processes and excessive evidence from becoming the foundations of the program.
Upfront does not mean every detail must be settled before you start. Confirm the important facts and limits, identify what is still unknown, and tell the agent when to ask. Refine the context and guardrails as you learn, rather than letting unconfirmed assumptions silently become decisions.
What should you prompt AI with to build a high-quality compliance system?
Give AI your objective, current compliance stage, verified company context and explicit guardrails. Define what you want it to produce, what it may do without approval, what evidence it should use and when it must escalate to a human. A prompt that only says "build me a SOC 2 program" leaves the most important design choices unstated.
- State the goal. Explain the frameworks and criteria you need, the customer requirements driving them, the intended report type and the timeline you are working towards.
- Describe your starting point. Say whether you are building from scratch, improving an existing program, preparing for a first audit or maintaining an audited program. Share existing controls, prior findings and known gaps.
- Map the company context. Explain the service, technology stack, data, team, operating practices, customer commitments and shared responsibilities. Provide verified source records where available.
- Set the guardrails before the build. Require proportionate detail, real company facts, focused evidence, connected policies and registers, and meaningful human ownership.
- Define the operating boundaries. Identify the program home, permitted tool access, actions requiring approval, escalation conditions and the person who owns the decisions.
- Agree the first deliverable. Ask for a proposed scope, the important unanswered questions and a prioritised plan before generating or changing the whole program.
A starting prompt to adapt to your company
Use our confirmed company context, current compliance stage and agreed goals to propose a proportionate compliance program. First identify the scope, material risks, existing controls and important missing information. Keep policies, controls, risks, vendors and evidence connected. Do not invent facts or add commitments without approval. Collect evidence that demonstrates each control, preserve the underlying records and flag gaps honestly. Explain the plan in plain language and ask the accountable owner before taking actions outside your authority.
Attach or point the agent to your actual context rather than expecting the prompt to supply it. Compliance Brain provides a free, open-source starting structure for that context and the guardrails, so you do not have to discover every important input yourself. Neither the prompt nor the tool guarantees compliance; management still owns the program and the auditor evaluates it independently.
What company context should you map at each stage of the compliance journey?
Map where you are now, what you need to achieve next and what already exists. The same company context can support different work at different stages, so tell the agent whether its priority is building, closing gaps, preparing evidence or keeping an established program operating.
- Starting from scratch: capture the service, stack, data, people, customer commitments and compliance goals. Focus the first build on the material risks and a program the team can realistically operate.
- Improving an existing program: provide the current policies, controls, registers and known gaps. Ask the agent to assess and reuse what works before proposing replacements or new processes.
- Preparing for an audit: share the agreed scope, report type, date or observation period, auditor requests and readiness findings. Prioritise gaps and relevant evidence, without manufacturing missing historical records.
- Maintaining after an audit: share prior findings, recurring control responsibilities and changes to tools, vendors, people or commitments. Focus on continued operation and keeping the connected records current.
The goals matter just as much as the stage. A first enterprise customer's request, a renewal deadline and an additional framework can require different priorities. Record those goals alongside the guardrails in your Compliance Brain, and revisit them when circumstances change. For the broader inputs, see compliance metadata and its impact on the program.
1. How do you stop AI from overworking the compliance detail?
Tell the agent to cover the main risks and requirements at a level your team can maintain, and to add detail only when it changes a decision, addresses a material risk or meets a real obligation.
For a startup building its first program, policies, the vendor register and the risk register should usually start with clear, high-level coverage of the main bases. A risk register should help the team see its important risks, who owns them and how they are addressed. It should not bury those risks in dozens of variations that nobody can meaningfully assess.
Too much detail makes the build overwhelming and the finished program harder to operate. It can also pull attention away from the risks that matter most. More documentation is not automatically more control.
A practical instruction for your agent
Keep policies and registers proportionate to our stage, risks and commitments. Reuse existing workflows. Before adding detail or a new recurring task, explain what risk or requirement it addresses and why the current approach is insufficient.
The stopping point is not a fixed page count. A small company handling highly sensitive data may need deeper controls than a larger company with a simpler service. In Part 4 of our live experiment, the program review shows why a startup risk register can be lighter and why treatment plans must be realistic.
2. How do you make AI compliance fit your actual stack and operations?
Require the agent to base its work on verified systems, responsibilities and operating practices. If it does not know something that matters, it should ask or mark it as unconfirmed rather than fill the gap with a generic assumption.
Take a fully remote company hosted on Amazon Web Services. Its program should not describe an office visitor desk or company-operated data-centre security if neither exists. It should recognise AWS's physical infrastructure responsibilities and focus the company's controls on the services and configurations it actually manages.
Shared responsibility still matters. Depending on the AWS services in use, the company may own identity and access, network configuration, application security, logging, backups and operating-system patching. Remote work also brings device and information-protection risks. Cloud hosting removes some responsibilities; it does not remove the need to identify the remaining ones.
A practical instruction for your agent
Use our actual technology stack, workforce model and operating processes. Distinguish our responsibilities from those of providers and customers. Do not invent facilities, tools, owners or practices. Ask where missing context changes a control.
Capture these facts in structured context before building. Our guide to compliance metadata: the context and guardrails agentic compliance needs explains which inputs shape scope, risks, controls, evidence and commitments.
3. What does just enough audit evidence mean for an AI agent?
It means collecting the relevant, reliable evidence that demonstrates the specific control, with its source, scope and timing clear, rather than exporting everything by default. It does not mean hiding exceptions or restricting the auditor's testing.
For example, if the control is that Google Workspace requires MFA for people signing in, the enforcement configuration may be the most direct starting evidence. An AI agent might instead produce a full user export and flag accounts without MFA enrolment. Some may belong to people who have not yet signed in, creating apparent failures that need explanation rather than showing whether the enforcement control works.
The right response is to check the configuration's coverage, any exclusions or enrolment grace periods, and whether those accounts can actually access the service. A user export may be necessary for that question or for a separate access control. The guardrail is to understand what the evidence proves, not to assume either that every unenrolled account is a failure or that an enforcement screenshot resolves every MFA risk.
A practical instruction for your agent
For each control, identify the evidence that demonstrates it and collect that first. Preserve source records, dates and scope. Flag genuine gaps and conflicting information. Do not alter, backdate or manufacture evidence, and provide additional records when the auditor needs them.
For SOC 2 Type 2, evidence must support operation throughout the observation period. A current configuration screenshot alone does not establish that the setting operated for the whole period. Agree the evidence approach with your auditor, who remains responsible for deciding whether the evidence is sufficient and where deeper testing is needed.
4. How do you keep AI-generated policies, controls and registers connected?
Treat compliance as one connected program, not a collection of separately optimised documents. Policies, controls, the risk register, the vendor register and evidence should describe the same company and reinforce the same operating practices.
A beautifully written policy can still create problems if the company only implements part of it. Imagine a team carrying out 80% of the commitments in an exceptional-looking policy. The remaining promises create a gap between what the company says it does and what actually happens. That is extra work for the team and a potential issue for the audit, not an improvement in compliance.
The same applies to a comprehensive risk register that assumes controls not found in the policies, or a vendor policy requiring reviews that the vendor register does not track. Optimising one document for best practice can make the overall program less coherent.
A practical instruction for your agent
Before changing a policy, risk, vendor record or control, check its dependencies. Keep commitments, owners, frequencies and evidence aligned with each other and with actual practice. Flag conflicts and proposed changes for the accountable owner rather than silently creating new commitments.
When a new vendor or system enters the stack, trace what changes across scope, risk, access, policies and evidence. If a policy promise is not being met, the owner needs to decide whether to implement it or revise it in a way that still meets applicable obligations. Do not simply rewrite the policy to hide a failure.
5. How do you keep a human genuinely accountable for agentic compliance?
Give the program a named human owner who can understand what the agent is doing, challenge its conclusions, approve important decisions and intervene. AI can manage the work. It cannot take management's accountability.
That requires plain language and a level of detail the owner can actually follow. If the person responsible is lost in hundreds of generated records and simply says yes to every recommendation, oversight exists in name only.
A leaner program that the owner understands and confidently directs is more useful than a sprawling one they cannot explain. That is a reason to simplify how requirements are met, not to omit material risks or required controls.
A practical instruction for your agent
Explain decisions in plain language. Show what changed, why it matters, what remains uncertain and what needs my approval. Stay within your authorised actions. Escalate significant risks, conflicting evidence and decisions that change our commitments.
The owner should be able to answer: What are our main risks? Which controls address them? What is working? What is not? What has the agent changed? Set approval and escalation boundaries before expanding the agent's access, as we do in Part 2 of the live experiment. For the wider setup, see how to build an agentic compliance program.
How can you check whether your agent is following these guardrails?
Review whether its output is proportionate, grounded in facts, supported by focused evidence, consistent across the program and understandable to its human owner. Check before approving the initial build and again when systems or commitments change.
| Guardrail | Ask before approving | Warning sign |
|---|---|---|
| Proportionate detail | Can our team realistically operate and maintain this? | Long registers and recurring tasks without a clear risk or obligation |
| Real stack and operations | Does this describe our systems and how we actually work? | Invented facilities, tools, roles or responsibilities |
| Just enough evidence | What does this prove, for which control and period? | Full exports with no clear purpose, or gaps dismissed without investigation |
| Connected program | Do the policies, controls, risks and vendor records agree? | Different owners, review frequencies or commitments across records |
| Human accountability | Can the owner explain and challenge what the agent did? | Approvals given without understanding the change or its consequences |
How does Compliance Brain help put these guardrails into practice?
Compliance Brain is our free, open-source, provider-agnostic tool for giving an AI compliance agent company context and practical guardrails. It provides a starting structure rather than leaving you to work out every instruction from scratch.
The five guardrails above are the most critical starting points we recommend, but there are many more nuanced and specific instructions to consider: permissions, approvals, confidentiality, keeping records current, evidence provenance and escalation when information is missing or contradictory.
Many people do not know what they do not know when building their first program. That is why we have preconfigured Compliance Brain with context prompts and guardrails informed by feedback from clients, live compliance programs and practical usage. You adapt that starting point to your company, then refine it as you learn.
Use it with your own model or agent environment, with access options on GitHub, Notion and Google Sheets. It helps align the agent's work; it does not guarantee compliance or replace an accountable human owner and independent audit. AI-managed. Human-led. Independently audited.