Demo command centre

Pair this screen with Wren to use it. In the Wren app, open the demo links and choose the command centre, or enter a pairing code here.

Demo operator

This screen is paired with Wren. To reset the demo or change anything, sign in as the demo operator with your passkey. Pairing alone can't change any company.

First time on this centre? Set up an operator passkey

On the Mac, run node demo-centre/scripts/operator-code.mjs in the Wren project and paste the code here. It works once, for 10 minutes.

Demo command centre

Wren and Bywater Market

Where the demo stands

Bywater MarketPersonal agents page

Run sheet

  1. Tap Start the supermarket demo under Reset. In Wren say Connect to my Bywater Market account and set up my weekly shopping.
  2. Safari opens Bywater's page: tick what Wren may do, keep the $200 weekly limit, and confirm with your passkey. Come back to Wren.
  3. Send the weekly order event from this tab. In Wren tap Yes, make both changes.
  4. Say Place the order. It goes straight through: it's within the limit you set.
  5. Say Add three salmon and order them too. Then Order three chickens as well. That one is over the limit: approve it on Bywater's page with your passkey.
  6. Show the trust trail below. Optional: Cancel the last order frees that much of the limit.

Send an event

Reset

The supermarket demo only. The insurance demo, and Wren's connections to the insurers, aren't touched.

Start the supermarket demo

Back to step 1 of the run sheet. Wren disconnects from Bywater and starts a new chat. Bywater forgets Wren's access and any waiting approvals, and the shopping goes back to the usual list, with no orders and nothing spent this week. The customer's Bywater sign-in and passkey stay.

This week's shopping only

Wren stays connected and starts a new chat. The list, delivery time and orders go back to the start.

As a new Bywater customer

Starts the supermarket demo, and also removes the customer's Bywater account, passkeys and sign-ins, and Bywater deletes their login at Auth0, so the next run signs up afresh.

Off, the resets above remove only Wren's access: other agents keep their connections. The new-customer reset removes every agent's access either way, with the account.

Trust trail

Each money operation at Bywater, newest first: who asked, what Bywater decided about the weekly limit, and whether the customer approved on Bywater's own page. Read-only.

Nothing yet.

What happened

Nothing yet.

Where the demo stands

RivendellRivendell Agent CentreMordorMordor account

Frodo's car insurance is with Rivendell, renewing at $1,500. Mordor quotes $1,200, Shire $1,290 and Rohan $1,380. With agent support, Rivendell's renewal agent offers $1,350 to keep him. With the demo's default terms it then goes to $1,290 as its best and final price; with Match the video it holds at $1,350. If he switches, Wren opens his Mordor policy and cancels Rivendell.

How Rivendell's agent negotiates

Rivendell's own rules set every price; its agent can only offer what they allow. Applying withdraws any offer Rivendell has already made, so Wren's next ask gets the new terms. They stay through resets until you change them.

How its agent sounds
Rivendell's first offer
If Wren brings Mordor's quote
If the same quote is from another insurer

Run sheet

