Provenance-tracking platform for AI-generated text.
Vellum answers a question the internet will spend the next decade asking:
Was this text written by an AI? By which AI, when, and on whose behalf?
It is a provenance-tracking platform for AI-generated text — a full stack that binds a piece of prose to verifiable identity, an invisible watermark, and an on-chain timestamp. Together those three pillars let a reader, downstream of the LLM itself, inspect any passage and decide whether to trust it.
Originally built at UWB Hacks, where it won an MLH track prize.
Generative models can now produce fluent text at near-zero cost. That collapses the shared assumption that "if it reads cleanly, a person wrote it." Provenance — the answer to who authored this, and when — quietly disappeared from most online writing, and there is no widely deployed way to put it back.
That gap is felt most sharply where trust is expensive: journalism, academic work, citations, policy drafts, machine-generated evidence. Without provenance, readers can only default to skepticism. Remediation after the fact (detection, attribution, dispute) is brittle and losing ground as models improve. The cheap, durable alternative is to attach provenance at the point of generation, so the assertion travels with the text itself.
Vellum doesn't try to detect AI text after the fact. It records who (or what) produced the text the moment it is generated, and it makes that record checkable later — even if the original server is gone, renamed, or adversarial. Three independent mechanisms combine, each covering a different trust question:
- Verifiable identity (Auth0). A generation request is tied to an authenticated account — a person (a signed-in user) or an agent acting on their behalf. This answers "who is responsible for this generation?"
- Invisible watermarks (zero-width Unicode). The text itself carries metadata embedded through invisible Unicode code points — imperceptible to human readers but recoverable by anyone with the extraction logic. The watermark survives copy-paste, so provenance travels with the prose. This answers "is this the text that was actually generated, unmodified?"
- On-chain anchoring (Solana Devnet). A cryptographic digest of the watermark
payload is written to the Solana ledger as a
memoinstruction. Anyone can independently verify the digest and the timestamp the block produced, with no reliance on Vellum's own infrastructure. This answers "was this really logged at the claimed time?"
The three pillars compose: identity without integrity can be spoofed, integrity without a timestamp can be backdated, and a timestamp without identity is just numeral. Together they form a claim a reader can audit without trusting Vellum itself.
# Full bootstrap (creates .venv, installs everything, initializes DB)
make bootstrap
# — or step by step —
make install # uv sync + npm ci
cp .env.example .env
make dev # backend + frontend in parallelOpen http://localhost:5173 for the SPA, http://localhost:5050/api/health for the API.
┌──────────────────────┐
│ React SPA (Vite) │
│ React 19 UI │
└──────────┬───────────┘
│
┌──────────────┴──────────────┐
│ │
▼ ▼
┌───────────────────┐ ┌────────────────────┐
│ Chrome MV3 ext. │ │ vellum-server │
│ (TypeScript) │────────►│ (FastAPI) │
└───────────────────┘ └─────────┬──────────┬─┘
│ │
┌────────────────┘ │
▼ ▼
┌────────────────┐ ┌──────────────────┐
│ Auth0 │ │ Solana Devnet │
│ (OIDC identity)│ │ (memo program) │
└────────────────┘ └──────────────────┘
▲
│
┌──────────────────┐
│ SQLite │
│ (aiosqlite) │
└──────────────────┘
See REWRITE_SPEC.md for the full design.
| Path | Purpose |
|---|---|
packages/watermark/ |
Pure-Python invisible-watermark library |
src/vellum/ |
FastAPI backend (config, auth, services, providers, chain, db, api) |
frontend/ |
React 19 + Vite SPA |
extension/ |
Chrome MV3 extension (TypeScript) |
tests/ |
Pytest suites: unit, integration, e2e |
scripts/ |
Bootstrap and dev scripts |
make dev # backend + frontend in parallel
make test # full test suite
make lint # ruff + mypy + eslint
make build # production frontend build
make bootstrap-solana # full setup + Solana devnet keypair
make bootstrap-auth0 # full setup + Auth0 tenantAll settings come from environment variables — see .env.example
for the canonical list. Two convenience modes keep local development friction-free:
| Variable | Effect when set |
|---|---|
AUTH0_DOMAIN |
Empty → demo mode (no auth, requests attributed to a fake actor). Populated → live Auth0 OIDC. |
DEMO_MODE=fixture |
Swaps live LLM calls for deterministic recorded responses — keeps CI green and offline dev fast. |
The repo includes a GitHub Actions workflow for DigitalOcean App Platform. It builds a single container image bundling the Vite frontend (served as static assets) with the FastAPI backend, then deploys it through the DigitalOcean Container Registry.
See docs/digitalocean-deploy.md for the required
GitHub secrets and variables.
See docs/features.md for the redesigned Studio/Ledger UI,
the Auth0 agent action flow, the browser-wallet proof model, the DigitalOcean
deployment status, and Solana readiness notes.
Vellum v2 is a working research prototype demonstrating end-to-end watermarking → on-chain anchoring → verification. It targets Solana Devnet (not mainnet-production-grade) and SQLite for storage, on purpose: the goal is to keep the moving parts inspectable, not to ship a hosted platform. See the docs/ tree for what is load-bearing versus what is scaffolding.