Private Doc Scanner
Open-source document scanner for AI: reads your passport, payslip or bank statement on your own device and saves it to your own hardware sealed vault (powered by Terminal 3 https://terminal3.io/products/agent-developer-kit) , so your AI can use it without seeing it.

Asking Claude or ChatGPT to "read this payslip" sends the whole document to the model provider. Private Doc Scanner reads it on your device instead, checks what it read, lets you confirm every field, and seals only those details to your own Terminal 3 vault. From there you can finally run fully autonomous transactions with your AI without it actually seeing or touching your sensitive data.
| Start | Review | Your documents | Seal | Done |
|---|
 |  |  |  |  |
Try it
- Scan, no account needed. Open the scanner on your phone, pick a document type, and upload a file or take a photo. It's read on the device and you see what it extracted, with the checks it ran. Everything happens on-device and nothing is sent anywhere.
- Let your AI use it. At "Seal and send", sign in with your email and the code it sends. First time, the scanner sets up your private vault (about 1,100 test credits on T3N testnet, once) and seals what you reviewed into it. (you need an existing Terminal 3 account with an active DID, get yours for free at https://terminal3.io/products/agent-developer-kit with pre-loaded credits)
- Connect your AI. Get your developer account and API key (below), then paste the setup prompt into Claude Code or Codex. Your assistant installs the T3N SDK, connects to your vault, and remembers the setup for next time.
Get your developer account and API key
Scanning doesn't need an account. Saving to your vault needs a Terminal 3 account (DID), and connecting an AI assistant also needs its API key. One sign-up gives you both.
- Sign up at terminal3.io/products/agent-developer-kit. Use the email you'll sign in to the scanner with, so the scanner and your assistant use the same account and vault. You get a
did:t3n (your account ID), an API key and free testnet credits.
- Save the key somewhere safe straight away, such as a password manager. It's shown once.
- Give it to your assistant without pasting it into the chat:
- Claude Code or Codex on your computer: the setup prompt creates
starter/.env (git-ignored) with an empty T3N_API_KEY= line. Open it in your editor, paste the key after the =, save, and tell your assistant "done".
- Claude Code on the web or Codex cloud: add
T3N_API_KEY in the environment's secret or environment-variable settings, allow the host cn-api.sg.testnet.t3n.terminal3.io in its network settings, and start a new session. Your assistant gives you a prompt to paste there, so the new session can carry on without remembering anything (it's also in starter/prompts/continue.txt).
Prompts for your AI
These assume your assistant remembers nothing from earlier sessions (Claude Code on the web starts
each session in a fresh container), so each one carries everything it needs. They work in Claude Code
and Codex.
1. First-time setup
I'm using the open-source Private Doc Scanner with Terminal 3 (T3N): it reads my documents on my phone
and seals the details to my own T3N vault, so AI can use them without seeing them. Set me up.
Run the commands yourself; don't ask me to run anything.
Ground rules for this whole session:
- My T3N API key is in the environment as T3N_API_KEY, or in starter/.env (git-ignored). Never print it,
ask me for it in the chat, or write it into code, git or memory.
- Never run starter/scripts/read-my-data.ts or anything else that shows my stored values.
- Never ask me to paste, upload or describe my documents. Documents go through the scanner link only.