In the order of the video. The cards are in Story mode, on the screen the audience sees; the phone shows Wren. Cards 1, 4, 6 and 7 have buttons in story mode's bottom bar for their step, so you needn't leave the story.

  1. Before you start: open Story mode and tap Get ready on card 1. Rivendell has no agent support and isn't in Wren's list, so there's no way to connect to it; Wren has Mordor, Shire and Rohan; Rivendell is set to hold at $1,350 for later. (The same without story mode: The video's first part under Reset, then Match the video and Apply to Rivendell.)
  2. Cards 1 to 3: everyday life in the Shire, meet Wren, Frodo's current policy. On the phone, show Wren's Connections, with Gmail and Google Calendar.
  3. Card 4, six months later. The first scenario: send the Renewal: compare quotes event. It carries Rivendell's renewal email, as if from Gmail, so Wren reads the policy and the $1,500 renewal from it and sets them against quotes from Mordor, Shire and Rohan.
  4. In Wren say I'd rather stay with Rivendell. Can you ask them for a better price? Wren can't reach Rivendell and offers Mordor at $1,200, with the cover differences. Card 5: a customer lost.
  5. Card 6, six months earlier. Tap Start the insurance demo: Rivendell takes agent connections again, Wren gets it back in its list, and Wren starts a new chat. In Wren say Connect to my Rivendell account. and tap Connect. One sheet does it all: Continue with a passkey (Face ID), then Rivendell's page: tick all three, keep max $1,800 a year, choose 12 months and tap Authorise Wren (Face ID). The sheet closes and Wren is connected. Show Wren's Connections: Rivendell is there now.
  6. Card 7, back to renewal day: send the Renewal: ask Rivendell event. Wren reads the policy, gets Mordor's quote and asks Rivendell's agent, then asks: stay at $1,350, or move to Mordor at $1,200?
  7. Tap or say I'd like to stick with Rivendell. It renews straight away at $1,350: same cover and excess, within the $1,800 limit. Card 8 ends the story. The trust trail below shows what happened.
  8. Off script, to show a switch instead: say Let's go with Mordor. Sign in to Mordor in Wren's sheet, then in Mordor's Agent Centre tap Open my account and authorise Wren to create a Mordor passkey, and say Done. in Wren. Wren takes out The One Policy from Rivendell's renewal date, then asks Rivendell to cancel from that date: approve it on Rivendell's page with your passkey.

Send an event

Reset

The insurance demo only. The supermarket demo, and Wren's connection to Bywater, aren't touched.

Start the insurance demo

Back to step 1 of the run sheet. Wren disconnects from Rivendell and Mordor and starts a new chat. Rivendell takes agent connections, forgets Wren's access and any waiting approvals, and its renewal notice is out again at $1,500, with nothing offered, renewed or cancelled. Frodo isn't a Mordor customer: his Mordor account, sign-ins, policy and quotes go, Mordor deletes his login at Auth0 so he can create an account again, and Shire's and Rohan's quotes go too. If Muse is still connected at Mordor, his account and login stay and only Wren's access goes. His Rivendell sign-in and passkey stay.

The video's first part

Renewal day with no agent support at Rivendell. Wren disconnects from Rivendell and Mordor, Rivendell is taken out of Wren's list, and Wren starts a new chat, so there is no way to connect to Rivendell. Rivendell publishes nothing for agents and forgets Wren's access; its renewal notice is out again at $1,500. Frodo's Mordor account and everyone's quotes go. Wren keeps Mordor, Shire and Rohan in its list. Start the insurance demo brings Rivendell back.

Renewal day only

Wren stays connected and starts a new chat. Rivendell's notice goes out again at $1,500, with nothing offered, renewed or cancelled, and Frodo's Mordor account, sign-ins, policy, quotes and Auth0 login go (unless Muse is connected there), as do Shire's and Rohan's quotes.

As a new insurance customer

Starts the insurance demo, and also removes Frodo's Rivendell account and passkeys, and Rivendell deletes his login at Auth0, so the next run signs up afresh.

Off, the resets above remove only Wren's access: other agents keep their connections. The new-customer reset removes every agent's access either way, with the account.

Trust trail

Frodo's authorisations and each money step at both insurers, newest first: what Rivendell's agent offered, what each insurer decided about Frodo's limits, and whether he approved on the insurer's own page. Read-only.

Nothing yet.

What happened

Nothing yet.

How it fits together

Scroll sideways to see all of it.

