GIGI Builds — book cover: Bee Davis with Bird, title over an illustrated portrait
First edition · ISBN 9798181715820

Companion site to the book

GIGI Builds

The fiber-bundle database: a working engineer’s guide from schema to shard — eighteen chapters, every one of them ending in an experiment you can run tonight.

“The engine carries the whole tuple in memory on every operation; the rows are a shadow it casts.”

The book

An afternoon to read. Under a minute to run.

In 1970 we flattened data into tables and spent fifty years bolting the shape back on with sidecars — a search service for the proximity we discarded, a graph database for the adjacency, a vector store for the geometry, a lineage tool for the provenance. GIGI Builds is the ask to look under the table: your data has a literal shape — curvature you can measure, holes you can count, loops that remember — and a database that stores the shape alongside the rows.

The phone book and the moon. A phone book is an index with stuff at each name — that’s every relational database ever shipped. Now imagine the index isn’t a flat list but the surface of the moon: terrain under every point, craters, and the strange fact that walking a closed loop can leave you facing a new direction. GIGI treats your database like the moon. The rows are still there — every query returns what Postgres would — but every response also carries the geometry, free, because the substrate computed it on the way through.

Seven parts climb the generator G = (M, g, J, ∇, B, Γ) one piece at a time — from the O(1) address to gauge encryption to running the engine in production. Chapters end with exercises. Claims end with receipts.

The builds

Seven parts. Eighteen chapters. Every one runs.

Each chapter is a build: the prose walks the idea, the code is in the repo, and the exercises reproduce the receipts. Here is the full map — and all 126 exercises are online.

GIGI, the database

A conventional database stores rows. GIGI stores the geometry rows live on.

GIGI (Geometric Intrinsic Global Index) is a fiber-bundle database engine, written in Rust, free for noncommercial use. Curvature, spectral connectivity, holonomy, and confidence update incrementally on every insert and ride along on every query — no sidecar services, no quarterly batch job.

Day one, side by side
You want to…Conventional stackGIGI
Look up by keyB-tree, O(log N)SECTION b AT (id='X') — O(1), response carries κ + confidence
Detect anomaliesStreaming pipeline + outlier modelCurvature κ already updated per insert — outliers are where κ spikes
“How clustered is my data?”Run k-means offlineSPECTRAL b — Fiedler value λ₁, cached, incrementally refreshed
Join two tablesHash joinPULLBACK orders ALONG customers — a pullback of bundles
Encrypt analytics columnsColumn encryption breaks the indexesGauge encryption preserves κ, λ₁, anomaly scores at native speed
# clone tonight — the book's standing offer
git clone https://github.com/nurdymuny/gigi
cd gigi && cargo build --release
PORT=3142 ./target/release/gigi-stream

# or just poke the public instance
curl https://gigi-stream.fly.dev/v1/health

Free to read, run & teach

The engine and the book ship under PolyForm Noncommercial 1.0.0: personal use, research, teaching, and running every experiment in every chapter are all permitted purposes. Commercial licensing is reserved.

“I make money off of the people who make money; everyone else reads, runs the experiments, and teaches.”

The author

Bee Rosa Davis

Founder of Davis Geometric, an independent research lab applying differential geometry, fiber-bundle theory, and spectral methods to AI interpretability, plasma physics, pharmacokinetics, agriculture, financial reconciliation, and national security. Brown University alum, NASA engineer, holder of the patents this book cites by number — and author of The Geometry of Flight, the substrate story underneath this one.

“Every receipt this book prints is a receipt the reader can produce.”
Bee reaching for a book with Bird perched on the shelf
Portrait of Bee with Bird on her head
Bee holding a cup of coffee in the park with Bird on her shoulder