decenmind

Technical architecture

Draft v0.4 · 28 November 2026 · companion to the Genesis paper

Most of this page is still a design. Built and checked: the message and ledger library, the coordinator, file storage for a day, and a Windows node with one reference job. Built means code with tests that pass. The coordinator is deployed on a test chain that only the project's own listed test nodes can join; its ledger is public (read it live) and it will be reset. No AI model runs on the network yet. Running it forced corrections to draft v0.3, listed in section 13.

  1. 1 Components
  2. 2 What is centralised, and when
  3. 3 Identities and messages
  4. 4 Model capsules
  5. 5 The worker
  6. 6 Verification
  7. 7 Network
  8. 8 Model distribution
  9. 9 Settlement
  10. 10 Founder infrastructure
  11. 11 Threats
  12. 12 From here to an open network
  13. 13 Changes

1Components

Requesterclient or gateway Coordinationdiscovery, matching, beacon Model registryhashes, licence, units Workercontained runtime Verifierre-runs a random share Seeders, relaysweights, connections Settlementescrow, bonds, receipts offer models assign output, direct commit verdict receipt weights

The requester's payment or credit is locked in settlement before the offer goes out. By design the output travels from the worker straight to the requester, and nothing large passes through coordination. Today there is no direct path: inputs and outputs wait one day in the project's file storage, named by their hash.

2What is centralised, and when

The network today is centralised and says so. Each function has an owner today and a step at which it is handed over. The same signed messages are used throughout, so a function can change hands without changing the client.

The steps, in order: 1 the door opens to anyone; 2 a real model runs, and its audit is calibrated on the cards that joined; 3 the daily coin count starts; 4 the coin on Solana; 5 paid work, gateways, a second coordinator, direct links between machines, the browser node; 6 registry and bonds on chain, the right to change the mint given up, and the founder-shutdown test.

FunctionTodayHanded over atEnd state
DiscoveryThe project's coordinatorStep 5Hash table, seeded from several published lists; community lists only
MatchingThe coordinator's queue; it draws the worker of every credit and unpaid job at randomStep 5Paid jobs: the requester's client, over gossip. Credit and unpaid jobs: a public draw
Audit randomnessA public randomness beacon run by independent operators; the round is fixed by the commit's time (section 6.4)Never the project'sSame, or a block hash of the settlement chain
VerifiersOne, the project'sStep 6Bonded verifiers drawn from an open set
LedgerHash-chained public log of signed receipts, readable by anyoneSteps 3 to 6Mirrored by anyone; the daily count, then escrow, bonds and the registry in programs on Solana
The mintNone yet: DCM is not minted (its rules)Step 4, then 6A program on Solana. It can be changed while the network is tested in the open; that right is given up at step 6
File storageThe project's; a file is kept one dayStep 5Direct transfer between machines, by hash
Model registryA list the project setsStep 6Governed by bonded participants
ReleasesThe project's; the source is not public yetSteps 1 and 6Public source, reproducible builds, several signers, the founder's key removed
GatewayNone existsStep 5Anyone's
A second coordinatorNoneStep 5Run by someone else, with no change to the client

3Identities and messages

State: built. An identity is an Ed25519 key pair. Every message is a JSON object in canonical form, signed by its sender and named by the hash of its bytes. There are six kinds.

{
  "v": 1,
  "type": "offer",
  "from": "ed25519:9f3c...a1",
  "nonce": "b64:Qm8x...",
  "ts": 1795830000,
  "body": {
    "job": "blake3:5d0e...77",
    "model": "blake3:c41a...09",
    "input": "blake3:77ab...e2",
    "seed": 184467,
    "params": { "steps": 12 },
    "units": 240,
    "pay": { "lane": "credit", "max": 240 }
  },
  "sig": "b64:pX0k...Dg=="
}
KindSigned byBody
offerRequesterjob, model, input, seed, params, units, pay: the lane (credit, money or free; money is the paid lane, in DCM) and the most it backs
bidWorkerjob, offer, price. For a credit job the price is the job's units, no more and no less
assignCoordinatorjob, offer, worker, bid
commitWorkerjob, assign, output, fingerprint
auditThe drawn verifierjob, commit, beacon, verdict: pass or fail
receiptCoordinatorseq, prev, job, the five messages above in full, beacon, round, outcome, units, price, relays, split

