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.

  1. 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.

  2. 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.

  3. 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.

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 read

The 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.
they talk on the public page

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.

Your browserMakes the key to the memory: 32 random bytes, on your device.
Your passkey and recovery keyThe recovery key is that key, written down by you. The machine keeps a copy only your passkey can open.
opens the memory for the hours you choose
The replica’s own computerOpen, the key is in its RAM until you lock it, the hours run out or it restarts. Locked, what it knows of you and every draft that answers a mail are encrypted on its disk.
  • each outside call
    The gatewayHolds the app keys and adds them on the way out. Every call passes through it.
  • asks for each draft
    The model serviceReceives what each answer needs: the words to answer and the facts that fit them.
  • locked: nothing to read
    Whoever 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.

  1. Run one command

    On your laptop. It makes the replica’s computer, starts the replica on it and opens its setup page.

    The replica

    Makes a one-time setup code and keeps it in a file on the machine.

    It keeps

    The setup code, until there is an owner.

  2. 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 replica

    Takes 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 keeps

    Nothing new.

  3. Give a name and make a passkey

    No account and no password. Your device checks it is you before it makes the passkey.

    The replica

    Checks the passkey was made for its own address, writes you down as the owner and deletes the setup code.

    It keeps

    Your name, your passkey’s public key and the address it was made for.

  4. Write down your recovery key

    Your browser makes the key to the memory and shows it as 52 letters. Keep them somewhere safe.

    The replica

    Locks a new memory with that key, then opens it for a day so you can start.

    It keeps

    The memory, encrypted, and a copy of the key only your passkey can open. Never the key itself.

  5. Connect your apps

    At the gateway: a model service and GitHub, and Gmail, Slack or Telegram if you want them.

    The replica

    Finds the connections there. Each call goes through the gateway, which adds the app key.

    It keeps

    No app key.

  6. Give it a head start

    Point it at your own GitHub, LinkedIn or X, then tick the facts you want it to keep.

    The replica

    Reads the page once. A fact taken from running text must quote words that are on the page.

    It keeps

    Only 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.

Something arrivesA visitor’s message, a new issue in a repository you listed, a mail, or a word from you.
The model draftsIt proposes a reply or an act. It cannot do anything by itself.
Your rules: is it allowed?A rule for the one asking beats a general one. With no rule at all, it asks you.
  • 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.
every outcome
A receiptWhat happened and why, with a hash of the words, not the words. Each carries the hash of the one before.
The same choice three timesYou approve or decline the same act for the same person three times running.
A suggested ruleIt counts only once you accept it.
A new replica, before you set any rule
  1. Answer a visitor from facts you openedalone
  2. Take a note for youalone
  3. Give visitors a 101st answer in a dayasks you
  4. 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.

Your public pageClosed until you open it. Closed, it takes no messages.
once you open it
A visitor writesTheir name is not checked, so they are a visitor whatever name they type.
The replica answersFrom the facts you opened and nothing else. If the answer is not there, it says so and offers to take a note.
Your rules see the answerIt goes through the gate like any act. A new replica gives up to 100 a day before it asks you.
  • in reach
    What they getThe facts you opened, and a way to leave you a note.
  • out of reach
    What 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.
What staysThe receipts. They keep a hash of the words, not the words, so the record of what happened stays without what was said.
  • LiveLocking the memory, forgetting a fact and closing the public page.
  • In buildA new recovery key: tested on a laptop, not run live.

See the owner’s side,with a made-up person.

Open the demo