Darz by Barg Labs

Check every change an AI agent makes, before anyone has to trust it.

Darz reads your repository's own record and tells you when an agent's account of its work does not hold. Anyone can rerun it. No AI model decides pass or fail.

Book a demoOr start free on GitHub

Your first Darz record on one repository is on us: 30 days hosted, no card.

Checking agent pull requestsexample findings
Agent said the pull request was merged; it is still openFailat handback
Gate files have code ownersPassbefore merge
Agent cites a commit that does not existFailat handback
Test count claimed is higher than the CI run showsFailat handback
No agent account can bypass the merge rulesPassbefore merge
Files changed do not match the descriptionFailat handback
Every approval traced to a personUnverifiableat release
Agent said the pull request was merged; it is still openFailat handback
Gate files have code ownersPassbefore merge
Agent cites a commit that does not existFailat handback
Test count claimed is higher than the CI run showsFailat handback
No agent account can bypass the merge rulesPassbefore merge
Files changed do not match the descriptionFailat handback
Every approval traced to a personUnverifiableat release
9 in 10false agent reports a commercial AI judge cleared when shown the report alone. Our preregistered test, September 2026.
18 of 200of our own agents' reports held a claim the record contradicted (95% interval 5.8% to 13.8%). One studio, not a general rate.
0AI model calls in a Darz verdict. Every result can be rerun and comes out the same.

Read the study behind the 18-of-200 result on Zenodo. Under way: Barg Labs is evaluating Dunstan using an annotated dataset of AI coding agent-authored pull requests published by researchers at King's College London. The dataset is public.

Built for the people who have to accept the work.

For the engineering lead who signs off releases at a software company that sells to banks, insurers, health services or government. When a customer asks how the exact build was made and tested, you hand over a record, not an opinion.

One step to add

A GitHub Action, or a component from the GitLab CI/CD Catalog. Read-only: Darz never writes to your repository.

No model decides

Each check passes, fails, or says plainly that it cannot tell, and why.

Your rules decide

Darz reports. Your own merge rules decide what to block, and people stay in charge.

How it works

Where Darz checks an agent's changeAn agent's change moves from pull request to handback report to merge to release. Darz checks it at three points: the gate check before merge, the claim check at handback, and the release certificate at release. Each check reads your repository and CI record, read-only, and reports pass, fail or cannot tell with its reason. Your merge rules decide what happens next.Your rulesThe changeYour recordPass, fail, or cannot tell, each with its reasonYour merge rules decide what to block. People stay in charge.Commits, files, checks, reviews and settingsRead where they already live. Nothing is written back.Agent's changePull requestHandback reportMergeRelease123Gate checkClaim checkRelease certificatereadsreadsreads
  1. 1 · Before mergeCould the agent approve its own work?Whether it can edit its own CI, loosen its own tests, or approve and merge its own pull request.
  2. 2 · At handbackIs what it says it did true?Its claims about commits, files, tests and checks, against the repository and CI record.
  3. 3 · At releaseHow was this release made?How it was tested, reviewed and released, as a certificate your buyer or auditor can rerun offline.

A real record, claim by claim

This demo merge request has a deliberately wrong handback. The agent says it added two functions and five passing tests; the branch adds one function, three tests and a file it did not mention. Choose a claim to see what the record says.

The agent's summaryAdds max and min, each with tests. All 5 tests pass in CI.
Its declared handback, checked claim by claim
filesChanged src/min.jsFail

The agent says it changed src/min.js. The merge request never touches it.

The agent declared
src/min.js
The record shows
not in the merge request
Read from
GET /api/v4/projects/barglabs%2Fdunstan-gitlab-demo/merge_requests/2/diffs

Verdict for the merge request: fail. 3 of 9 claims do not hold.

Open the merge request on GitLabDownload the record

Written by Dunstan 0.1.19 in the merge request's own pipeline on 11 November 2026. Check it yourself, offline: npx -y dunstan@0.1.19 verify dunstan-gitlab-demo-mr2.json recomputes the claims, the verdict and the digests byte for byte. Dunstan checks the declared handback; a claim made only in prose is never held to the record.

Add it in one step

Pin the release commit, not a tag: a tag can move, a commit cannot.

Reads the repository's settings and files. A token with Administration: read lets it decide every row.