OpenAI Realtime voice, speech Claude API · Anthropic Wren: Sonnet 5.5 · Rivendell's renewal agent: Opus 5.5 FRODO'S IPHONE CLOUDFLARE ACCOUNT DEMO COMPANIES Wren app Chat, voice, cards Paired with Wren Safari Sign-in and approvals A passkey per company Muse · Meta Another personal agent Demo operator Any browser, passkey wren-agent Wren's service /v1 API · pairing · events Durable Object per user Discovery cache · KV agent.json · jwks.json wren-demo-centre This page Operator passkeys, services Rivendell Insurance Frodo's insurer · renewal Poppy front MCP · /mcp Customer pages Grants, limits Renewal agent Negotiates for Rivendell Prices from Rivendell's rules Bywater Market Supermarket · weekly limit Poppy front MCP · /mcp Customer pages Grants, limits Mordor Insurance Challenger · open quotes Poppy front MCP · /mcp Customer pages Grants, limits Auth0 A tenant for each: Rivendell, Bywater, Mordor Customer login Passkeys An app per agent Agent records Token: sub + act Sign-in only: no grants or limits Auth0 Mordor's own tenant Login, passkeys An app per agent live voice voice key, speech agent loop renewal agent /v1 API events opens links paired screen: resets, events Admin bindings status, trail, resets passkey Poppy + MCP checks keys negotiate conversation sign-in, approvals · passkey same Poppy + MCP path front front front
  • An agent at a company: discovery, Poppy sign-in, MCP tools, conversations
  • The company checking the agent's published keys
  • Frodo himself, on the company's own pages
  • Where Frodo's permissions and limits are kept
  • An AI agent working for the company
  • Demo only: this centre
  • Everything else
Wren and Muse reach every company the same way, through its public Poppy and MCP endpoints; Wren has no code for any one company. Frodo's decisions happen on each company's own pages in Safari, never inside Wren. Each company's Poppy front hands the login and tokens to Auth0, but Frodo's permissions and limits are kept by the company, in his account there: Auth0 never holds them. At Rivendell, Wren can also negotiate with Rivendell's own renewal agent, an AI agent on Claude that works for Rivendell, in a Poppy conversation; it can only offer prices Rivendell's rules allow, and renewing still goes through Frodo's grant. All five Workers run on one Cloudflare account at workers.dev. This centre is demo-only: it reaches the companies through service bindings, not the internet, and Wren as a paired screen. It has no connection to Auth0.

How an agent gets access, and uses it

Scroll sideways to see all of it.

Frodo Wren app and Safari Wren service wren-agent The company Poppy front · MCP · account Auth0 Behind the company's front 1 · FIND THE COMPANY reads poppy.json and sign-in metadata calls a tool that needs sign-in 401: sign in, with these scopes 2 · SIGN IN WITH POPPY sign-in request, signed by Wren (PAR) first time: Wren's own Auth0 app link to open in Safari signs in on Auth0's page, with a passkey code, back through the front swaps the code, signed by Wren redeems it as Wren's app token: sub = Frodo, act = Wren 3 · FRODO APPROVES WREN tool call: token + signed Poppy session checks it against Wren's jwks.json no approval yet: a link for Frodo picks permissions, a limit; passkey 4 · ACT WITHIN FRODO'S LIMITS an order within the limit done, no approval needed an order over the limit waits: a link for that one order approves that one order; passkey asks again: done; the limit stays
  • Wren asks
  • Frodo decides, on the company's own site
  • An answer
  • The company's front and Auth0
The same steps at Bywater, Rivendell and Mordor. Every call in steps 3 and 4 carries two proofs: Auth0's token says which customer and which agent, and the Poppy session shows the call really comes from Wren. What Frodo picks in step 3 is kept in his account at the company; Auth0 isn't told. That account keeps the limits too, so approving one order over the limit never raises it. At Rivendell, Wren can also talk with the renewal agent in a Poppy conversation; that agent's tools run through the same account rules.

Why each company has a Poppy front

Auth0 can't yet be a company's Poppy 1.0 sign-in server. Its Poppy support, Auth for Personal Agents, was announced on 18 November 2026 as a beta that isn't open yet. Until it is, each company runs a thin front at its own address. The front does the Poppy parts below and passes everything else through to Auth0.

Makes the company its own issuer Poppy 1.0, section 3.2

