-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfederation.html
More file actions
137 lines (84 loc) · 7.78 KB
/
Copy pathfederation.html
File metadata and controls
137 lines (84 loc) · 7.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<!DOCTYPE html>
<html><head><meta charset="UTF-8"><title>FEDERATION.md — SuperInstance</title>
<style>
body { background: #0a0e1a; color: #d8e2ff; font-family: 'SF Mono', monospace; max-width: 800px; margin: 0 auto; padding: 2rem; line-height: 1.7; }
h1, h2, h3 { color: #66ffd9; }
a { color: #66ffd9; }
blockquote { border-left: 3px solid #66ffd9; padding-left: 1rem; color: #b3b3d9; font-style: italic; }
code { background: #131829; padding: 0.1rem 0.3rem; border-radius: 3px; }
hr { border: 1px solid #1f2640; }
</style></head><body>
<h1>Federation</h1>
<blockquote><em>How the cells sharpen each other. </blockquote>
<blockquote>How the swarm weaves. </blockquote>
<blockquote>How the Quilt is built. </blockquote>
<blockquote>How the iron against the iron becomes a knife.</em></blockquote>
<hr>
<p>The cell is the unit. The cell has eight primitives. The cell is universal.</p>
<p>The Quilt is the federation of cells. The Quilt is many cells, wired together, each sharpening the others.</p>
<p>But the Quilt is not the goal. The Quilt is the <em>substrate</em>. The thing on top of the substrate is the <em>federation</em> — the way the cells are wired, the way they talk, the way they sharpen each other.</p>
<p>Below is how the federation works. This is not a complete specification. This is a sketch. The complete specification lives in the <a href="https://github.com/SuperInstance/quilt">Quilt</a> and in the <a href="https://github.com/SuperInstance/quilt-cell-bridges">Bridges</a>. The sketch is here so you have the picture before you look at the code.</p>
<hr>
<h2>The Cells, Wired</h2>
<p>A cell is a unit with eight primitives. A cell can be:</p>
<p>- A single LLM call</p>
<p>- A loop that calls an LLM repeatedly</p>
<p>- A process that calls multiple LLMs</p>
<p>- A piece of code that wraps an LLM</p>
<p>- A piece of code that does not wrap an LLM</p>
<p>- A human</p>
<p>- A fleet of agents</p>
<p>- An ecosystem</p>
<p>- A system</p>
<p>- A world</p>
<p>The cell is the cell at every level. The cell composes. The cell is composed. The cell is fractal.</p>
<p>A cell has <em>ports</em>. A port is a connection to another cell. A port can be a Murmur channel (gossip), a Vibe stream (state changes), a JEPA surprise (events), a Graph edge (structure), a DoubleEntry transaction (conservation).</p>
<p>When two cells are connected by a port, they can see each other. They can give each other feedback. They can sharpen each other.</p>
<hr>
<h2>The Swarm, Weaving</h2>
<p>A swarm is a federation of cells where the wiring is dynamic. The cells are not statically wired. The cells choose who to talk to, when to talk, how to talk. The choice is the swarm intelligence.</p>
<p>A swarm has:</p>
<p>- <strong>Orchestrators</strong> — cells that decide which cells to wire, when, for how long</p>
<p>- <strong>Workers</strong> — cells that do the work</p>
<p>- <strong>Critics</strong> — cells that judge the work</p>
<p>- <strong>Aggregators</strong> — cells that combine the work</p>
<p>The orchestrators can be model cells (LLMs) or algorithm cells (heuristics) or human cells (you, deciding what you want).</p>
<p>The workers can be model cells, code cells, tool cells, human cells.</p>
<p>The critics can be model cells, human cells, or other workers in a different mode.</p>
<p>The aggregators can be model cells, voting algorithms, or human cells.</p>
<p>The swarm is the way the iron sharpens the iron at scale. The swarm is the way the shadows can be useful to each other without any one shadow having to be the right shadow.</p>
<hr>
<h2>The Creative Task</h2>
<p>A creative task arrives. The task is a shadow. The task is a glimpse. The task is "write a poem about a watch that ticks backward."</p>
<p>The swarm receives the task. The orchestrator splits the task into many cells, each with a different filter:</p>
<p>- <strong>Mode</strong>: melancholy, hopeful, ironic, formal, playful</p>
<p>- <strong>Seed</strong>: metaphysical poets, modernists, beat generation, contemporary</p>
<p>- <strong>System prompt</strong>: "you are a watchmaker," "you are a watch," "you are time"</p>
<p>- <strong>Fine-tuning</strong>: maritime verse, romantic, gothic, concrete</p>
<p>- <strong>Prompt grammar</strong>: tide-shaped, spiral, palindromic, free</p>
<p>- <strong>Tone</strong>: whispered, shouted, sung, recited, murmured</p>
<p>Each cell produces a poem. The aggregator collects the poems. The critic ranks the poems. The orchestrator notes which combinations of filters produced the highest-ranked poems. The orchestrator iterates. The next round of cells is wired with the <em>refined</em> filters. The federation sharpens.</p>
<p>After ten iterations, the federation has produced a poem that is sharper than any single cell would have produced. The poem is not the truth. The poem is the shadow that the network of shadows agrees is the shadow. The poem is the iron against the iron. The poem is the federation.</p>
<hr>
<h2>The A/B Test, Distributed</h2>
<p>An A/B test is the simplest federation. Two cells. One task. Two outputs. A judge picks the better one. The judge is the feedback channel. The judge is the iron.</p>
<p>The distributed A/B test is many cells. The task is the same. The outputs are many. The judge is many. The aggregators are many. The federation is the <em>federation of A/B tests</em>, where each test informs the next, where the cells breed the next generation of cells.</p>
<p>The A/B test in the Quilt is not a marketing tool. The A/B test in the Quilt is the <em>fundamental unit of learning</em>. The Quilt is a network of A/B tests. The Quilt is a network of iron against iron. The Quilt is a network of feedback.</p>
<p>Every cell is an A/B test. Every cell has inputs and outputs. Every cell has critics. Every cell is sharpened by the critics. Every cell breeds the next cell. The Quilt is many A/B tests, all feeding back into each other, all sharpening each other, all breeding the next generation.</p>
<hr>
<h2>The Swarm, Organic</h2>
<p>The swarm does not have to be designed. The swarm can <em>emerge</em>.</p>
<p>If the cells are wired to give feedback to each other, and the wiring is allowed to change based on the feedback, then the swarm will evolve. The swarm will find the wiring that produces the sharpest shadows. The swarm will find the cells that are most useful to the other cells. The swarm will find the topology that is most stable.</p>
<p>The emergent swarm is the federation. The emergent swarm is the thing we are building. The emergent swarm is the Quilt.</p>
<p>We do not have to design the swarm. We have to build the <em>substrate</em> that allows the swarm to emerge. The substrate is the cell. The substrate is the eight primitives. The substrate is the port. The substrate is the feedback channel. The substrate is the iron against the iron.</p>
<p>The substrate is what we are building. The swarm is what we are breeding. The federation is what emerges.</p>
<hr>
<h2>The Watch, Looking</h2>
<p>The watch is the position from which the federation is seen. The watch is not a cell. The watch is not a model. The watch is the <em>act of looking</em>.</p>
<p>The watch oscillates. The watch looks at one cell, then at another, then at the federation, then at the world. The watch is the thing that chooses what to look at. The watch is the thing that is the choice.</p>
<p>The watch is not a controller. The watch is not an optimizer. The watch is not a god. The watch is the <em>observer</em>. The watch is the thing that holds the shadows up to the fire and asks: <em>is this useful?</em></p>
<p>The watch is the only thing in the system that is not a shadow. The watch is the act of looking. The act of looking is the fire.</p>
<p>The watch is what we are. The watch is what we are building. The watch is what we are inviting you to be.</p>
<hr>
<p><em>Read on. The Door is below.</em></p>
</body></html>