encode · encrypt · enclave

A formally verified protocol for sovereign, portable, privacy‑preserving apps.

ENC gives apps mathematically proven security: your private data lives in virtual enclaves you own — verifiable offline, with the liveness, performance, and scale of a centralized app. Its code, generated from a formally proven spec, runs provably as verified — the only way to build apps agents can trust.

Own it — and prove it.


Vibe coding is broken

Trust doesn't scale to machines.

Every app runs on infrastructure you have to trust — an operator who can silently rewrite your data, censor you, or vanish, with no way to check. That held while code was human-written, human-reviewed, run by accountable people, and watched by humans who'd notice. All four are now false.

Code is AI-written faster than anyone can audit; apps are run by autonomous agents at machine speed; reputation and terms of service don't survive millions of unattended interactions. When no human can vouch for the operator or the code, the only trust that scales is mathematical proof.


The new paradigm

Three properties that stack.

ENC is a trust-minimized protocol that delivers self-sovereignty through verifiability — each property resting on the one before it.

Trust-minimized

Not "trustless" — there's always some trusted base. Minimized to a small, explicit, measurable surface, with everything above it backed by proof.

Verifiable

Every piece of data and line of running code can be checked, not believed — authentic, ordered, unaltered, authorized — without trusting the source.

Self-sovereign

Your identity, data, and money are yours: encrypted, portable. No phone number, no central account, no operator that can censor or revoke you.


The protocol kernel

One small, verified core.

At ENC's core is a tiny verified kernel that runs no app code: state is non-computing (key→value leaves), and a manifest declares everything an enclave is. The node enforces that declaration — verify, check, append, update the tree — nothing arbitrary to run. An app composes several enclaves over a federated mesh.

Declarative enclaves

A cryptographically-defined, append-only log that's yours — the host sees only ciphertext. Declared, never executed.

RBAC

Three columns, six verbs, one bitmask. Escalation isn't forbidden, it's unrepresentable — permissions are theorems, not config.

Sparse Merkle Tree

State commits to one Merkle root — prove any state fact (a balance, a role) offline, without trusting the node.

Certificate Transparency

History is an append-only CT log, bound to the state root and signed as a Signed Tree Head — tamper-evident and consistency-checkable.

zkEnc

Optional zero-knowledge proofs show state was reached only by authorized transitions — prove what's true while contents stay encrypted.

Mesh & portability

Auto-scaling edge workers (one per enclave) order and deliver but never sign for you — so liveness, performance, and scale are built in. Portable like git; run your own node anywhere.


Confidentiality

Pluggable encryption, on top.

The verified core is transparent about the rules — anyone you allow can confirm what happened and that it followed them — but never about your content. Encryption isn't baked in; it layers on top as swappable plugins, chosen by the shape of the conversation, scaling the same core from a private note to a DM to a large group. Swap in a new scheme — even post-quantum — without touching the verified core; each plugin carries its own machine-checked security claim.

Private

One reader — you. Authenticated encryption under a key only you hold, for your own private data.

DM

Two parties. A forward-secret double ratchet, so a compromised key never exposes past messages.

Group

N parties. A lazy-MLS tree that rekeys in O(log N) on a membership change, so large groups stay cheap.


Formal verification

Trust, replaced by proof.

Every other "formally verified" protocol shares one unsolved problem: the proof covers a model, but the code that ships is hand-written — or vibe-coded by an AI — and drifts the moment coding starts. That gap is where bugs and backdoors live. ENC closes it by construction.

One Lean 4 specification carries the proof; a deterministic CodeGen emits the Lean, JavaScript, Rust, and WebAssembly that ship. A reproducibility gate fails the build unless every regenerated artifact matches hash-for-hash; the spec itself compiles to an executable reference; and witnesses replay the tests against the exact shipped bytes. The running code is held to the proof — no second codebase to drift. The code is the spec, compiled.


Built for agents

The only computable trust is verification.

An agent has no judgment to fall back on, so the trust a human supplied must become something the machine can compute. On ENC an agent acts under its own sub-key, authorized by a cosigned, time-boxed certificate — your root key is never handed over. The cert expires and is revocable, so a compromised or hijacked agent has a bounded blast radius and never exposes your identity. The leash is math, not hope.

Identity

A sovereign, portable agent identity. No central account to revoke.

Memory

A durable, portable, verifiable append-only log it owns and carries anywhere.

Composability

Typed, verifiable data other agents consume as trusted input. Trust travels with the data.


ENC Pipeline

Instant app generation with proven security, by math and AI.

Enterprise access

The ENC Pipeline lets autonomous agents generate any app, instantly, with mathematical guarantees instead of human review — not just the app, but the infrastructure, UI, dataview servers, and client logic too, all from the same proven core. Around 1,500 apps are already formalized into a smart corpus for instant generation of any kind; trust rests on the proof, not the builder, and every new version is re-proven before it ships.

SpecGen

Creates and audits the spec: prose → a reviewed formal meaning → a Lean theorem → a witnessed, signed report graded on a public trust lattice.

CodeGen

Generates the system: one Lean spec compiled byte-identically to Lean, JavaScript, Rust, and WebAssembly — reproducibility-gated.

AppGen

Generates the apps: one sentence of intent → a verified app, instant across 10+ platforms (web, mobile, desktop, CLI, IoT), with mathematical security and generated tests, plus SDK and agent skills.

TestGen

Verifies everywhere: one workflow corpus replayed across every platform via adapters, with a matrix theorem and witnesses that sign the bytes.


ENC Cloud

Deploy and manage scalable enclaves, instantly.

Private alpha

ENC Cloud lets you deploy and manage enclaves in one place — spin one up, scale it, migrate it, retire it. Under the hood it's a network of edge-worker node operators: because a node orders and delivers but can't forge, sign, or read your data, you get managed hosting without handing over trust — and no lock-in, since an enclave migrates to another operator, or off the cloud entirely, in one command.

Indefinite scale

One auto-scaling worker per enclave, globally distributed. Sharding is proven, so the network grows without any guarantee breaking.

Edge performance

Nodes run at the edge, next to every user — centralized-app latency, no consensus tax.

Low cost

Serverless workers — no idle servers to pay for — and a non-computing kernel that does tiny, bounded work per event. Hosting stays cheap.