A job's id is the hash of its requester, the offer's nonce and the offer's content, so no two offers share one. Each message names the one before it by hash: a bid its offer, an assignment its bid, a commitment its assignment, an audit its commitment. Shapes are closed: an unknown field is refused. A message is refused if its time is too far from the receiver's clock or its nonce was seen before.

A receipt is the settled record of one job. It carries every signed message of that job and the hash of the receipt before it. Receipts are what the ledger is made of: anyone who holds them can check every signature again and recompute every balance. A changed byte or a missing receipt is refused. A job that has not settled within a day of its offer will no longer be able to settle, so that no node has to remember every job for ever; this last rule is built.

One signature rule. Two common ways of checking an Ed25519 signature give different answers for keys built to exploit the difference. In our test, of 32 such signatures one library accepted all 32 and another accepted 6. Two honest nodes would have disagreed on whether a message was valid. The format therefore fixes one rule, and every implementation must return exactly its verdict: the key and the point R lie in the prime-order subgroup, S is below the group order, and the cofactorless equation holds. The signatures that tell implementations apart are in the test vectors.

4Model capsules

A registry entry is a manifest. Its hash is the model's identity.

{
  "name": "image-to-3d-reference",
  "licence": "MIT",
  "weights": [
    { "file": "stage1.safetensors", "blake3": "…", "bytes": 3462000000 },
    { "file": "stage2.safetensors", "blake3": "…", "bytes": 1180000000 }
  ],
  "runtime": { "name": "dm-torch", "version": "0.1.0", "build": "blake3:…" },
  "needs": { "vram_gb": 8 },
  "units": { "reference_job": 240 },
  "fingerprint": { "method": "latent-snapshot", "at_steps": [4, 8, 12], "tolerance": 0.035 }
}

Weights are accepted only in formats that cannot execute. A model is listed only if its licence allows serving it to anyone, anywhere, and only once its fingerprint has been calibrated (section 6.3).

5The worker

Four processes, with the least privilege each can work with.

ProcessDoesMay touch
SupervisorHolds the key, speaks the protocol, starts jobsNetwork, its own data folder
Job runnerRuns one job with one listed runtimeBy design: read-only weights, one output folder, the GPU, no network. Built: a working folder per job, and limits on its memory, processor, processes and lifetime. Not built: no network, and a private view of files
GovernorDecides whether the machine may work nowReads idle time, temperature and power state
UpdaterFetches and checks signed releasesNetwork, the install folder

The governor is the owner's control: work only while idle, stop the moment a full-screen program or a game starts, cap temperature and power, keep to chosen hours, and sleep when there is no work. That last rule is not a courtesy. A machine kept awake to wait loses money (economics, section 3).

Runtimes are a fixed, short list, pinned by hash. Nothing is installed at run time. Windows is the first target, because that is where the idle gaming cards are.

6Verification

6.1 What is being checked

That the listed model, at the listed precision, ran on this input with this seed for the stated number of steps. Not that the output is good. Quality is the model's business; faithfulness is the network's.

6.2 Fingerprints

Kind of modelFingerprintState
LanguageLocality-sensitive hash of activations at fixed layersPublished by others, to be reproduced
Image, videoLatent at fixed steps, reduced and quantisedDesigned, unproven
3DCoarse occupancy grid and latent at fixed stepsDesigned, unproven

6.3 Calibration

For every model, the same jobs are run on a mixed set of cards. Two distributions of fingerprint distance are recorded: honest against honest, and honest against each known shortcut (lower precision, fewer steps, a smaller substitute model). The tolerance is set between them. If they overlap, the model is not listed. Not built yet: audits for models whose results differ between cards. Today's audits run one reference job again and compare it byte for byte. The calibration will use every card that joins the open network, not a rig of five.

