Skip to main content
This is a preview/beta feature. Further changes are expected.

Overview

A compliance requirement often needs evidence that no policy can check: a threat model, an access review, a signed design review. A person submits it as manual evidence, and an approver reads it and approves or rejects it. The AI assessment of manual evidence gives the approver a first opinion. When an organization turns it on, an AI agent reads each new submission in the background and judges it against the requirement. A few minutes later, the submitter and the approver see the result next to the submission:
  • A verdict: Meets the requirement, Does not meet the requirement, or Cannot assess.
  • A confidence level: High, Medium, or Low.
  • The rationale, the gaps, and the corrective actions.
  • The criteria that the agent checked, and where the evidence shows each one.
  • The sections of the standard that the agent used.
The assessment is advisory. It never approves or rejects a submission, and it never changes the status of a requirement. A person still makes each decision. The short description of a requirement seldom holds all its criteria. The criteria are in the standard behind the framework, for example the SOC 2 guide or an internal security policy. So the assessment also reads the standard, from the knowledge base of the framework. Without a knowledge base item, a submission gets Cannot assess.

How It Works

  1. A user submits manual evidence with a file.
  2. Chainloop checks the submission before it starts the agent. When a check fails, the submission gets Cannot assess with the reason, and Chainloop sends no AI request. Examples are a submission with no file, or a file that is too large. See Cannot Assess and Assessment Failed.
  3. Chainloop downloads the evidence file by its digest into a sandbox that it manages, and starts an AI agent there. The agent reads PDF files and text files, views images and scanned pages, and unpacks ZIP archives. See Supported Evidence Files.
  4. The agent reads the requirement, the justification of the submission, and the description of the requested manual evidence. It also reads the knowledge base sections that apply to the requirement. When a criterion needs a topic that these sections do not cover, it reads the summaries of the other sections too. Examples are the scope or the definitions of the standard.
  5. The agent writes its result in a fixed format. Chainloop checks the result and stores it with the submission.
Chainloop stores each assessment of a submission as a separate record. Each record holds the result, the time, the digest of the evidence file, and a copy of the knowledge base sections that the assessment cited. When an admin replaces or deletes a knowledge base item later, the past assessments do not change. The UI, the API, and the MCP server show the latest assessment of each submission.

Supported Evidence Files

An evidence file that is a PDF, PNG, JPEG, or ZIP file needs its extension. The agent reads a file of any other extension when its content is text. In a ZIP archive, the agent decides the type of each file from its content, and the extension does not matter. While the assessment is on, the manual evidence form of an organization framework shows the file types that the assessment reads. You can still submit a file of another type. That file gets Cannot assess, and a person reviews it as usual.
The manual evidence form with a note above Submit: the AI assessment reads only PDF, PNG, JPEG, text, and ZIP files
One assessment reads at most these amounts, for all the files together:
  • 100 PDF pages and 1 MiB of PDF text.
  • 300 KiB of other text.
  • 20 images. An image is an image file, or a PDF page that the agent views.
The agent reads all of the evidence or none of it. When the evidence goes over a limit, it gets Cannot assess with the reason “File too large”. The one exception is a figure page over the image limit. The agent assesses that page from its text, and the confidence of the assessment is lower. In a ZIP archive, the agent ignores the folders and the metadata files of an operating system, for example __MACOSX/ and .DS_Store. The agent cannot assess these files, alone or in a ZIP archive:
  • An Office or OpenDocument file, for example a .docx or .xlsx file.
  • A binary file, or an image of another format.
  • A link in a ZIP archive.
  • A ZIP archive with an encrypted file, or with a compression method other than STORED and DEFLATE.
  • A ZIP archive that looks like a code repository. Examples are an archive with a .git folder, or with a project file and source files.

Prerequisites

  • The feature is on for your organization. The AI assessment is in Beta. Contact Chainloop to turn it on for your organization.
  • A working AI connection. The assessment uses the AI connection of the organization: the connection that Chainloop manages, or your own AI provider. To assess images and scanned pages, the model must be able to view images.
  • Managed sandboxes. The agent runs in a sandbox that Chainloop manages. Chainloop SaaS has them.
  • A knowledge base item. At least one framework of the submission must have a knowledge base item with a ready upload. In the Beta, only organization (custom) frameworks can have knowledge base items.