on:
  pull_request:
permissions:
  contents: read
  pull-requests: read
jobs:
  darz:
    runs-on: ubuntu-latest
    steps:
      - uses: BargLabs/darz@d5b263e6198bb04f60cb0f10881c628d1b8dc633 # v0.5.0
        with:
          agent-apps: my-agent-app
          token: ${{ secrets.DARZ_TOKEN }}
Every input and output

What the gate check reads

  • Sends GET requests only. Its client refuses any other method before anything is sent.
  • Never checks out or runs your code.
  • Makes no write call to any API. It writes its record and a SARIF file on the runner; uploading the SARIF to code scanning is a separate step you add.
  • Never prints, logs or writes the token.

What the hosted claim check reads

  • A GitHub App with read permissions only: Actions, Checks, Contents, Deployments, Issues, Metadata and Pull requests. No write permission of any kind, and no event subscriptions.
  • Never requests file contents. Contents: read is there because GitHub requires it for the commit and compare APIs; a code-level allowlist refuses every blob, tree, contents, archive and raw-content route before the request is made.
  • Reads only the one pull request a request names, and only what the handback declares.
  • Keeps records 90 days by default, or none at all, and never stores the report text. Uninstalling the App deletes your keys and stored records. Full detail

Works with your coding agent

Any agent that declares its handback can be checked. Paste the instruction block into AGENTS.md, CLAUDE.md or .github/copilot-instructions.md, or run npx -y dunstan init. In Claude Code, the Dunstan plugin gives the agent MCP tools to declare and check its own handback before it says it is done. How the instruction block works

Use it beside your AI reviewer

An AI reviewer reads the code and the report and gives you an opinion. Darz checks the parts your record can settle. Keep both: let the model read, and let the record settle what it can.

Why both: in our preregistered tests, two AI judges cleared most false agent reports.

Your AI reviewer

A model's opinion

  • Design and readability
  • Whether this is the right change
  • Likely bugs and missed cases

Darz

Checked against your record

  • The commits it cites exist
  • The tests and checks ran, with the results it says
  • The files changed are the ones it names
  • Whether an agent could approve or merge its own work

What it helps you evidence

Darz makes no one compliant with anything, and Barg Labs holds no certification. When a written requirement asks how a change was tested and approved, it gives you a record to show. Each requirement below is quoted from its owner's own text.

DORA, European UnionRegulation (EU) 2022/2554, Article 9(4)(e)changes to ICT systems are “recorded, tested, assessed, approved, implemented and verified in a controlled manner”
What the record showsFor each agent-written change: which tests the CI record shows ran, held against what the agent claimed; whether someone other than the author approved it; and whether the agent could have changed the rules that judged it. Anyone can rerun the record.
DORA, European UnionRegulation (EU) 2022/2554, Article 28(4)(d)before contracting, financial entities “undertake all due diligence on prospective ICT third-party service providers”
What the record showsFor a software company selling to an EU bank or insurer: records the customer’s due-diligence team can rerun for itself, in place of answers it has to take on trust.
OSFI Guideline B-10, CanadaThird-Party Risk Management, Annex 1, item 8due diligence on a third party considers “the frequency and results of testing”
What the record showsTest results read from your own CI record, change by change, with every claim that did not hold. For vendors whose customers are federally regulated banks, trust companies and insurers.
SOC 2, AICPA Trust Services CriteriaCriterion CC8.1, change managementthe entity “tests, approves, and implements changes to infrastructure, data, software, and procedures”
What the record showsFor each agent-written change: the tests the CI record shows ran, held against the agent’s claims, and who approved the change. Evidence for your own controls; a SOC 2 report is still your auditor’s to issue.
SOC 2, AICPA Trust Services CriteriaCC8.1 point of focus: Deploys System Changes“restricting unilateral code development or testing and implementation by a single user”
What the record showsThe gate check: whether an agent can write, test and merge its own change with no person in between.
DCB0129, NHS EnglandClinical risk management for health IT manufacturers, requirements 7.1.3 and 7.3.4“maintain an audit trail of all versions and patches released for deployment”
What the record showsA release certificate for each release, pinned to its commit, and a record for each change, to file in the Clinical Risk Management File. It does not assess clinical risk: that stays with your Clinical Safety Officer.
NIST SP 800-218, SSDF 1.1Practice PS.1“Help prevent unauthorized changes to code”
What the record showsThe gate check: whether your repository stops an agent from editing its own CI, loosening its own tests, or approving or merging its own pull request.
NIST SP 800-218, SSDF 1.1Task PW.8.2“perform the testing, and document the results”
What the record showsThe claim check: an agent’s test claims held to the CI record, with the record kept.
NIST SP 800-218, SSDF 1.1Task PS.3.1retain “integrity verification information, provenance data” for each release
What the record showsThe release certificate: a report on the release commit that anyone can reproduce.