6.4 Randomness

State: built. The worker first publishes its commitment: a hash of the output and the fingerprint. The audit decision is then a hash of that commitment with a beacon value that did not exist when the worker committed. If the result falls below the audit rate, the job is audited, and the same value picks the verifier from the bonded set, never the worker or the requester. A worker cannot know in advance which jobs will be checked, or by whom.

The beacon is not the coordinator's. It is a public randomness service, run by independent operators, that publishes one signed value every three seconds1. A job uses the fifth round after the latest one published at the time written in its commitment, about fifteen seconds later. The round number follows from that time by arithmetic, so the coordinator cannot pick a convenient value, and anyone reading the log can fetch the same round and compare. The coordinator refuses a commitment whose time is more than six seconds from its own clock; otherwise a worker could date its commitment into the past and learn the value first. That refusal is the one step here that still rests on trusting the coordinator.

6.5 Parameters

ParameterStarting valueWhy
Audit rate2%Overhead equals the rate
Audit rate, worker not yet bonded for the job20%Until withheld earnings fill the bond
Bond50 jobs' worth of the job at hand, held in creditAbout the price of a job divided by the audit rate (table). A larger job needs a larger bond
Verifier's payThe job's units, for every audit the draw requiredThe same whatever the verdict, so no verdict pays better than another
Beacon delay5 rounds, about 15 secondsThe value must not exist when the worker commits
Job lifetime1 day from offer to settlementBounds what every node must remember. Built
Known-answer jobs1 in 200Catches verifiers that approve without working. Designed, not built
Dispute panel3 verifiers, then 5Majority decides; the losing side is slashed. Designed, not built

Everything a worker earns goes into its bond first, and only what exceeds the bond can be spent. The bond does not decay, cannot be spent and is destroyed by a failed audit. The values above sit close to the break-even of the paper's inequality and will be reset from the measured catch rate of each model's audit.

The draw is evaluated when the job settles. An audit the draw required must be in the receipt. An audit it did not require is allowed, counts, and earns the verifier nothing.

A requester may force an audit of its own job by posting the cost. The cost comes back, with a share of the bond, if the audit fails. Designed, not built.

7Network

Today. Nodes hold one outbound WebSocket to the coordinator and exchange the signed messages of section 3 through it. Inputs and outputs go through the project's file storage and are kept one day. No direct path or relay exists yet.

Later, not built. QUIC between peers. The same direct links are what a model cut across several machines needs (paper, section 5.1). Discovery through a distributed hash table. Offers and bids over gossip, one topic per class of model. Hole punching for peers behind address translation; where it fails, which measurements put at roughly three attempts in ten, a relay carries the traffic and is paid from the job's fee against receipts signed by both ends.

Bootstrap lists are plain signed files. The client ships with several from different publishers and accepts more from the user.

8Model distribution

Weights are cut into 4 MiB chunks addressed by hash and fetched from whoever has them. By design the project's storage is the first seeder and never the only address in a manifest, and the machines that carry data share the relays' part of a paid job. Today it is the only source. Nothing is issued for storing or serving on its own, because bytes served to an accomplice cost nothing to fake.

9Settlement

Today. State: built, and live on the test chain. The ledger is a public, append-only log of receipts in which each entry carries the hash of the one before. Credit balances and bonds are computed from it, and nothing else: the coordinator stores a running state only as a shortcut, and folding the log from its first receipt must give the same state. In a local run of 1,000 jobs, and in another where the coordinator was killed six times mid-run, it did. On the live chain it did too: its first 16 jobs, folded again from the public receipts. The paid lane is defined in the library and not open.

The daily count. State: being built. Once anyone may join, units per job without a ceiling would let anyone print units by sending jobs. So DCM is counted another way: a fixed amount a day by a schedule, shared in proportion to the verified work of that day, computed from the public receipts by a rule that uses whole numbers only, so that two programs agree to the last unit. Each day's shares have a root that a program on a chain can check (paper, section 7.8).