Each completed run of the agent uses credits of the organization. A Cannot assess that Chainloop gives before the agent starts uses no credits. When the organization has no credits left, Chainloop does not start new runs.

Add the Standard to the Knowledge Base

The knowledge base of an organization holds reference content that platform features read. Each item has a kind and a target. The Beta supports one kind, compliance, on one target type, an organization framework. Organization admins upload and delete items with the chainloop knowledge-base commands. Each member of the organization can list, describe, and download them. There is no knowledge base page in the UI. Upload the standard of a framework:
  • The compliance kind accepts PDF, Markdown, and plain text files. A Markdown or plain text file can be up to 3 MiB. A PDF can have up to 1,000 pages and 100 MiB.
  • The file goes to the default CAS backend of the organization, like chainloop artifact upload. An inline CAS backend does not work.
  • The upload needs a working AI connection. Chainloop processes each upload into sections and maps the sections to the requirements of the framework.
  • The file name is the name of the item. An upload with the same file name, kind, and target is a new upload of that item. Features keep the last ready upload until the new one is ready.
The processing runs in the background. Check the status of each item with list and describe. An upload is processing, ready, or failed with the reason:
AI agents can also search the sections of the knowledge base through the Chainloop MCP server, with the list_framework_kb_sections and get_framework_kb_section tools.
Upload the standard and wait until it is ready before you turn on the assessment. A submission that arrives before the item is ready gets Cannot assess with the reason “No ready knowledge base item”. You can run the assessment again on it later.

Turn On the Assessment

An organization owner or admin turns on the assessment in Settings > Organization > Automated Compliance. Select AI assessment of manual evidence, then select Update. The setting is off by default. It shows only when the feature is on for the organization. Chainloop refuses to turn it on when the organization has no working AI connection, or when no sandbox is available. The setting applies to the submissions that arrive after you turn it on. Chainloop does not assess the existing submissions automatically, because that sends many AI requests at one time. To assess an existing submission, run the assessment on it.

Read the Result

The result shows next to each submission in the manual evidence list of the requirement, as a small AI pill with icons. Hover over the pill to see its state:
  • AI assessment in progress: the agent is running. You cannot open the result yet.
  • AI assessment: meets the requirement or does not meet the requirement: the verdict. Bars show the confidence level.
  • AI assessment: cannot assess: the assessment gave no verdict.
  • AI assessment failed: the run stopped with an error.
Select the pill to open the result.
The AI assessment dialog: Does not meet the requirement at medium confidence, criteria, knowledge base sections, and Run again
The result has these parts:
  • Verdict and confidence level. The confidence level shows only with a verdict.
  • Rationale. Why the agent gave the verdict.
  • Gaps and Corrective actions. What the evidence misses, and what the submitter can add.
  • Criteria. What the agent checked. Each criterion is Met, Partly met, or Not met. It names the place in the evidence that shows it, for example a page, or a file in a ZIP archive.
  • Files read. Only for a ZIP archive. Each file of the archive that the agent read, with its type (PDF, Image, or Text) and one sentence about what it shows. Open the list to see the files. The path of a file in an inner archive starts with the path of that archive, for example evidence/rules.zip/semgrep.yaml.
  • Show confidence details. The axes behind the confidence level. See Confidence Level.
  • Knowledge base sections used. The sections of the standard that the agent used, grouped by file, with their headings and pages. Select a file name to download the upload that the run read. Each member of the organization can download it. When an admin deleted the item, the download fails with a message that the file is no longer available.
The end of the result shows the file types that the assessment reads. The footer shows when the assessment ran. Users who can run the assessment also see Run again. The result of a ZIP archive also lists the files that the agent read:
The AI assessment dialog of a ZIP archive, with criteria that name files and the open Files read list

Confidence Level

