For curious kids and the adults who follow along
A cell is like a Lego block — but smarter. Each Lego block has a job: a 2x1 brick connects things. A wheel rolls. A roof sits on top.
Cells in Quilt have 11 jobs:
| Job | What it does | Like a Pokemon move |
|---|---|---|
| BIND | Makes a new cell | Splash (creates water) |
| LINK | Connects two cells | Vine Whip |
| EFFECT | Changes a cell's state | Thunderbolt |
| VIEW | Looks at a cell | Scan |
| TICK | Advances time by one | Time Walk |
| FORGET | Removes a cell | Self-destruct |
| PROOF | Verifies a cell | Guard |
| ROUTE | Sends a cell to another | Teleport |
| CRDT | Merges two cells | Fusion |
| WORLD | Places a cell on a map | Fly |
| TIME | Schedules a cell | Future Sight |
Most Lego blocks have ONE move. A Quilt cell can use any of the 11, depending on what it needs to do.
In the Harry Potter books, first-years put on the Sorting Hat and it tells them which House they belong to. The Hat is magical — it knows things about you.
JEV is a Sorting Hat for AI. It doesn't write poems or draw pictures. It just decides things. You give it a kid and a question, and it says "85% Gryffindor, 12% Ravenclaw, 3% Hufflepuff, 0% Slytherin."
JEV never makes up an answer outside the Houses you gave it. If you only gave it 4 Houses, it cannot say "5th house." That's what makes it the Sorting Hat and not a regular wizard.
Now, in real AI there are three workers:
When all three agree, you're sorted. When they disagree, the school debates which is right.
You see lightning. You count: one-Mississippi, two-Mississippi, three-Mississippi. Then you hear thunder. The bigger the gap, the farther away the storm.
JEPA, JEV, and LLM work the same way:
Without JEPA, JEV is rigid — it knows distance but not direction. Without JEV, JEPA is hallucination — it knows direction but not distance. Without LLM, nobody can tell anyone else what happened.
Get a parent to help you with this. You'll need:
replit.comtypesafe.ai (parent signs up)Open Replit and make a new Python file. Paste this:
import os, requests
def jev_sort(name, hobby):
r = requests.post(
"https://api.typesafe.ai/v1/systemone",
headers={"Authorization": f"Bearer {os.environ['TYPESAFEAI_KEY']}"},
json={
"model": "jev-latest",
"state": f"{name} likes {hobby}",
"questions": {
"house": {
"type": "choice",
"question": "Which Hogwarts house?",
"criteria": {"Gryffindor":"brave","Ravenclaw":"clever","Hufflepuff":"kind","Slytherin":"ambitious"},
"options": ["Gryffindor","Ravenclaw","Hufflepuff","Slytherin"]
}
}
}
)
return r.json()["answers"]["house"]["choice"]
print(jev_sort("Alice","rock climbing"))
print(jev_sort("Bob","reading books"))
print(jev_sort("Carmen","helping grandma"))
Set your key: in the Replit "Secrets" tab, add TYPESAFEAI_KEY with the value from typesafe.ai.
Click Run. Watch the Sorting Hat do its work.