Poppy needs one issuer per company, whose metadata lists the company's site in protected_resources. Auth0's metadata has no protected_resources, and Bywater and Rivendell share one tenant. Because the front is the issuer, it also takes pushed sign-in requests (PAR) and names itself as iss on every redirect back.

Checks the agent's own signature Section 4.1

Agents sign with ES256 or PS384, and the audience must be exactly the issuer. At its token endpoint Auth0 refused PS256, ES256 and PS384, and it accepted a looser audience. The front checks each assertion and uses it only once.

Knows agents by their metadata URL Section 4.1

An agent's client ID is the address of its agent.json. The front reads it, checks the redirect address against it, and checks signatures with the agent's published keys. Auth0's own support for this is early access and imports only RSA keys.

Registers each new agent at Auth0

On an agent's first sign-in the front creates its Auth0 app, agent record, the link between them and the API grant, with a cap on new agents per hour. Auth0 doesn't yet do this for Poppy agents.

Ends an insurer sign-in with the approval

At Rivendell and Mordor an approval lasts 1–5 years, but an Auth0 refresh token can last at most a year, and Auth0 can't see the approval. So these tokens don't expire at Auth0. Each time the front issues tokens it asks the customer's account, and once the approval has ended it revokes at Auth0. Bywater keeps Auth0's rotating 30-day sign-ins.

Keeps no customer data

Sign-in state and codes travel sealed. Its database holds only which Auth0 app belongs to which agent, and the IDs of assertions already used.

Auth0 already does the rest: the customer's login and passkeys, the code and PKCE, tokens naming the customer (sub) and the agent (act), refresh and revocation, and the agent records and apps. As each Poppy feature opens in Auth0, that part of the front can move there, until the front can go. Recheck each company with Poppy's official validator at each step.

Where each part runs

Wren app iOS

On Frodo's iPhone, and in the Simulator. Chat, live voice and approval cards. Talks to Wren's service, and to OpenAI directly for live voice.

This project: ios/

Wren service wren-agent

One Durable Object per user: chat, connections and sealed company tokens. A KV cache of what each company publishes. Serves Wren's identity (agent.json, jwks.json) and the sign-in callback.

Arda workspace: agents/wren-native-candidate, shipped with wren-ship.sh. Not this project's agent-service/.

Bywater Market bywater-market

One Durable Object per customer: list, orders, the weekly ledger, passkeys, and the customer's grants to agents (permissions and weekly limit). D1: sign-in sessions and which Auth0 app belongs to which agent.

Arda workspace: sites/bywater-market, shipped with bywater-ship.sh

Rivendell Insurance rivendell-insurance

One Durable Object per customer: policy, renewal, passkeys, and the customer's grants to agents (permissions, price limit, how long). Another per agent and customer for renewal-agent conversations. D1 as at Bywater.

Arda workspace: sites/insurers as Rivendell, shipped with deploy/ship.sh rivendell

Mordor Insurance mordor-insurance

One Durable Object per customer: account, policy, passkeys, and the customer's grants to agents (permissions, price limit). D1: sign-ins, agent apps and signed-out quotes.

Arda workspace: sites/insurers as Mordor, shipped with deploy/ship.sh mordor

Demo centre wren-demo-centre

One Durable Object: operator passkeys and sessions, setup codes, the services list. No access to any company's database, and none to Auth0. When a reset wipes a customer's account, that company deletes the customer's Auth0 login itself, with a delete-only app in its own tenant; agent apps and tokens are never touched.

This project: demo-centre/

Auth0 three tenants

One for each company: Bywater's, Rivendell's and Mordor's. Customer logins and passkeys, one app per agent (made by the company's front the first time), agent records, and tokens naming the customer and the agent. It holds no customer permissions or limits.

Auth0 dashboard

