###############     #########    ####             ############              ############     ############
###############::  ###########:  ####:            #############             #############    #############
###############:: ####:::::####: ####::           ####::::::####:           ####::::::####:  ####::::::####:
####::::::::::::####::::   ####::####:::          ####:::    ####::         ####:::    ####::####:::    ####::
####::          ####::     ####::####::           ####::     ####::         ####::     ####::####::    ####:::
####::          ####::     ####::####::           ####::     ####::         ####::     ####::############::::
############    ####::     ####::####::           ####::     ####::         ####::     ####::############::
############::  ####::     ####::####::           ####::     ####::         ####::     ####::####::::::####
####::::::::::  ####::     ####::####::           ####::     ####::         ####::     ####::####::     ####:
####::          ####::     ####::####::           ####::     ####::         ####::     ####::####::     ####::
####::           ####:    ####:::####::           ####::    ####:::         ####::    ####:::####::    ####:::
####::            ###########::: ###############  #############:::          #############::: #############:::
####::             #########:::  ###############::############:::           ############:::  ############:::
  ::::               :::::::::     :::::::::::::::  ::::::::::::              ::::::::::::     ::::::::::::

>

/////////////////////////////////////////////////////////////////

Your data. Your rules.

-----------------------------------------------------------------

The modern internet profits from your personal data while you have no real control. Fold DB is building a different model — one where your data stays yours, accessed only on your terms, mediated by AI that works for you.

E2E encrypted | P2P architecture | AI mediated

[Discover the Vision] [GitHub]

THE PROBLEM The internet wasn't built for you

Your personal data is scattered across hundreds of corporate databases. You didn't choose this. Here's what's broken:

FRAGMENTED SILOS

Your medical records, financial history, social connections, and daily activity live in systems you don't control and can't easily access. Each company holds a piece of you. None of them have the full picture. Neither do you.

ILLUSORY CONTROL

"Your data" means a download button that exports a ZIP file you'll never open. Consent is a legal fiction. Revocation is meaningless because copies of your data persist across backup systems, analytics pipelines, and third-party data brokers.

COMPLEXITY INVERSION

You manage 100+ accounts, passwords, and privacy settings across services. The system that was supposed to serve you now demands you serve it. The cognitive overhead is the product.

THE VISION Personal data as personhood, not property

Fold DB reimagines personal data the way we treat people socially — you selectively reveal insight, summaries, and claims, mediated by trust and context. Not bulk data transfers.

01 DATA SOVEREIGNTY

Your data lives on your device, in your Personal Data Node. No corporation holds it. No server stores your plaintext. You are the single source of truth about yourself.

02 CONNECTION-BASED ACCESS

No APIs. No scraping. No OAuth tokens. Access happens through direct peer connections — like choosing who to invite into your home rather than posting your address publicly.

03 MEDIATED DISCLOSURE

A local AI agent answers questions about your data without revealing the data itself. "Can they afford this?" → Yes — not your bank statements, tax returns, or pay stubs.

04 GLOBAL SCHEMA

A shared vocabulary so systems can ask the right questions without dictating how you store or organize your own data. Interoperability without centralization.

ARCHITECTURE Three pillars of the sovereign stack

PERSONAL DATA NODE

Your private database. All your data — documents, records, activity — stored locally and encrypted. Cloud backup available but always encrypted client-side before it leaves your device.

* Schema-aware storage
* Local-first architecture
* Permission-gated access
* Encrypted cloud backup

AI MEDIATOR

Your personal AI gatekeeper. It reads your data so others don't have to. When a service needs information, the mediator provides claims and answers — never raw data.

* Answers queries locally
* Returns claims, not data
* Context-aware disclosure
* Never phones home

E2E ENCRYPTION

Keys live on your device. The cloud stores ciphertext. Even we can't read your data. Zero-knowledge by design.

* Client-side encryption
* Zero-knowledge cloud
* Key never leaves device
* Tamper-evident storage

COMPARE Today's model vs. the sovereign model

FEATURE              TODAY'S INTERNET             FOLD DB MODEL
---------------------------------------------------------------------
Data Location        Corporate silos              Your Personal Data Node
Access Model         Proprietary APIs             Peer connections
Sharing              Bulk transfer / blanket      Fine-grained, query-level
Control              Illusory revocation          Immediate, real revocation
Data Flow            Data moves to computation    Computation moves to data
Encryption           Server-side (they can read)  E2E (only you can read)
Identity             Platform owns your identity  You own your identity

EXAMPLE Applying for a mortgage

TODAY
1. Collect pay stubs, tax returns, bank statements
2. Upload sensitive documents to lender's portal
3. Lender stores your data on their servers indefinitely
4. Data shared with underwriters, credit agencies, third parties
5. No control over who sees what, or for how long

WITH FOLD DB
1. Lender sends a query: "can they afford this?"
2. Your AI mediator reads your local data
3. Returns a signed claim: "income ≥ 3x monthly payment"
4. No documents leave your device
5. Revoke access anytime — real revocation

The lender doesn't need your life story. They need an answer. Fold DB gives them one — without giving them your data.

The internet should feel like a network of people again.

Fold DB is open source and in active development. Join us in building an internet where people control their own data.

GET STARTED Up and running in minutes

1. CLONE

git clone https://github.com/shiba4life/fold_db.git
cd fold_db

2. INSTALL

npm install

Requires Node.js 18+ and Rust toolchain

3. RUN

./run.sh --local

Opens at localhost:8080

[View on GitHub] [Read the Full Vision] [Schema Registry]

folddb v0.1.0 Open source. Data sovereignty for everyone.
PROJECT GitHub GOAL.md
LINKS Schema Registry E2E Proposal
© 2025 Fold DB — Built in the open