This guide is for implementers of another Agent Blueprint Protocol verifier. You will obtain the conformance corpus, interpret its cases, write an execution adapter, and publish a reproducible conformance claim.
Get the corpus
The Hex package includes the corpus under priv/conformance/. In an installed Elixir project, find it at Application.app_dir(:agent_blueprint_protocol, "priv/conformance").
The npm package includes the same files under node_modules/@agent-blueprint-protocol/verifier/dist/corpus/. The release asset stores them under conformance/.
Case format and schemas
The runner contract defines corpus integrity, input dispatch, expected projections, and results. The execution protocol defines the process exchange.
The corpus index is index.json. Its schema is index.schema.json. It lists the case files and data files, their hashes, the case totals, and the corpus and registry identities.
Each cases/*.json file uses case-file.schema.json. A case contains an id, surface, class, input, and expected value. Each case also validates against its surface schema:
base64url.decode:base64url-decode.schema.jsonblueprint.decode:blueprint-decode.schema.jsonbounds.new:bounds-new.schema.jsonbounds_algebra.intersect:bounds_algebra-intersect.schema.jsoncanonicalization.encode:canonicalization-encode.schema.jsoncompatibility.verify:compatibility-verify.schema.jsondeployment.decode:deployment-decode.schema.jsondigest.tagged:digest-tagged.schema.jsonextension.resolve:extension-resolve.schema.jsonfederation.decode:federation-decode.schema.jsonfederation.verify_commitment:federation-verify_commitment.schema.jsonjson.decode:json-decode.schema.jsonnegotiation.negotiate:negotiation-negotiate.schema.jsonportability.scan:portability-scan.schema.jsonpredicate:predicate.schema.jsonreconcile:reconcile.schema.jsonschema.validate_instance:schema-validate_instance.schema.jsonsignature.verify:signature-verify.schema.json
The successful reconcile projection also uses evidence.schema.json; its support object uses support.schema.json. The normative directory contains the complete conformance schemas.
Write an execution adapter
An execution adapter reads one JSON object per line from standard input and writes one JSON response per line. It first answers the handshake with the same protocol, version, corpus digest, and registry digest. It then handles requests in order. A response contains the request id and the complete result projection for that case.
The following transcript was captured while the npm package's harness ran its own --serve adapter over its shipped corpus. The handshake request was:
{"corpus_digest":"sha-256:uwbwaxugSBQKC_3Byy86_3N-Z6RBCBvW7rP79SGmSLE","protocol":"agent-blueprint-protocol-conformance-execution","registry_digest":"sha-256:hreDA2_XbV5J9geMJDDYG5BB42AGkh9jmQ9bqHe8kRk","version":1}The adapter answered:
{"corpus_digest":"sha-256:uwbwaxugSBQKC_3Byy86_3N-Z6RBCBvW7rP79SGmSLE","protocol":"agent-blueprint-protocol-conformance-execution","registry_digest":"sha-256:hreDA2_XbV5J9geMJDDYG5BB42AGkh9jmQ9bqHe8kRk","version":1}The first case request was:
{"id":"base64url-decode-exact-bound","input":{"base64url":"QQQ"},"surface":"base64url.decode"}The adapter response was:
{"id":"base64url-decode-exact-bound","result":{"decoded":"QQQ","verdict":"valid"}}Run the external exchange in a terminal
Use Node.js 24 or newer and npm. In a new working directory, install the release and copy its shipped corpus into a named directory:
npm init -y
npm install @agent-blueprint-protocol/verifier@1.1.0
node --input-type=module -e "import fs from 'node:fs'; fs.cpSync('node_modules/@agent-blueprint-protocol/verifier/dist/corpus', 'conformance', {recursive: true});"
npx @agent-blueprint-protocol/verifier@1.1.0 conformance run --corpus ./conformance --results results.json -- node node_modules/@agent-blueprint-protocol/verifier/dist/kit/cli.mjs --serve --corpus ./conformance
node --input-type=module -e "import fs from 'node:fs'; const r=JSON.parse(fs.readFileSync('results.json','utf8')); console.log(r.format, r.results.length);"
The adapter command after -- is started directly without a shell. A Windows .cmd or .bat launcher must be run through its interpreter, such as cmd.exe /c. The installed package command above uses node so the same adapter command runs on Linux, macOS, and Windows. If the adapter cannot be started, the harness names the startup failure and exits 18 (early_exit).
The harness performs the handshake and all request/response exchanges against the shipped adapter. It writes canonical results.json only after all expected responses and a clean adapter exit (a disagreement can still produce results, then exits nonzero). The inspection prints agent-blueprint-protocol-conformance-results 626 for this release. Adapter stdout is reserved for protocol lines; diagnostics go to stderr. With --results, the harness writes the document to the file and reports harness: agreement on stderr. Do not redirect diagnostics into results.
Rerun with all claim metadata to produce an unsigned claim. These generic labels describe this demonstration; replace them with your implementation's actual source revision, version, platform, and run date when making your own claim:
npx @agent-blueprint-protocol/verifier@1.1.0 conformance run --corpus ./conformance --results results.json --claim claim.json --implementation example-verifier --implementation-version 1 --source https://github.com/baselabs/agent_blueprint_protocol/tree/v1.1.0 --platform node-24-linux --date 2026-11-12 -- node node_modules/@agent-blueprint-protocol/verifier/dist/kit/cli.mjs --serve --corpus ./conformance
node --input-type=module -e "import fs from 'node:fs'; const c=JSON.parse(fs.readFileSync('claim.json','utf8')); console.log(c.format, c.implementation, c.results_digest);"
The claim identifies the implementation, corpus, registry, and exact results bytes. It is unsigned and does not establish how the implementation computed its answers. Keep the results, claim, command, and source revision together. To test another implementation, replace the command after -- with its adapter; that adapter must implement the documented execution protocol.
Exit 0 means agreement. Exit 2 is usage, corpus, or claim-input failure; 3 is an internal error; 10 to 19 identify exchange failures or disagreement. Treat every nonzero value, including an unfamiliar future value, as failure; see the CI exit table. Remove the copied corpus and generated results/claim when their scope ends, or retain them deliberately as your conformance deliverables.
Read and compare results
A results document contains format, corpus_digest, registry_digest, and one id, surface, and result object per case. The harness writes it to the path given by --results. The release-certified document is certified-results.json. For the release corpus, the harness compares each complete projection with that document. A successful run exits 0 and writes harness: agreement to standard error.
Publish a claim
The terminal walkthrough above shows every required flag. After a successful run, provide --claim, --implementation, --implementation-version, --source, --platform, and --date to the harness. The claim schema defines the claim document. Publish the claim with the results document, source revision, and command used to run the adapter.
What a pass establishes
The expected answers are public, so a pass does not establish how an implementation produced its output. The corpus covers only its listed cases. A pass says nothing about host behavior.