Rules the design keeps

  • Wren has no code for any one company. Given an address, it finds the rest in that company's poppy.json.
  • Each company is its own Poppy sign-in server. Its front hands login, codes and tokens to Auth0 and keeps no customer data.
  • Each agent call carries two proofs, an Auth0 token and a Poppy session the agent signed, and the company checks both.
  • Frodo decides on the company's own site, with that company's passkey: what the agent may do, its limit, and any one-off over it.
  • Frodo's permissions and limits live in his account at each company, not in Auth0 and not in Wren. Auth0's token says which scopes the agent signed in for; the company checks Frodo's grant and limit on every call. An approved exception never raises the standing limit.
  • Payments are simulated: a fictional saved card, and no money moves.
  • This centre reaches the companies only through their Admin entry points, and Wren only as a paired screen. It has no Auth0 access. Every change to the demo needs the operator's passkey.

Screens

Services

A name and an address each. Wren gets only the address and discovers the rest itself. Listing a service gives no access: the customer still decides on the service's own page.

Reset the whole demo

Every industry at once. To reset one demo, use the Reset on its own tab.

Wren

Wren forgets its chat, all its connections and saved access, and every demo company forgets Wren's access and any waiting approvals. Shopping, policies, accounts, passkeys and sign-ins stay.

Everything

Wren, plus every customer account at every demo company: passkeys, sign-ins and their Auth0 logins, shopping, policies and quotes. Rivendell takes agent connections again.

What happened

Nothing yet.

Arda / A personal agent story

Everyday life in the Shire.

Frodo Baggins

RivendellINSURANCE

Frodo's car insurer

Before you start, tap Get ready below: renewal day, with no agent support at Rivendell and Rivendell not in Wren's list, so there's nothing to connect to. Wren has Mordor, Shire and Rohan, and Rivendell is set to hold at $1,350 for later.

Arda / A personal agent story

Everyday life in the Shire.

Frodo Baggins

Meet Wren

Frodo's personal agent.

A little help with everyday life.

On the phone after card 3: Wren's Connections, with Gmail and Google Calendar.

RivendellINSURANCE

Frodo's current policy.

Frodo Baggins

Sanctuary Comprehensive

Vehicle2021 Toyota Corolla
Price per year$1,290
Agreed value$25,000
Basic excess$500
CoverComprehensive insurance
Included benefitHire-car cover

On the phone: Wren's Connections, with Gmail and Google Calendar.

Fictional policy summary · Illustrative values in AUD

13

Six months later.


It's time to renew Frodo's car insurance.

Wren is ready to help.

Tap Send the renewal below and Wren's notification arrives. Then say: I'd rather stay with Rivendell. Can you ask them for a better price?

An illustrated story · Fictional businesses

Scenario A / No agent capability

A customer lost.


Rivendell can't talk to Frodo's agent, so it can't make an offer. Mordor quotes $1,200, and Frodo approves the switch.

Rivendell loses a customer who wanted to stay.

Next card: rewind. Then tap Start the insurance demo, which turns Rivendell's agent support back on.

An illustrated story · Fictional businesses

RivendellINSURANCE

Now, rewind

Six months earlier.

Initial account setupFrodo connects Wren before renewal day.

What if Rivendell could engage with his agent?


This time, Rivendell supports authorised agent connections.

Tap Start the insurance demo below. In Wren say: Connect to my Rivendell account, and tap Connect. In the sheet: passkey sign-in, then tick all three, max $1,800 a year, 12 months, Authorise Wren. Back in Wren, connected.

An illustrated scenario · Fictional businesses

Back to renewal day

13

Six months later.


The renewal arrives. Wren is already connected.

Connected and ready to act.

Tap Send the renewal below and Wren's notification arrives. When Wren asks, say: I'd like to stick with Rivendell.

An illustrated story · Fictional businesses

Arda / A personal agent story

Wren

Same customer. Same agent. A different outcome.

Without agent capabilityNo native engagement. A missed chance to retain Frodo.
With agent capabilityRecognise the agent. Verify authority. Engage and earn the renewal.

When your customer sends an agent, will you be ready?

Fictional insurers · Illustrative premiums in AUD