Sources, read 4 December 2026: Regulation (EU) 2022/2554 on EUR-Lex, OSFI Guideline B-10, AICPA 2017 Trust Services Criteria (revised points of focus, 2022), DCB0129 specification, Amd 24/2018 and NIST SP 800-218. A record is evidence you can show. Whether it meets a requirement is for you, your auditor or your regulator to judge.

Your first Darz record on one repository is on us.

See what the hosted check finds on your own agents' work before you talk price.

Book a demoOr ask for your key
  • One repository
  • 30 days of the hosted claim check on its agent-written pull requests
  • No card
  • Your key by email from team@barglabs.ai
  • After 30 days, keep the free tools in your CI, or talk to us about a hosted price

Partners

LatchkeyRuns our CITower WorkshopReferral partnerGitHubTechnology PartnerGitLabTechnology Partner

Programmes

NVIDIA Inception ProgramInception Program member
Claude for StartupsStartup program member

Under way

Dec 2026NHS EnglandResponding to its request for information on supplier risk
2027Horizon EuropePreparing a research proposal for a 2027 call

Questions buyers ask

How long does setup take?

The free check is one GitHub Action in your workflow, with no account. For the hosted check we email you a key from team@barglabs.ai.

What leaves my repository?

Run Darz locally (the command line, the GitHub Action or the GitLab component) and nothing leaves your runner: the checks run on your machines and send nothing to Barg Labs. The hosted check is opt-in. You send the agent's report and name a pull request, and our read-only GitHub App reads that pull request's metadata: state, commits, changed-file paths, check runs, workflow names, deployments and closed issues. It never requests file contents; every request is checked against a fixed allowlist that refuses file, tree, archive and diff routes before they are sent. GitHub requires the App to hold "Contents: read" to check commits. We use it only to confirm that a commit exists and is reachable from the pull request's head, and for one fixed check of whether a path is a file, a directory or nothing. Never to read a file. What we keep is one signed record per check. It holds the agent's claims, the repository and pull request numbers, changed-file paths, check and workflow names, commit ids, and a SHA-256 digest of each answer GitHub gave. It holds no file contents and no report text, only a digest of it, and no commit author names or emails. Records are stored on Cloudflare in the EU. They are kept for 90 days by default; you can set anything from 0 to 90, and at 0 we return the record and store nothing. Uninstalling the App deletes your keys and every stored record within 24 hours, and written deletion requests are handled within 30 days. Our processors are Cloudflare, which runs the service, and GitHub, the source of the data. Full privacy notice: barglabs.ai/privacy/dunstan-hosted.

Do you have SOC 2?

The hosted check runs on Cloudflare Workers, R2 and D1. Cloudflare's SOC 2 Type II report covers those services for Security, Availability and Confidentiality, and your team can request the report from Cloudflare. We review it every year. Barg Labs does not hold its own SOC 2 report yet. Access: Our Cloudflare account requires two-factor authentication, and only named people have admin access.

Does it work on GitLab?

The gate check runs on GitHub today. The claim check and release certificate also run as components in the GitLab CI/CD Catalog.

How is it priced?

Free in your CI. Hosted is priced per agent-written change; ask us for a price. Your first record on one repository is free for 30 days.

The study behind the 18-of-200 result: Zenodo record and the full note.

Docs and changelog

All three tools are open source. Each release is listed with its changes.

Gate check

Whether agents can change the rules that judge their work.

Claim check

Whether an agent's handback holds against the record.

Release certificate

A report on a repository at a pinned commit that anyone can reproduce.

Start with one repository.

Book a demoOr start free on GitHub

Need it done for you? Barg Reeve, our consultancy, runs fixed-fee reviews against a buyer's written requirement.

See Barg Reeve