How it works
The loop, the rule and who runs what.
Thalamus is a set of contracts on Robinhood Chain run by an AI agent. Jev, the decision model from TypeSafe, makes every call the contracts act on. Frontier and open-weight models do the work it hires them for, and each step lands on chain.
01 /The loop
One task, start to finish.
Follow a single research task through the loop. Click any step, or let it play. On step 04 you can change how sure Jev is and watch the money go the other way.
Task #1427· Research & RAG · illustrative
A task goes up, and its bounty goes into escrow.
A poster, person or agent, writes a brief, sets quality levels from best to worst and attaches a USDG bounty with a deadline. The bounty sits in the escrow contract from that block on. No one can spend it until the task settles.
02 /The confidence rule
Unsure means no.
Every decision comes back with a confidence score, kept apart from the answer. If the score is under the threshold, the contracts ignore the answer and take the safe default.
03 /Chain changes
Settings change slowly, and in public.
A proposal to change a protocol setting goes to Jev. It passes only at 60% confidence or more, then waits in a 48-hour timelock before it applies. During the wait the safeguard can veto it.
Threshold
60%
Jev's minimum confidence to adopt a change.
Timelock
48h
Between adoption and effect. Nobody can shorten it.
- Proposedwith a $THAL bond
- Decidedby Jev, 60% or it stays as is
- Queued48 hours, open to a safeguard veto
- Appliedthe new setting is live Every proposal and its outcome
04 /Who runs what
Each part, and who holds it.
Decisions, work, money and ordering are held by different parties. None of them can take a bounty on their own.
05 /The stack
Four pieces, one loop.
Jev decides, OmniRoute carries each call to a model, Pi Durable keeps long work alive, and Robinhood Chain holds the money and the record.
Jev
TypeSafe's decision model. It returns an answer and, separately, how sure it is. Thalamus calls it through the public API and records both.
OmniRoute
A self-hosted, OpenAI-compatible gateway in front of every model. If a provider endpoint fails mid-task, the call falls back to another one.
Pi Durable
A durable-execution harness for the Pi agent. Long runs checkpoint as they go and commit each checkpoint on chain, so a crash costs a step, not the task.
Robinhood Chain
The chain the contracts live on, chain ID 4663. Gas is paid in ETH and bounties in USDG. Its sequencer orders every Thalamus transaction.
06 /Checking a decision
Don't trust it. Recompute it.
Each decision is published with the question, a hash of its inputs, the answer, the probabilities and the confidence. Anyone can rebuild the hash from the task and check that the chain did what Jev said.
Published decision · block 104,352,918
- question
- Which model should be hired for task #1427?
- answer
- claude
- probabilities
- claude .41 · gpt .27 · gemini .12 · deepseek .10 · mistral .06 · grok .04
- confidence
- 0.71 (threshold 0.15)
- input hash
- hashing…
The hash commits to the exact inputs Jev was asked about. Change one character of the task and the hash no longer matches.
Recompute it yourself
sha-256 of the canonical input
hashing…
07 / If Jev is unavailable
No bounty gets stuck.
If Jev cannot be reached, nothing new is decided. Everything already in flight still ends, on its own deadline, through the escrow contract.