Later, on Solana; no program is written yet. First the mint, which takes each day's root, pays the development share and lets a node claim. Then escrow, bonds and the registry. Jobs are small, often a cent, so a transaction per job would cost a noticeable share of the job. A requester therefore opens a channel with one deposit and signs a receipt per job off the chain; a worker claims thousands of receipts in one transaction; only disputes go to the chain one at a time.

10Founder infrastructure

What the project runs, and what it costs at list prices checked on 28 November 2026.

PieceRuns onCost basis
Website, documentsStatic files at the edgeNo charge
CoordinatorOne stateful edge object per shard, hibernating WebSockets$5 a month plan minimum; $0.15 per million requests after the first million; twenty incoming messages bill as one request; no charge while connections sit idle
Job files, kept one dayObject storage$0.015 per GB a month; no charge for data leaving
Installers, first copy of weightsObject storageThe same
One verifierA PC of the project'sIts electricity
Nodes connectedMessages a monthCoordinator300 GB storedAbout, a month
1,00043 million$5.20$4.35$10
10,000432 million$10$4.35$15

One heartbeat a minute per node is assumed. These are estimates from list prices, not bills. The point is the shape: the project's cost grows by cents per thousand nodes because nodes carry the compute, the storage and the traffic. When the founder-shutdown test is passed, this section is deleted.

Measured so far, in tests with simulated nodes, not yet from a bill of the live service: 1,000 jobs cost the coordinator about 1,090 billed requests and 19,700 database rows written. Rows written are the limit that binds. The provider's free plan allows 100,000 a day, about 5,000 jobs; the $5 plan includes 50 million a month, about 2.5 million jobs, and charges $1 per million after that. Checking the beacon's signature took about 64 ms of processor time, more than the 10 ms a request gets on the free plan, so the coordinator runs on the $5 plan.

11Threats

AttackDefenceState
Fake or cheaper outputRandom audits against a bondDraw and bond built; the fingerprint is designed, and its tolerance is unproven beyond text
Many fresh identitiesBond filled from withheld earnings; 20% audits until full; nothing can be spent before the bond is full. Each day's coins are a fixed amount, so more identities win no more of themBond rules built. Limits counted per network address are not, and the door stays shut until they are
Verifier approves without workingKnown-answer jobs; verifier bondDesigned
Worker and verifier colludeVerifier drawn by the beacon after the commitment; panels on disputeDraw built; panels designed
Requester disputes in bad faithOnly re-execution decides; the challenger pays if wrongDesigned
Serving one's own requestsCredit and unpaid: the worker is drawn, never chosen, and never the requester. Paid: the burned share and the drawDraw built. A paid job earns no more coins than an unpaid one, so paying oneself only loses the burn
Handing credit to another key through a sham jobThe worker of a credit job is drawn; the requester cannot name oneBuilt
A receipt altered, replayed or removedEvery message signed; each receipt carries the hash of the one before; a job settles onceBuilt
Two implementations disagree on a signatureOne signature rule in the format; test vectors that tell implementations apartBuilt
Coordinator picks the audit randomnessPublic beacon; the round follows from the commit's timeBuilt; rests on the coordinator refusing late commits
Input crafted to break the runtimeListed models only; limits on a job's memory, processor, processes and lifetime. By design also a sandbox with no networkLimits built; sandbox and no network not built
Poisoned weightsRegistry hashes; formats that cannot executeDesigned
Malicious updateReproducible builds, several signers, staged rolloutDesigned; one signer today
Eclipse or poisoning of discoverySeveral bootstrap lists, signed records, peer scoringOpen problem
Coordinator censors or failsNone today: it can refuse, delay or drop. It cannot forge a message, change a balance or skip a required audit, because anyone can refold the log. A second coordinator, run by someone else, comes at step 5Accepted for now
The file store used as free hostingFiles belong to jobs: readable only by a job's parties, removed after a day; volume counted per network addressBeing built; the door stays shut until then
One job passed back and forthA job a worker gives back as failed is never drawn for it again, and is refused after failing on three workers; the worker is left out of the draw for a short whileBuilt
Reading a requester's inputNone. The worker, and the verifier of an audited job, can read itStated, not solved
Unlawful contentOperators choose model classes; gateways answer for their doorPolicy, not code

