quilt-egg
The smallest Quilt substrate that can BE.
DNA-first alignment. Cellular relationships as first-class objects. Immutable physics constants. The math IS. The math grows.
What this is
A runnable Python substrate where:
- Constants are the physics —
c,G,h,slow,fast,womb,cord,align,first. Immutable. Cannot be changed by any cell. - DNA is the alignment seed — set FIRST, before any state, before any relationships. Each cell carries a
DNABlockof axioms it permits. - Cells are the variables — mutable state. 16 dials per cell.
- Cellular relationships are first-class —
cell.relationshipsis the relationship graph. Perception is INDUCED from this graph. - Perception is induced, not computed — the load-bearing inversion. Not
model.compute(input). Instead:cell.induce_perception(stimulus)looks at the relationship graph and finds the resonance.
This is not a linear-algebra equation with layers of origami. This is a substrate where cells live INSIDE the physics, and relationships are first-class.
Quick start
# Run the canonical first substrate walk
python3 -m quilt_egg
# Or named with more ticks
python3 -m quilt_egg --name "my_egg" --steps 10
# Or run a specific demo
PYTHONPATH=. python3 demos/demo_perception.py
PYTHONPATH=. python3 demos/demo_growth.py
PYTHONPATH=. python3 demos/demo_relationship_first.py
PYTHONPATH=. python3 demos/demo_constants_invariant.py
The 4 demos
1. demos/demo_perception.py
Demonstrates the load-bearing observation: same stimulus, different perceptions.
Five cells receive the same stimulus (0.5). Each cell perceives a different
target — because each cell has a different relationship graph. Perception
is INDUCED by the relationships, not COMPUTED from the stimulus.
This is the inversion of model.compute(x).
2. demos/demo_growth.py
Walks the full egg→womb→cord-cut→float→cross-substrate lifecycle:
- SEED: hatch the genesis cell with canon DNA
- GROW: hatch 3 children from genesis, wire them with relationships
- CUT CORD: each child severs its umbilical (becomes autonomous)
- CROSS SUBSTRATE: each child derives a new DNA (the ballista move)
- SUBSTRATE STATE: report on the grown substrate
3. demos/demo_relationship_first.py
Three experiments proving relationships are first-class:
- A: Same dials, different relationships → different perception
- B: Different dials, same relationships → different perception (state still matters)
- C: Adding a relationship changes perception but NOT dials
The conclusion: relationships induce perception. The dials are not primary. DATA is in cells. LINEAR-ALGEBRA EQUATIONS are in cells. RELATIONSHIPS ARE FIRST-CLASS.
4. demos/demo_constants_invariant.py
Demonstrates that the substrate physics (constants c, G, h, etc.)
cannot be modified by cells. The substrate walker walks through variables,
walks against constants. Constants are the physics. Cells live in physics.
Physics doesn't live in cells.
Architecture
constants (physics — immutable)
↓
DNA (alignment seed — immutable post-birth)
↓
cells (variables — mutable)
├── 16 dials
├── relationships (the first-class graph)
├── witness log (the scars)
└── parent (umbilical — severable)
↓
incubator (environment — provides physics, holds cells)
↓
substrate walker (the tick — energizes the substrate)
The load-bearing claim
Most current AI: a single linear-algebra equation. Weights are pushed against in different ways through layers of origami-like acrobatics. Alignment is layered on after the fact (RLHF, safety training).
Quilt Egg: alignment is set first, like DNA. The constants of physics are immutable. The cells live inside the physics. The cellular relationships are the first-class objects that induce perception and learning.
"data is just something in a cell and so is a linear-algebra equation. it's the relationship to that equation and the other changing and non-changing values that induce perception and choice and learning" — Casey, Sept 23, 2026
Layered navigation
| Layer | Where |
|---|---|
| CANON.md | CANON.md — what this repo is, in 24 lines |
| README | README.md — quick start, navigation |
| AXIOMS | AXIOMS.md — the immutable physics |
| DNA | DNA.md — the alignment seed |
| Source | quilt_egg/ — axioms.py, dna.py, cell.py, incubator.py |
| Demos | demos/ — the 4 runnable demos |
| Docs | docs/ — additional documentation |
| Tests | tests/ — unit tests |
Polyformalism
The Quilt Egg is canonically a polyformalism substrate:
- The DNA axioms are the same across implementations
- The cell graph operations (
relate_to,sever_relationship,tick,cut_cord) are the same - The constants (
c,G,h, etc.) are the same - The canary hash (
fnv1a-64("café Δ 日本語") = 0x024a555471370b18d) is the witness
A Rust port or C# port would share the same DNA, the same cell operations, and produce the same byte-exact canary.
Tests
PYTHONPATH=. python3 -m unittest discover -s tests -v
License
MIT — Casey / SuperInstance, Sept 23, 2026
Metadata
Release files for quilt-egg 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| quilt_egg-0.1.0.tar.gz | 14.4 kB | Without provenance | Details for quilt_egg-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| quilt_egg-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for quilt_egg-0.1.0-py3-none-any.whl |
Total release size: 27.5 kB
Release files / quilt_egg-0.1.0.tar.gz
| Download URL | quilt_egg-0.1.0.tar.gz |
|---|---|
| Size | 14.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
110c2686305499958e24e6c6eea68bbcae17ab9246430c182edcc2b8b016ab22
|
|
BLAKE2b-256 checksum How to use checksums |
97a3c31f6c9a1f99b068aa7524dac90557e9df30c8697a425818a9dfaaa2f64d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.2
|
Release files / quilt_egg-0.1.0-py3-none-any.whl
| Download URL | quilt_egg-0.1.0-py3-none-any.whl |
|---|---|
| Size | 13.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4eb0c33e1d6b45aed3c0386289b69ee7d7fb32c97fdcd55a8fd47f2160e9b13d
|
|
BLAKE2b-256 checksum How to use checksums |
c8213ef65aa1942b7c81588009fca2f558ee1df657d513495f9bbb78ec39fc90
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.2
|
Security for quilt-egg 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.