Huma lets people prove they wrote something themselves, instead of being judged by AI detectors that guess.
The problem: AI detectors look at the words and estimate a probability, and they're often wrong. In one Stanford study, popular detectors flagged 61% of essays by non-native English writers as AI. Students, freelancers and writers get accused with no way to defend themselves, because a detector's guess can't be checked.
What Huma does: instead of guessing from the final text, Huma records how the text was written.
- Write in Huma's editor, in the browser or the Mac app. Huma records the writing process on your device: keystrokes, timing, pauses, edits and pastes. Your keystrokes never leave your device.
- Check-ins: while you write, short "Still writing?" prompts are approved with a passkey or Touch ID, showing a real person is present.
- Finish: Huma turns that record into a zero-knowledge proof (Noir circuits, proved with Barretenberg), on your own device. It proves the writing rules were met (typed rather than pasted, natural rhythm and pauses, enough time) without revealing the keystrokes, and gives a Huma Score out of 100.
- Share: you get a link and a PDF report with the proof attached. Anyone can open it and re-verify the proof in their own browser, with no account and no need to trust Huma's server. There's an optional replay of the writing.
World ID: sign-in is World ID only (IDKit, Proof of Human). Each proof is bound to the device's own publishing key, and our server verifies it with World's API. The account is derived from the World ID's nullifier, so one real human gets one account, the same on every device, without ever revealing who they are. Every page a writer shares shows the same anonymous "Verified human · World ID" fingerprint, so writers can claim their work, and nobody can farm fake accounts to mass-produce "human" content. It works on web and Mac: the Mac app signs in through a World ID page bound to its Secure Enclave key.
Arkiv: Huma's whole storage layer runs on Arkiv. Shared pages, proofs, publication records, account documents, handles and short links are stored as Arkiv entities, encrypted with AES-256-GCM and split into 120 KiB chunks, with typed, queryable attributes. For every shared page, Huma also anchors a public, signed hash record on Arkiv: the text hash, proof hash and writer's signature, never the text itself. The verify page reads that record back from Arkiv and checks it against the page, so anyone can confirm a page's record independently of Huma.
Why it matters: soon most writing online will be AI. Huma gives humans a way to show their words are theirs: anonymous, verifiable by anyone, and based on how the text was written rather than how it sounds.
Huma has three parts: a Mac app in Swift, a browser writer and web server in Node.js, and a proving stack shared by both. World ID handles identity; Arkiv handles storage.
- RECORDING AND PROVING HOW TEXT WAS TYPED
- The editor: on the web it's built on ProseMirror; on the Mac, in SwiftUI/AppKit. Every keystroke, pause, edit and paste is recorded locally by a Rust recorder (compiled to WebAssembly for the browser). Each session's events are signed by the device's own P-256 key: the Secure Enclave on Mac, WebCrypto in the browser. Mid-session check-ins are approved with a passkey or Touch ID.
- The proof: at Finish, Noir circuits (nargo 1.0.0-beta.25) check the writing rules (typed, not pasted; natural timing; real elapsed time), and Barretenberg (bb 5.2.1, UltraHonk) proves them. Long documents are split into parts that prove in the background while you're still writing, plus one final proof, with text tiers of 1,024, 4,096 or 10,000 characters. Finish only waits for the last bit.
- In the browser: bb.js runs multi-threaded in a web worker. That needs a cross-origin-isolated page (COOP/COEP) to get SharedArrayBuffer; witnesses come from Noir's own solver compiled to WebAssembly.
- On the Mac: the proving engine ships inside the app, fully offline, and runs its JavaScript on macOS's built-in JavaScriptCore instead of bundling Node.js (116 MB saved).
- Checking it: anyone can re-verify a proof in their browser against pinned verification keys. The PDF report carries the proof inside it as a standard PDF attachment.
- Real time, not device time: the server issues a session nonce when writing starts, which becomes part of the proof. That stops scripts faking the writing time with a doctored clock.
- WORLD ID (IDKit 4.6, Proof of Human)
- Sign-in is World ID only. Our server signs each IDKit request with our signing key, so the key never reaches the browser.
- Proofs can't be reused: each one is bound to the device's own publishing key (signal "huma-account:<device key>"), so a proof can't be replayed for another account. The server checks every proof with World's verify API; the browser's answer is never trusted on its own.
- One person, one account: the account ID is derived from the World ID nullifier, so the same human gets the same account everywhere and can't make a second one. Every page shows the same anonymous fingerprint, which lets writers claim their work without revealing who they are.
- Mac sign-in with zero Swift changes: the app already signed in by opening a web page with a secret code and its Secure Enclave key, then polling for the result. We swapped that page to IDKit, proving World ID for the Mac's own key, so the app didn't need to change.
- Partner benefit: a credential that proves "one unique human" is exactly what turns "this text was typed" into "a unique person typed this". It also gives us sybil resistance against account farms, which a typing proof alone can't.
- ARKIV (@arkiv-network/sdk, Rabdi testnet)
- One drop-in storage layer: we wrote ArkivObjectStore to the same interface as our local and Cloudflare R2 storage. With one setting, HUMA_STORAGE_BACKEND=arkiv, the whole app (pages, proofs, records, documents, handles, short links) runs on Arkiv without changing any other code.
- Encrypted, in chunks: every object is encrypted with AES-256-GCM, with its storage key as authenticated data so a payload can't be moved to another key. It's split into 120 KiB chunks, because we measured Arkiv's transaction limit at about 128 KiB. A read only counts once every chunk of a write is present, so half-finished writes are ignored.
- Queryable: entities carry typed, indexed attributes (key, kind, chunk number, time, owner), so Arkiv's SQL-like queries can list, for example, a writer's pages.
- Changing state: data that changes, like documents and handles, is replaced by compare-and-swap. The old chunks are deleted and the new ones created in one transaction.
- A public record per page: for every shared page, we also anchor an unencrypted, signed hash record (text hash, proof hash, writer's signature). The verify page reads it back from Arkiv and checks it against the page.
- Partner benefit: pages and their records live in a public, queryable data layer that isn't just our server. Readers can look up a page's record on Arkiv themselves.
HACKY BITS WORTH MENTIONING
- Colliding writes from one wallet. Sharing writes the text, proof and replay to Arkiv at the same time, and they collided with "replacement transaction underpriced". We fixed it with viem's nonce manager, so parallel writes each get their own nonce: three writes now take about 8 seconds instead of failing.
- A 7-second wait to start writing. Each Arkiv transaction takes about 7 seconds to confirm, which made Start Recording slow. So short-lived state that changes constantly (session nonces, daily counters) stays on the server's disk, and everything that matters goes to Arkiv. Start went from about 7 seconds to about 6 milliseconds.
- An account ID shaped like a wallet. World ID accounts have no wallet, so we derive a wallet-shaped address from the nullifier. That let World ID accounts reuse the existing device-linking code, which expected a wallet address.
- No URL in JavaScriptCore. The Mac's JavaScriptCore has no URL, which silently broke every Mac proof check. We rewrote that origin check with a strict pattern, and confirmed it gives exactly the same answers as URL on our edge cases.
- The access key in error logs. The Arkiv RPC address contains the access key, so the server's error logs blank it out.