The agent scores six axes of its own work from 0 to 1: input completeness, investigation depth, reasoning consistency, evidence grounding, external corroboration, and self-confidence. Each axis has a reason. Chainloop combines the scored axes into one score (their geometric mean) and shows it as a level: The axes rate the work of the agent: what it read, and how well quotes from the evidence support its verdict. They do not rate the evidence. The risk assessments of vulnerability findings use the same six axes. The UI shows only the levels. The API and the get_manual_evidence_assessment tool of the Chainloop MCP server also return the score and the reason of each axis. They also return the files read of a ZIP archive.

Cannot Assess and Assessment Failed

Cannot assess means that the agent gives no verdict. The result shows the reason with a short explanation:
The AI assessment dialog with a Cannot assess result: the reason File too large, its explanation, and the supported file types
Assessment failed means that the run stopped with an error, with the reason. For example:
  • “The AI model cannot read images”: the model of the AI connection cannot view the image or the scanned pages. Choose a model that can view images, then run the assessment again.
  • “The product has no project”: Chainloop downloads the evidence of a product submission with a project of the product. Add a project to the product, then run the assessment again.
A failed or slow assessment never blocks the submission or its review.

Run the Assessment Again

These users can run the assessment on demand:
  • Organization owners and admins.
  • Project admins, on the evidence of their project.
  • Product admins, on the evidence of their product.
Open the actions menu of the submission and select Run the AI assessment, or Run the AI assessment again. You can also select Run again in the result. API tokens cannot run the assessment. Run it again, for example:
  • After a knowledge base item becomes ready, or after an admin uploads a new version of the standard.
  • On a submission that arrived before you turned on the setting.
  • After an Assessment failed result.
The action is available only while the organization setting is on, and only on organization frameworks. It is not available while an assessment of that submission runs. The submission shows the latest result.

Review with the Assessment

The approver can approve or reject a submission at any time, also while its assessment runs. The assessment does not lock the submission. For a submitter, a Does not meet with high confidence is a signal to add better evidence before the review. The gaps and the corrective actions say what to add. For an approver, the criteria and the sections used show where to look in the evidence and in the standard. The verdict is not a decision. Compare it with the evidence, and record your own reason when you approve or reject.

Data and Security

  • The evidence file goes to the sandbox that Chainloop manages and to the AI provider of the organization.
  • The sandbox downloads the evidence file by its digest with a project download token that is valid for 120 minutes. In the Beta, this token has the permissions of a project download token, not only the download of the evidence file. A later version limits the token to the evidence file.
  • The sandbox can reach only the AI provider and the Chainloop APIs.
  • The agent and its tools never run a file of the evidence. The agent reads a script in the evidence as text.
  • An evidence file or a standard can contain text that tries to give the agent instructions (prompt injection). The agent has the instruction to treat the evidence and the standard as data, and the result is advisory. The agent checks its result against a fixed format. Chainloop checks the fields that it stores, and the reasons of Cannot assess come from a fixed list.

Limitations

The AI assessment is in Beta and has these limitations:
  • Links. A submission with only a link gets Cannot assess. The assessment does not open the link.
  • File types. Office and OpenDocument files, binary files, and image formats other than PNG and JPEG get Cannot assess. So does a ZIP archive that holds one of them, or that holds source code.
  • Built-in frameworks. Only organization frameworks can have knowledge base items. When the requirement of a submission is only in built-in frameworks, Chainloop does not assess the submission, and no result shows.
  • History. Chainloop stores each assessment, but the UI, the API, and the MCP server show only the latest one.
  • Override requests. The assessment reads manual evidence submissions only. It does not assess the evidence of a requirement status override.
  • Advisory only. The assessment does not approve or reject evidence, and it has no confidence threshold that acts automatically.
  • Usage. The billing page does not show the number of assessments or their AI usage yet.
  • Product pages. The project pages show a new result a few seconds after it is ready. The product page does not refresh by itself. Close the requirement and open it again to see the result.
  • Unscored runs. When the agent scores no confidence axis, the result shows no confidence level and no confidence details.
  • Old knowledge base content. The result does not say when the processed sections of an item are old. For example, they are old after a change to the requirements of the framework.
  • When Chainloop turns off the feature. For that organization, the setting disappears and no assessment runs. The past results still show next to their submissions.