- Python 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| __pycache__ | ||
| binder_design | ||
| docs | ||
| examples/entheogens | ||
| fold_bind.py | ||
| FURTHER_READING.md | ||
| README.md | ||
| USAGE.md | ||
PROTEIN-Q-FOLD-BIND — the 8b.is protein lane
Fold structures and affinities with Boltz-2, design binders with ESMFold2/ESMC, and interrogate the results through a Gradio + Molstar dashboard — all on Modal, key-gated for 8b.is members.
surfaces
| Surface | URL | Auth |
|---|---|---|
| dashboard | https://peterlodri-sec--protein-q-fold-bind-ui.modal.run | GitHub OAuth (8b-is member) or API key |
| fold | POST /fold?yaml=… (key) |
API key |
| bind | GET /bind?target_name=…&binder_name=…&seed=… (key) |
API key |
member keys
| Member | Key |
|---|---|
| 8bit-wraith | 8bi_bc47add8add1513dbb9c6906fdc0024f788bd2748b765821 |
| standardgalactic | sta_3dbbbf5e2a3586d8cd366aaf5994a7bfd3b319bfff3f10a5 |
| poe | poe_db86f2f0b01eee69e0a07a185d2c6c0091c77d49b0a49271 |
usage
the dashboard
https://peterlodri-sec--protein-q-fold-bind-ui.modal.run/
- fold — paste a sequence (or grab one from
examples/entheogens/), pick sampling steps, toggle the MSA server (off = fast), fold with Boltz-2, view the structure in Molstar. - bind — pick a target (cd45, ctla4, egfr, pd-l1, pdgfr) or paste a custom target sequence, pick a binder template, seed + batch, design with ESMFold2.
- sweep — the big search: targets × binders × seeds across the GPU park, selection parquet.
- gateway — members, keys, auth, endpoints.
the API (machines)
Keys are pre-generated per member; send Authorization: Bearer <key>.
# fold — a YAML body, gzipped tarball back
curl -s "https://peterlodri-sec--protein-q-fold-bind-ui.modal.run/fold?yaml=$(python3 -c 'print("version: 1\nsequences:\n - protein:\n id: A\n sequence: MVTRLE...")')" \
-H "Authorization: Bearer YOUR_KEY" -o fold.tar.gz
# bind — a designed sequence back
curl -s "https://peterlodri-sec--protein-q-fold-bind-ui.modal.run/bind?target_name=pd-l1&binder_name=minibinder&seed=0" \
-H "Authorization: Bearer YOUR_KEY"
dashboard auth
Humans: GitHub OAuth (8b-is org membership) once the OAuth App is registered (GITHUB_CLIENT_ID / GITHUB_CLIENT_SECRET in the Modal env). Until then: API keys work everywhere.
first fold is slow
The first fold downloads ~2 GB of Boltz-2 weights (one time) and cold-starts the H100. After that the container stays warm for 2 minutes per burst — subsequent folds are minutes, not tens of minutes. The H100 scales down fast to keep cost low.
entheogen sequences
examples/entheogens/ — the fold tab's example set, every entheogen's
protein door as a FASTA (UniProt-canonical):
| Compound | Primary target | UniProt | File |
|---|---|---|---|
| psilocybin / psilocin | 5-HT2A | P28223 | P28223.fasta |
| psilocybin (2B arm) | 5-HT2B | P41595 | P41595.fasta |
| LSD | 5-HT2A / 5-HT2C | P28223 / P28335 | P28223.fasta / P28335.fasta |
| DMT (endogenous) | Sigma-1 | Q99720 | Q99720.fasta |
| 5-MeO-DMT | 5-HT2A + MAO-A | P28223 / P21397 | P28223.fasta / P21397.fasta |
| MDMA | SERT | P31645 | P31645.fasta |
| mescaline | 5-HT2A | P28223 | P28223.fasta |
| ibogaine | Sigma-1 / SERT | Q99720 / P31645 | Q99720.fasta / P31645.fasta |
| ketamine | NMDA GluN1 | Q05586 | Q05586.fasta |
| (reference) | D2 dopamine receptor | P14416 | P14416.fasta |
the visual twin — viz.vaked.dev
For every entheogen above there is also a visual signature on https://viz.vaked.dev/ — the ENTHEA altered-states synthesizer: substance emulation (LSD, psilocybin, DMT, MDMA, mescaline, ayahuasca, 2C-B, ketamine, salvia, 5-MeO-DMT, ibogaine, amanita, cannabis, nitrous) with the wave-visual + MATH sequences — live Wilson–Cowan neural fields, Turing reaction–diffusion, Klüver form constants, hyperbolic tessellations, phasor vines, Weierstrass ℘, Blaschke rosettes, Arnold tongues — each mode a real equation in the math HUD.
Live listening AND dogfeeding: the viz listens to whatever audio reaches it (mic, file, or any captured browser tab — Chrome), and the loop feeds back: fold the target here → watch its signature on viz → the signature's audio-reactive geometry informs the next design. The garden and the lab share one loop.
further reading
standardgalactic (Nate)
- Centerfuge — admissibility-experiments — the suite this service's philosophy rhymes with: a claim made as geometry, evidence as sidecars, replayable ⇒ admissible. The fold is a claim; the CIF is the evidence. https://github.com/standardgalactic/Centerfuge
- Entropic gravity: from thermodynamic emergence to admissible structure — the admissibility reading (S ≈ log Vol(A)) that the constellation's own research lane builds on.
8b.is/public-documents
- sparse-representations/kompress_v2 — consensus distillation and spectral rigidity: the ternary lane's correctness argument, and the same "replayable ⇒ admissible" contract the fold outputs carry.
- forth/ — 01-semantic-relaxation.fth · 02-clio-projection.fth · 04-rsvp-dynamics.fth — the engine-door documents; the fold's deterministic pipeline is the same discipline in a different medium.
- constraint_as_ground.pdf — the ground holds; a folded structure is a constraint satisfied in 3D.
- entheai — the engine door: personas, the enthea language, the bus of 1-bit models. PROTEIN-Q-FOLD-BIND is the same bus, carrying proteins instead of trits.
the seam
The constellation's rule — deterministic, seeded, replayable — is exactly what Boltz-2 and ESMFold2 give you with a fixed seed and deterministic algorithms (CUBLAS workspace pinned). A fold is a seed line; the CIF is its replay. The garden and the lab speak one language.
the constellation · 0 + 1 · fine touch from within · vaked.dev