Kapish Bansal Résumé
← All work

03 / 06AI verification · Protocol

A protocol that checks whether an AI model's output really came from the pinned model.

Role
Protocol, contracts, SDK, ops
Year
2026
Status
Live demo
2models live: Whisper large-v3, Tesseract 5
3committee members per dispute
4contracts, Sourcify-verified
1stsettled x402 payment on Hedera

The problem

When you pay someone to run a model, you can't tell whether they ran the big model, a cheaper one, or nothing at all.

What it is

Any service or contract can ask for ML work and get a verdict. Bonded operators run pinned model containers; a random verifier re-runs a share of jobs, and a committee settles disputes. Live today for speech-to-text and OCR.

Hallmark architecture: AI agent, x402 gateway and model manifests feeding the Hallmark core on Hedera, with bonded operators, evidence store and model containers.
Hallmark architecture: AI agent, x402 gateway and model manifests feeding the Hallmark core on Hedera, with bonded operators, evidence store and model containers.

How it flows

  1. 01Agent pays (x402)
  2. 02Gateway → createJob
  3. 03Executor commits
  4. 04Audit draw → verifier
  5. 05Verdict or slash

What I built

01

Contracts

Escrow, bonds, PRNG draws, audits, a 3-member committee and slashing, plus a registry and a verdict interface other contracts can read.

02

Bond math

Bonds are sized between a deterrence floor and a fairness ceiling; createJob reverts if no bond satisfies both.

03

Attack lab

One click makes an operator cheat (garbage, smaller model, truncation, replay, no-show) so you can watch it get caught, slashed and the buyer refunded.

04

Published SDK

@kapish505/hallmark-sdk, -contracts, -operator and -model-spec on npm; a smoke test installs them fresh and runs a job on testnet.

Stack

  • Solidity
  • Foundry
  • Hedera
  • x402
  • Whisper large-v3
  • Tesseract 5
  • TypeScript
  • ethers

Limits

A verdict says the output matches the pinned model. It does not say the output is true. Testnet, 0.x alpha packages.

Next project

IBEA Autonomous defence for DeFi capital: detect a threat, agree on it, evacuate funds.

← PoEC All work