Compliance Metadata: The Context and Guardrails Agentic Compliance Needs

    Compliance metadata is the structured context about your company that decides how a compliance program should work for you: the service you provide, who relies on it, the data you hold, the tools in scope and how your teams work. AI already knows the frameworks. With your metadata and clear guardrails, an agent builds a lean program that fits how you operate instead of filling gaps with assumptions.

    By Paul Wenham, ThroughlinePublished Last updated

    Watch Paul's live experiment building an agentic SOC 2 program with Claude to see why this context and its guardrails come before the build.

    AI already knows compliance: the frameworks, the risks, the controls and how auditors test them. What it doesn't know is your company. What you sell, who relies on it, the data you hold, the tools you run and how your teams actually work.

    That missing layer is compliance metadata. With it, an AI agent builds a lean program that fits how you operate. Without it, the agent fills the gaps with assumptions, and the program drifts from reality.

    This guide explains what compliance metadata is, where it lives in your organization, which fields matter most, and the guardrails that keep agentic compliance on track. It draws on the structure of our Compliance Brain template, which organizes 93 metadata fields by impact: 23 high, 37 medium and 33 low.

    What is compliance metadata?

    Compliance metadata is the structured context about your company that determines how a compliance program should work for you. It covers facts such as the service you provide, the customers who rely on it, the data you hold, the tools in scope, and how your teams make changes, grant access and respond to incidents.

    Every field feeds one or more of five lenses:

    LensWhat the metadata decides
    ScopeWhat's in and out of the report, and which criteria and frameworks apply
    RiskWhat could go wrong for you and your customers, and how much rigor is needed
    ControlsWhich controls you need, and how they're worded to match your workflows
    EvidenceWhere proof lives, such as source systems, tickets and logs, and how it's collected
    CommitmentsWhat you promise customers, and what they're responsible for in return

    What are compliance shapes?

    Some of the most important metadata describes your compliance shape: where you sit on a spectrum for each way of operating. Access might be granted centrally through one identity provider or by each system owner. Production access might be standing or just-in-time. Controls might be run by people, automation or agents.

    There's no right or wrong position. Recording your shape lets an agent design controls that fit how you operate, rather than forcing a generic template onto you. See compliance shapes for more.

    Why does agentic compliance need compliance metadata?

    Because context is what turns a general-purpose AI into your compliance agent. Ask AI to "build me a compliance program" with no context and it will, drawing on generic practice guidance. The result tends to fail in predictable ways:

    • It doesn't fit. Controls and policies describe a company that isn't yours, so your team works around them and auditors find gaps between what's written and what happens.
    • It invents details. Missing context gets filled with plausible tools, owners, timeframes and commitments that aren't real.
    • It overworks. Without knowing your stage and size, AI defaults to enterprise-grade depth: more policies, more controls and more evidence than you need.
    • It misses what customers care about. Without your service commitments and customer types, it can't prioritize what enterprise buyers will actually test.

    Context changes the scale of the program, not just its wording. In our Compliance Brain template, a control library of 185 controls narrows to 58 for an early-stage company reporting on Security alone, rising to 81 with every Trust Services Criterion in scope. The rest come in or out as the metadata fills in: a named tool swaps a manual control for an automated one, and a compliance shape decides which version of a control applies.

    And context is model-agnostic. Capture it once, and any AI model you use can work from it. For whether an agent can carry the program at all, see can AI run my compliance program?

    How does compliance metadata flow through a program?

    The parts connect through the metadata. Controls come into scope from your answers. Policies come into scope when their linked controls do, and risks are linked to the controls that treat them. Vendors are tiered by the data and access they have. The system description and the responsibilities your customers carry (complementary user entity controls, or CUECs) are drafted from the same context, so the report describes the program you actually run.

    Where does compliance context live?

    Most companies already hold much of their compliance metadata. It's just scattered across documents, systems and people. These are the richest sources, roughly in order of how much they give an agent:

    SourceWhat it gives the agent
    Completed security questionnairesAnswers to hundreds of questions customers have already asked: encryption, access, policies, incident response, vendors. Often the single richest starting point
    Contracts, MSAs, SLAs and DPAsService commitments such as uptime, support times, breach notification and data residency, which controls must back
    Your website, terms of service and privacy policyThe services in scope, customer types, data handled, subprocessors and public commitments. Agents can research these directly from your domain
    Tool lists, cloud bills and your identity provider's app listThe systems in scope and the vendors you rely on. They show what's actually in use, including tools people forgot about
    Operational handbooks, wikis and runbooksHow onboarding, offboarding, deployments, access requests and incidents actually happen today
    Prior audit reports, certifications and known gapsWhat's already operating, what can be reused, and where exceptions have occurred before
    People's heads, often the founders'Who does each recurring job, how things really work, the plans for the next year, and why decisions were made. Usually the most important context, and the least written down

    The last source deserves the most attention. In a small company, much of the critical context, such as who approves access, how releases happen and what's planned next, exists only in one or two people's heads. Capturing it once, in a structured place, is what lets an agent work without asking the same questions repeatedly.

    Which compliance metadata matters most?

    The tables below set out the metadata fields in our Compliance Brain template, grouped into six sections and ranked by impact within each:

    • High: the agent relies on these most. Capture them first.
    • Medium: these sharpen control wording and the evidence plan.
    • Low: useful detail, worth adding when it applies.

    The Drives column shows which parts of the program each field shapes: scope, controls, policies, risks, vendors, evidence, customer commitments, the audit, or how the program operates.

    What metadata describes your compliance agent?

    MetadataImpactDrivesWhy it matters
    Program homeHighProgram operation, evidenceWhere policies, registers and evidence are built and kept. A program can't live only inside your AI, and building where your team already works avoids duplicating records
    Agent roleHighProgram operationWhether the agent runs the program, prepares work for your team, or advises. Sets how much it acts versus drafts
    Tool accessHighEvidence, program operationConnected or read-only agents pull evidence straight from source systems; contained agents rely on what you share. Broader access needs tighter guardrails
    Approvals requiredHighProgram operationWhat the agent must ask before acting, such as changing settings, granting access, changing policies or sharing evidence with auditors. Keeps management in control
    Where you'll use itHighProgram operationSlack, an agent platform, a browser agent or chat. Shapes how the agent reaches people, collects evidence and shares updates
    Design principlesMediumControls, policiesDefaults such as minimizing manual controls, preferring existing workflows, keeping policies concise and not creating committees just for compliance
    Point of contactMediumProgram operationWho the agent reports to and asks for approval
    Check-in rhythmLowProgram operationHow often the agent reports progress, open questions and items awaiting approval

    What company and team metadata does an agent need?

    MetadataImpactDrivesWhy it matters
    Company nameHighScope, auditThe legal entity named on the report. A trading name can create confusion in contracts and customer reviews
    DomainHighScope, commitmentsThe website an agent researches to draft the system description, service commitments and boundaries
    Framework scopeHighScope, controls, evidenceThe frameworks in scope and, for SOC 2, which Trust Services Criteria. Each adds its own controls and evidence
    Compliance ownerHighProgram operation, auditThe person accountable for the program, who approves what goes to the auditor
    Governance and technical leadsMediumPolicies, controlsWho owns business risk and who owns systems, which sets policy and control owners
    Key partiesMediumControls, evidenceThe control owners involved day to day, so evidence requests reach the right people
    Terms of service and privacy policyMediumCommitments, vendorsAgents read these for service commitments, data handled and subprocessors
    Report type and audit periodLowEvidence, auditA Type 2 needs evidence that spans the whole period, and all evidence must fall within it

    What company context shapes the program?

    MetadataImpactDrivesWhy it matters
    Service typeHighScope, commitmentsWhat the report covers and how it's delivered. Shapes system boundaries, controls and the responsibilities customers carry
    Compliance stageHighProgram operationFrom just starting to audited before. Sets where the agent focuses: building, maintaining, gathering evidence or working with auditors
    Service commitmentsMediumCommitments, controlsThe promises in your contracts and SLAs. Every commitment needs controls behind it, and auditors test against them
    Data handledMediumScope, risks, policiesSets confidentiality and privacy scope, how data is classified, and which laws apply
    Customer typesMediumRisks, commitmentsEnterprise and regulated buyers expect stronger contracts, evidence and questionnaire answers
    Customer geography and countries of operationMediumRisks, policiesDrive privacy, employment and data-transfer obligations, such as GDPR or Australia's Privacy Act
    Regulatory driversMediumScope, controlsLaws and standards beyond SOC 2, such as HIPAA or GDPR, each adding obligations to map to controls
    Subservice providersMediumVendors, scopeVendors that deliver part of your service. Sets carve-out versus inclusive treatment, and whose reports you review
    Headcount and company stageMediumControls, policies, evidenceCalibrate how formal controls need to be, and scale onboarding, training and access reviews. Headcount also drives auditor sample sizes
    Release frequencyMediumControls, evidenceHow often changes reach production, which shapes change approval and sample sizes
    Operating cadenceMediumProgram operationThe leadership rhythm that reviews and sign-offs are built into
    Target timelineMediumProgram operation, evidenceSets the readiness runway. Compressed timelines are the most common cause of exceptions
    Compliance goalsMediumProgram operationWhy you're pursuing compliance, which balances speed, rigor and customer assurance
    Existing and target complianceMediumControls, evidenceExisting frameworks are reused rather than rebuilt; target frameworks are mapped from the start
    Known gapsMediumRisks, auditPast exceptions and open fixes, which the agent tackles before the auditor finds them
    FacilitiesMediumControls, vendorsOffices add physical security controls; cloud-only teams rely on their providers' reports
    Planned changes, penetration testing, product descriptionLowRisks, scope, evidencePlanned changes let scope adjust ahead of time; the pen test approach sets how much weight results carry

    How does system context change controls and evidence?

    Every tool you name shapes control wording and where evidence lives. Naming a tool can also swap a manual control for an automated one.

    MetadataImpactDrivesWhy it matters
    InfrastructureHighControls, evidence, vendorsThe cloud and network layer the product runs on. Anchors hardening, patching and network controls, with evidence from cloud consoles and configuration
    Hosting platformHighScope, vendors, commitmentsWhere the application is deployed. Defines shared responsibilities and likely subservice organizations in the report
    AI models and platformsMediumControls, vendors, policiesAI used in the product or workplace. Adds AI governance, data-use and vendor controls; model providers may be subservice organizations
    DatabasesMediumControls, evidenceWhere customer data is stored. Drives encryption, backup and data access controls
    WorkspaceMediumControls, evidenceEmail, documents and collaboration. Sensitive data lives there too, and its sharing, MFA and admin settings are tested
    Compliance automationMediumEvidence, program operationWhether a platform tracks controls and evidence, which sets how much evidence is automated and where the auditor looks first
    Identity, devices and endpointsLowControls, evidenceThe identity provider is often the single most-used evidence source: user lists, MFA settings and deprovisioning records
    Code, deployment and scanningLowControls, evidencePull request history, branch protection and pipeline gates are the core change evidence; scans evidence vulnerability management
    Logging, monitoring and availabilityLowControls, commitments, evidenceBack incident response and availability commitments, with evidence from alerts, uptime history and restore tests
    HR, ticketing and knowledge systemsLowEvidence, controlsThe HR system supplies the joiner and leaver populations auditors sample; tickets and wikis hold approvals and policy acknowledgements

    Which compliance shapes describe your service and customers?

    MetadataImpactDrivesWhy it matters
    Hosting responsibilityHighScope, commitments, controlsWho operates the environment the service runs in. Sets which controls you own, which your customers own, and where the system boundary sits
    Availability responsibilityHighScope, controls, commitmentsHow much customers rely on the service being up. Drives backup, disaster recovery, capacity and monitoring controls, and whether Availability is in scope
    AI relianceHighControls, policies, vendorsHow central AI is to what customers receive. Adds AI governance, output monitoring and model provider controls as reliance grows, and agents in production bring in controls for their access, changes and monitoring
    Customer administrationHighCommitments, controlsWho administers customers' users and settings. Decides whether access responsibilities sit with customers or your own admin controls carry the weight
    Provider access to customer dataHighControls, commitmentsWhen your people can see customer data. Drives support access, approval and logging controls, and confidentiality commitments
    Tenancy and isolationMediumControls, risksHow customers are separated from each other. Weak separation is a high-impact failure for any SaaS service
    Data minimizationMediumScope, policiesTaking in less sensitive data means fewer privacy, retention and encryption controls to design and evidence
    Data control boundaryMediumCommitments, policiesWho decides where customer data is stored. Shapes residency commitments, encryption keys and customer responsibilities
    Integration surfaceMediumControls, commitmentsAPIs and webhooks add key management, secure development and integration responsibilities
    Responsibility for outcomes, service standardizationLowCommitments, evidenceWho owns the results the service produces, and how much it varies per customer. Customized services may need evidence sampled per customer

    Which compliance shapes describe your internal operations?

    MetadataImpactDrivesWhy it matters
    Access ownershipHighControls, evidenceWho grants and removes access. Decides whether evidence comes from one identity provider or from each system owner
    Change managementHighControls, evidence, policiesHow changes are approved and reach production. Decides whether evidence lives in pipelines, pull requests or tickets
    Privileged and production accessHighControls, risks, evidenceStanding access needs reviews and monitoring; just-in-time access is evidenced by requests and expiry
    Endpoint modelHighControls, evidenceManaged devices are enforced and evidenced centrally; bring-your-own devices need other safeguards
    Control executionHighControls, evidenceWho or what performs routine controls. Automated and agent-run controls move evidence to system logs and agent activity records, with people handling exceptions
    Risk managementMediumRisks, program operationSets the assessment cadence, and whether evidence is a periodic register or ongoing records
    Vendor managementMediumVendors, controlsWho selects and oversees vendors, which shapes approval and review controls
    Incident responseMediumControls, policiesWho leads when something goes wrong. Shapes roles, escalation, testing and where records live
    GovernanceMediumControls, evidenceWhether oversight is evidenced by committee minutes or by everyday leadership forums
    Infrastructure operationsMediumControls, vendorsManaged services mean more reliance on provider reports and fewer hardening controls
    Workforce modelLowControls, evidenceOffice, hybrid or remote. Shapes physical security, remote access and how onboarding is evidenced

    What guardrails keep agentic compliance on track?

    Context tells an agent what your company is like. Guardrails tell it how to work. Without them, capable agents tend to invent details, overwork the program and produce more evidence than an audit needs. These are the standing guardrails in our template:

    For a practical starting point, read the five most important guardrails for agentic compliance, with examples of proportionality, company context, evidence, connected records and human accountability.

    GuardrailWhat it meansWhat it prevents
    Accuracy firstRecord only what the client said, what's visible in their systems, or a public source that was checked. Leave unknowns as TBC and askInvented tools, owners, dates, commitments or evidence
    Stay within role and approvalsFollow the agent's role, tool access and required approvals. If they aren't set, draft and advise onlyUnapproved changes to systems, access or policies
    Build where things liveBuild policies, registers and evidence in the program home, and link to them rather than copying contentA second record that drifts away from where work actually happens
    Proportionate to stageUnder about 100 employees, keep policies short. Founders can hold admin access and deploy by role, and controls such as access reviews and training are designed around the wider teamEnterprise-grade bureaucracy in a small company
    MaterialityDesign and evidence controls around the key mechanism, not every system or every variationSprawling control sets that are hard to run
    Enough evidence is enoughCollect the key evidence that proves a control operated: an approval, a completed review, a policy, or a configuration at a point in time. No raw logs or full exportsExtra work, false positives in audit testing, and sharing data the auditor doesn't need
    Ask light, go deeper when it mattersAsk two or three questions at a time, in the flow of work. Check files and tools first and offer a likely answer to confirm. Dig deeper when an answer is vague, manual, rests on one person, or doesn't match the systemsLong questionnaires, and shallow answers where detail matters
    Confirm defaultsTemplate timeframes and frequencies are starting points. Confirm each with its owner and use real practice where it meets the requirementPolicies that promise things the company doesn't do
    Work honestly with auditorsNever alter, backdate or manufacture evidence, or present drafts as approved. Flag likely exceptions to the compliance owner before anything reaches the auditorSurprises in the audit, and lost credibility
    Keep an audit trailLog one line after each block of work. Never edit past entries; add corrections as new linesLosing track of what the agent did, and errors compounding unnoticed
    Keep it current and confidentialUpdate the metadata as tools, vendors, people and commitments change. Never store passwords, keys or unnecessary personal dataA program describing last year's company, and exposed secrets

    Example: how much evidence does MFA need?

    When multi-factor authentication is enforced as a Google Workspace setting, users can't sign in without it. A full export of every user might show some without MFA set up, perhaps because they haven't signed in since enforcement began. That isn't a failure. The enforcement setting is the evidence, and a single capture of it during the period is normally enough.

    How should an agent adapt to your compliance stage?

    The same metadata supports very different work depending on where you are. Compliance stage, existing compliance, known gaps and the target timeline tell an agent what to focus on:

    StageWhat the agent focuses onMetadata it leans on
    BuildingScoping the program, choosing controls that fit your shapes and tools, drafting policies and the risk and vendor registers, and agreeing where evidence will liveCompany context, system context, compliance shapes
    MaintainingRunning recurring controls such as access reviews, training, vendor reviews and risk updates, and updating the program as tools, vendors or people changeOperating cadence, check-in rhythm, controls
    Gathering evidenceMapping each control to where its evidence lives, collecting it within the audit period, and raising gaps earlyAudit period, tool access, compliance automation
    Working with auditorsAnswering requests from the metadata and the evidence, keeping the system description current, and running answers past the compliance owner firstTeam details, system description, compliance owner
    After the reportRecording exceptions and remediation, updating known gaps and planned changes, and setting up the next periodKnown gaps, planned changes, target compliance

    How do you capture and maintain compliance metadata?

    You don't need everything up front. Once the high-impact fields are in, an agent can get going, and each answer after that makes the program fit more closely.

    1. Choose your program home. Pick where policies, registers and evidence will live: a cloud drive, a workspace wiki or a compliance platform. If you use more than one, record what lives where.
    2. Share your highest-value context. Give your agent completed security questionnaires, your terms of service or MSA, and your domain and privacy policy. It fills in what it can and asks for the rest.
    3. Answer the high-impact fields first. Work with the agent in conversation rather than filling in a form. Describe how things work today, not how you'd like them to work.
    4. Direct the work by stage. Starting out, build policies and the risk and vendor registers. With a first audit coming, run a readiness check and prepare control mappings. When maintaining, review controls and keep them current.
    5. Keep it in sync. Tell the agent when tools, vendors, people or commitments change, and review the audit trail at each check-in.

    What is Compliance Brain?

    We built Compliance Brain, a free template, to make this practical. It holds your metadata, the guardrails above and an audit trail of what your agent has done. It also includes a reference library your agent tailors to your context: 185 controls with the rules that bring each into scope, 15 policy blueprints, 35 common SOC 2 risks, vendor tiers and review checks, and 35 customer responsibilities.

    It gives you a transparent place to see what your program is built on, check it's right, and correct it when something has been misunderstood. For the most common ways agentic compliance goes wrong, and how to avoid them, see the three biggest challenges of agentic compliance.

    About the author

    Paul Wenham

    Paul is founder of Throughline. He was a manager at PwC and founded AssuranceLab, the audit practice that supported more than 1,200 technology companies through SOC 2 and ISO audits before its acquisition by Sensiba. He has spent his career building, assessing and auditing technology compliance programs.