Skip to main content
At a glance
  • What it does: a user scans a passport, ID card, payslip or bank statement on their phone; only the details they review are sealed to their vault, and your agent gets yes/no answers such as “net pay at least 3,000?” or “passport not expired?”.
  • What it adds to your Get Started setup: real documents instead of a hand-written record, read on the device with machine-readable-zone check digits, and checks re-run inside the enclave. Same key and tenant: the vault registers as z:<tid>:doc-intake next to your vault, and you grant your organisation agent evaluate.
  • What you need: a phone, the same email you claimed your key with, and about 1,100 test credits for the vault (once).
  • Build ideas: lending or rental pre-checks, age or residency gating, and booking flights with the scanned passport through Flight Booking.
  • Sample repo: Terminal-3/private-doc-scanner
Private Doc Scanner is an open-source app built on the same pattern as the walkthrough vault, with real documents. A user scans a passport, ID card, payslip or bank statement on their phone. The document is read on the device, the user reviews every field, and only the details they confirm are sealed to a contract in their own tenant. An agent can then ask questions such as “net pay at least 3,000?” or “passport not expired?” and gets yes/no answers. It never sees a value.

How it builds on your setup

What it adds: reading documents on the device (machine-readable zone check digits, cross-checks between the printed and machine-readable text), a review step, and checks re-run inside the enclave.

Try it

  1. Scan, no account needed. Open the scanner on your phone, pick a document and take a photo. Nothing leaves the device at this point.
  2. Seal it. At Seal and send, sign in with the email you used on the claim page. The first time, the scanner sets up your vault, which costs about 1,100 test credits once.
  3. Connect your coding assistant. The README has copy-and-paste prompts for Claude Code and Codex that set up the vault, create scan links and check what you sealed, without the documents or their values ever entering the chat.

Let your agent use it

Grant your organisation agent evaluate (and status, if it should see which fields arrived) the same way as in Store, grant and check:
basis says whether each answer rests on a value the scanner verified or one the user typed (verified, self_attested or missing). With require_verified: true, anything not verified fails.

Ideas to build on it

  • Lending or rental pre-checks: income and balance thresholds answered without collecting payslips or statements.
  • Age or residency gating for a service an agent signs the user up to.
  • Booking with a sealed passport: Flight Booking can take the passport straight from this vault.