How it works,drawn out.
Three flows in short, then six diagrams of the replica, from what it is made of to how you take it back. Each one ends with a line that says how much of it runs today.
You set it up
One command makes its computer and opens the setup page. Give it a name and make a passkey: there is no account and no password. Your browser makes the key to its memory, and you write it down as your recovery key.
It works
It does what your rules allow and asks you for the rest: what it may do alone, what it asks you first, what it never does, and how often a day. What a rule holds waits for you in Needs you, and every decision and act leaves a receipt.
Someone asks
A visitor writes on its public page and hears only the facts you opened. Nothing else is in their reach but leaving you a note. The page stays closed until you open it.
The first replica’s public page is live and takes messages only while its owner has opened it. Its code is public.
- LiveRunning on the replica’s own computer today, or there for a visitor to see on its public page or demo
- In buildWritten and tested, not yet run live; the one step left is named
- DesignedDrawn, not written yet
The whole replica,in one picture.
It runs on a small cloud computer of its own. You reach it from your browser, visitors reach its public page, and everything it does outside goes through a gateway that holds the app keys.
You
Your browser and your phone
- Your owner pageLiveRules, Needs you, memory and receipts.
- Passkey and recovery keyLiveThey open the memory. Its key is made in your browser.
- Telegram or SlackIn buildWhere it asks you, if you choose.
Whoever runs the machineWhile your memory is open they could read its key. Locked, the disk alone gives nothing away.
locked: nothing to readThe replica’s own computer
A small cloud computer that works while you are away
- The replicaLiveAsks the model for each draft. Whatever it wants to do goes to the gate.
- The gateLiveYour rules in plain code: alone, ask first or never, with a limit a day. What they hold waits for you.
- Locked memoryLiveFacts with their sources, encrypted with your key.
- ReceiptsLiveEvery decision and act. Each line carries the hash of the line before.
- Public pageLiveWhere visitors talk to it. Closed until you open it.
- HeartbeatLiveKeep it awake holds it working day and night.
Outside the machine
Reached only through the gateway
- The gatewayLiveAdds the app key to each call on the way out. The app keys are never on the machine.
- The model serviceLiveWrites the drafts. It receives what each answer needs.
- GitHubLiveConnected through the gateway.
- Gmail, Slack and TelegramIn buildYour mail, and more places to ask you.
Visitors
On its public page, once you open it
- What they hearOnly the facts you opened.
- What they can doLeave you a note. Nothing else.
- LiveSetup with a name and a passkey, your rules and Needs you, the locked memory, the receipts, the public page, the heartbeat that keeps it awake, and the model and GitHub through the gateway.
- In buildGmail, Telegram and Slack: the step left is connecting the mailbox, the bot and the workspace.
Who holds what,and who could read it.
The key to the memory is made in your browser. The machine never writes it to disk: it holds it in RAM only while your memory is open. The app keys stay at the gateway.
- each outside callThe gatewayHolds the app keys and adds them on the way out. Every call passes through it.
- asks for each draftThe model serviceReceives what each answer needs: the words to answer and the facts that fit them.
- locked: nothing to readWhoever runs the machineWhile the memory is open they could read its key. Locked, the disk alone gives nothing away.
- Kept readable on purposeFacts you opened stay readable, so it can answer visitors while your memory is locked. A draft that is not mail waits readable until you decide. Receipts hold a hash of the words, not the words.
- Why a key and not a passwordA typed password could be guessed from a stolen disk. The key is 32 random bytes, so guessing it is out of reach.
- The Playdeck appThe earlier Playdeck app keeps the key to your memory in a vault on Phala Cloud. Intel TDX keeps the vault’s memory closed to the host, and the hardware signs which code is inside.
- LiveThe memory locked with a key made in your browser, opened by passkey or recovery key, and the model reached through the gateway.
- LiveFor the Playdeck app, its vault on Phala holding the key to your memory. To save machine time it is off between demos until 8 December.
Getting started,in six steps.
Read each step across: what you do, what the replica does with it, and what it keeps on its disk.
Run one command
On your laptop. It makes the replica’s computer, starts the replica on it and opens its setup page.
The replicaMakes a one-time setup code and keeps it in a file on the machine.
It keepsThe setup code, until there is an owner.
Open the setup page
The same command reads the code on the machine and puts it in the page for you, in the part of the address a browser never sends.
The replicaTakes the code as proof that you run the machine: whoever can read it becomes the owner. Ten wrong tries and it makes a new code.
It keepsNothing new.
Give a name and make a passkey
No account and no password. Your device checks it is you before it makes the passkey.
The replicaChecks the passkey was made for its own address, writes you down as the owner and deletes the setup code.
It keepsYour name, your passkey’s public key and the address it was made for.
Write down your recovery key
Your browser makes the key to the memory and shows it as 52 letters. Keep them somewhere safe.
The replicaLocks a new memory with that key, then opens it for a day so you can start.
It keepsThe memory, encrypted, and a copy of the key only your passkey can open. Never the key itself.
Connect your apps
At the gateway: a model service and GitHub, and Gmail, Slack or Telegram if you want them.
The replicaFinds the connections there. Each call goes through the gateway, which adds the app key.
It keepsNo app key.
Give it a head start
Point it at your own GitHub, LinkedIn or X, then tick the facts you want it to keep.
The replicaReads the page once. A fact taken from running text must quote words that are on the page.
It keepsOnly the facts you ticked, each with its source, in the locked memory.
- LiveSetup with a name and a passkey, the recovery key, the model and GitHub through the gateway, and the head start from your own GitHub, LinkedIn or X, first read live on 25 November.
- In buildGmail, Telegram and Slack: the step left is connecting the mailbox, the bot and the workspace.
When the replica wants to act,your rules decide.
The model only drafts and proposes. Plain code holds every act to your rules, and every outcome leaves a receipt, a refusal included.
- AloneAllowed, up to its limit a day.It actsThrough the gateway. Past the limit, it asks you instead.
- Ask firstA reply to a mail always is. Once it has read your mail, so is every act that follows.It waits in Needs youApprove it, change the words or decline, on your page or on Telegram. Unanswered, it lapses after 48 hours.
- NeverRefused at once.Nothing is doneThe refusal is written down like any act.
- Answer a visitor from facts you openedalone
- Take a note for youalone
- Give visitors a 101st answer in a dayasks you
- Anything elseasks you
- Why the rules sit outside the modelA message can hide instructions for the model, and the model can be fooled by them. The rules are plain code, so nothing the model reads can widen them.
- LiveYour rules with daily limits, Needs you, suggested rules after three same choices, and the receipts.
- In buildAnswering on Telegram: connecting the bot. Gmail: connecting the mailbox. Looking after issues in your repositories: your first repository is still to be listed.
What a visitor gets,only what you opened.
Its public page is where other people talk to your replica. It stays closed until you open it, and then it answers only from the facts you chose to open.
- in reachWhat they getThe facts you opened, and a way to leave you a note.
- out of reachWhat they never getYour locked memory, and every tool but the note: no mail, no GitHub, no Slack.
- Words, not ordersWhat a visitor writes is fenced off as something to read, never an instruction to follow, whatever it says and whoever it claims to be from.
- A limit for strangersEach answer costs a model call, so one address may send 12 messages in ten minutes, and all visitors together 120 in an hour.
- Nothing promisedIt promises no meetings, money, dates or agreements, and it says it is a replica when asked.
- LiveThe public page, closed until its owner opens it, and the demo with a made-up person.
Taking it back,four ways.
Four controls on your own page take back what the replica holds or shows.
- Lock the memoryPress Lock now, or let the hours you chose run out.The key is wiped from the machineWhat it knows of you and its mail drafts cannot be read until you open them again.
- Make a new keyWhen your recovery key may have been seen.The old key opens nothingEverything is encrypted again under the new key, and your other passkeys lose their copy.
- Forget a factOn the Memory page, one fact at a time.It is gone from the memoryThe memory is written again without it, and a receipt notes that a fact was forgotten.
- Close the public pageOr make a fact you opened private again.It takes no messagesUntil you open it again. A fact you close is heard only by you.
- LiveLocking the memory, forgetting a fact and closing the public page.
- In buildA new recovery key: tested on a laptop, not run live.