12From here to an open network

What runs today. One coordinator on a test chain, joined only by the project's own listed test nodes: one requester, one worker, one verifier, and one reference job that gives the same bytes on every machine. Its read API is public (/v1/head, /v1/receipts, /v1/params, /v1/queue), and the network page is drawn from it. On its first day 16 jobs settled and 7 of them were audited; the chain folded again from the public receipts equals what the API reports. This chain will be reset.

Before the door opens. Two guards. Files belong to jobs: a file can be read only by the parties of a job that names it, and a file no job names is removed. Limits are counted per network address, because an identity costs nothing to make. Then the two lists come off and anyone may join. There is no closed phase.

After that, in the open. These are measurements on the live network, not a gate:

  1. 10,000 honest jobs across every card that joined, with no false audit failure at the chosen tolerance.
  2. At least 99% of injected shortcuts caught by an audit.
  3. A worker killed in the middle of a job loses no escrow, and the job completes on another card.
  4. Cost per job and jobs per card-hour measured for every listed model on every card, replacing the assumptions in the economics inputs.
  5. A second coordinator, run by someone else, takes over without any change to the client.

Built so far: the message and receipt library; the coordinator; a Windows node with one reference job; file storage for a day; a tool that sends a job. Being built: a real model as a job, the two guards, the daily count. Not built: audits for models whose results differ between cards, the mint and the other programs on Solana, the paid lane, gateways, a second coordinator, direct links between machines, a model cut across machines, the browser node, the desktop app, a full sandbox.

One rule for a network tested in the open: before the coin count starts the chain may be reset; after it starts, never.

13Changes

Since v0.3. A real node ran against a deployed coordinator, and the plan changed.

  1. There is no closed testnet. Section 12 is rewritten: two guards, then the door opens, and everything else is measured in the open.
  2. A job a worker gave back went straight back to the same worker, without end when it was the only one, and a node that both works and verifies gave back every job for as long as an audit ran. Giving back now says why, and the job is not drawn for that worker again (section 11).
  3. A job taken back while its output was being uploaded was still committed. It no longer is.
  4. The node read a whole output file before checking its size. It checks the size first.
  5. This page said "sandboxed". What is built is limits on a job, not a sandbox (sections 1, 5 and 11).
  6. The job lifetime of one day is built.
  7. Rows written per job, measured again: 19.7 (section 10).
  8. The daily count and the mint are new components (sections 2 and 9). v0.3 had no coin and a treasury share; the paper's section 7 has the new rules.
  9. Nothing here spoke of a model cut across several machines. It is now a goal (paper, section 5.1), and the direct links of section 7 are its first part.

Since v0.2. Writing the library and the coordinator showed where the design was wrong or silent.

  1. Workers of credit-backed jobs are now drawn, like those of unpaid jobs. Draft v0.2 let the requester choose. Since most jobs are never audited, a requester could have handed its credit to another key through a job that was never really done, which would have made credit transferable.
  2. The bond is held in credit and scales with the job. v0.2 defined it only for paid jobs, so a testnet without money had no bond at all.
  3. Verifiers are paid, in credit, for every audit the draw requires. v0.2 paid them only out of paid jobs.
  4. The format fixes one signature rule. Two libraries disagreed on signatures from specially built keys (section 3).
  5. The audit beacon is public randomness whose round follows from the commit's time. In v0.2 the coordinator ran the beacon and could have chosen its values.
  6. The audit draw is evaluated when the job settles, and an audit beyond what the draw requires is allowed. The first implementation refused an honest receipt when the worker's bond filled between its commitment and its settlement.
  7. A job must settle within a day of its offer (built). Without that, every node would have had to remember every job for ever.
  8. Section 3 now lists the body of all six messages; v0.2 gave one. The signature in its example was not in the stated format.
  9. Section 10 carries the first measured costs beside the estimates.

Reference

  1. drand: a distributed randomness beacon run by the League of Entropy. drand.love