Skip to content
ÆVRI, Aeilus Value Research Institute

Event streams

Many services already know what happened to you: a second brain that transcribes your meetings, your calendar, your smart home, your employer's task tracker, the city that repairs your street. An event stream lets such a service suggest those events to the people who took part, straight into their Value Wallets. This page is the protocol for anyone who wants to build one. It also works the other way: people can share their assessments with a stream, and anyone can run a stream of their own. Draft 1.0-d10, 19 October 2026.

The main rule: a stream only suggests

Every event from a stream arrives in the wallet as a suggestion. It reaches the holder's timeline only when the holder confirms it, one by one or by a rule the holder made. The provider never writes into a wallet and never reads it. It learns nothing about what the holder did with an event: no confirmations, rejections, reactions or assessments go back by themselves. The holder may share an assessment with a stream, but only by their own action, each time.

Providers and relays can still see when something was delivered and to which key. A provider must not use this to link subscriptions or build profiles of people.

Three kinds of streams

  • Open. anyone may read it, and everyone gets the same events, signed by the provider: a city's road works, a conference programme, the institute's publications. The holder finds themself in the events inside the wallet; the provider is never told.
  • Private. the provider shows a one-time pairing code as a QR code on a screen only its owner sees: an app on your phone, or an admin page inside your home network or VPN. Events are encrypted for the connected wallet, and the provider may mark which participant is you.
  • Closed. only people with an attestation the stream trusts, for example from their employer or from the institute. They open the link and confirm with one tap; no codes are needed, and the stream learns what kind of person connected, not who.

Connecting is one scan

The provider shows a QR code or a link. It opens the wallet, which shows who the provider is, its key fingerprint, what it will suggest, what it keeps and for how long, and that nothing goes back without the holder's action. Nothing is connected until the holder taps Connect.

https://aeilus.institute/tools/vledger/#stream=<descriptor URL>&code=<pairing code>
https://aeilus.institute/tools/vledger/#stream=vw1:<provider address>&code=<pairing code>&relay=<relay URL>

Everything after # stays in the browser and never reaches a web server. The second form is for providers that can only be reached through a relay, such as a machine at home.

For each stream and each device, the wallet makes a new key that is used for nothing else. Two providers cannot recognise the same person by key, and the provider never receives the holder's wallet address, name or anything else from the wallet. For a private stream, the provider's screen and the wallet both show the first 8 characters of that key's fingerprint, and the owner approves the connection on the provider side if they match.

The stream descriptor

A provider describes its stream in a small JSON document signed with its key:

{ "stream": {
    "type": "aevri.vledger.stream", "version": 1, "descriptorRev": 1,
    "streamId": "<uuid v7>", "title": "2dBrain: my meetings and calls",
    "provider": { "name": "2dBrain", "kind": "device", "address": "vw1:...",
                  "encKey": { "kty": "EC", "crv": "P-256", "x": "...", "y": "..." } },
    "access": "open | code",
    "transport": ["https", "relay"],
    "endpoint": "https://example.org/vledger-stream/v1",
    "relay": "https://aeilus.institute/api/v1/vledger/relay",
    "identifies": "provider | holder",
    "eventKinds": ["meeting", "call", "task", "visit", "publication", "other"],
    "policy": { "keeps": "events and transcripts, on the provider's own machine",
                "retentionDays": 365, "deletesOnLeave": true, "rawStays": true },
    "updatedAt": "2026-10-19T09:00:00Z" },
  "sig": "<Ed25519 signature over the canonical JSON (RFC 8785) of stream>" }
  • https the wallet pulls events from the provider's HTTPS endpoint.
  • relay the provider sends end-to-end encrypted messages through a relay, so a device at home needs no open port. The ÆVRI relay keeps nothing longer than 14 days and cannot read the messages.
  • Names and policies are the provider's own claims. The wallet shows them as such and remembers the key it connected to; a different key means connecting again.

An event

{ "type": "aevri.vledger.stream-event", "version": 1,
  "streamId": "...", "eventId": "<stable id>", "rev": 1, "recipient": "vw1:<subscription key>",
  "occurredAt": "2026-10-19T09:30:00Z", "until": "2026-10-19T10:15:00Z",
  "kind": "meeting",
  "actor": { "ref": "p1", "label": "Anna" },
  "action": "agreed the pilot plan",
  "objects": [ { "label": "pilot plan for Q4", "type": "decision" } ],
  "participants": [ { "ref": "p1", "label": "Anna", "role": "actor" },
                    { "ref": "p2", "label": "Victor", "role": "affected", "you": true } ],
  "summary": "At most 1000 characters",
  "source": { "label": "Call recording, 19 Oct", "url": "https://..." },
  "confidence": 0.8, "withdrawn": false,
  "sig": "<provider signature>" }
  • An event is words: who did what with what or whom. Recordings, transcripts and media stay with the provider; an event carries at most a link back.
  • A correction comes with a higher rev; a withdrawal is a correction with "withdrawn": true. A correction never overwrites what the holder confirmed: the wallet asks first, and an event the holder rejected never comes back.
  • In a private stream exactly one participant may be marked "you": true. In an open stream the wallet asks the holder once "Which of these is you?" and remembers the answer on the device.

Delivery

  • Pull. GET {endpoint}/events?after=<cursor> returns at most 100 events and a new cursor. Private streams prove the subscription with a signed one-time challenge and send events encrypted to the subscription key.
  • Push. the provider sends stream-events messages through the relay. A relay deletes a message once it is fetched, so the provider keeps its events and sends them again when the wallet asks.
  • Subscribing, leaving and replaying are messages too: subscribe, subscribed, unsubscribe, unsubscribed, replay.

In the wallet

Suggestions wait in Review, grouped by stream, day and person. The holder confirms, confirms and rates with one tap, or rejects, one at a time or a whole group. After confirming a few by hand, the holder may make a rule such as "always confirm 2dBrain calls with Anna". Rules only confirm, never rate; what they confirmed is marked and can be undone in one tap. Pause stops a stream; Leave asks the provider to stop and to delete what it keeps, and the provider answers with a signed receipt.

Sharing back with a stream

A stream may accept feedback: an assessment of one of its events, "I took part in this", or a new event it does not know yet, such as "I used the new road". The stream's owner decides whether feedback is published as sent, reviewed first, or published at once and removed if needed, and whether it becomes visible at all. The stream states all of this in its descriptor, and the wallet shows it before anything is sent.

"feedback": {
  "accepts": ["assessment", "participation", "event"],
  "senders": ["anonymous", "subscriber", "named"],
  "moderation": "none | before | after",
  "publishes": "no | anonymous | named | sender-choice",
  "retentionDays": 730, "rulesUrl": "https://example.org/feedback-rules" }
  • Anonymous. the item is signed by a key made for it alone. The wallet warns that the words or the event itself may still point to the sender.
  • As a subscriber. the item is signed by the subscription key, so the stream sees it comes from the same subscriber as its other feedback; if the stream already knows who that subscriber is, it knows who sent it.
  • Checked, not named. the item is signed by a one-time key and carries an attestation, for example "a checked ÆVRI account". The stream knows the sender was checked, not who they are.
  • Named. the item is signed by the wallet's own key and carries the sender's card, for those who want to be known.

Only what the holder picks is sent: a one-tap reaction, words, what it gave and what it cost. Goals, the holder's own scale and other records never leave the wallet. The stream answers with a signed receipt (received, pending, published or rejected), and the sender can withdraw the item at any time; the stream then removes it from everything it publishes. A stream never makes feedback a condition of anything, never counts silence as an assessment and never tries to find out who an anonymous sender is.

Closed streams and verified people

A stream often needs to know what kind of person it talks to, not who: only the members of a department, only residents of a town, or only people with a checked account. An attestation says exactly that about one key and nothing more. It is signed by an issuer the stream trusts: the institute (account-verified: signed in on this site with a confirmed e-mail address), an employer or a town.

{ "attestation": {
    "type": "aevri.vledger.attestation", "version": 1,
    "issuer": "vw1:<issuer key>", "issuerName": "ÆVRI",
    "subject": "vw1:<the key made for this stream>",
    "claim": "account-verified",
    "audience": { "providerAddress": "vw1:...", "streamId": "..." },
    "issuedAt": "2026-10-19T10:00:00Z", "expiresAt": "2026-11-18T10:00:00Z" },
  "sig": "<issuer signature>" }

"access": "attested",
"requires": { "issuer": "vw1:<employer key>", "claim": "member:datsteam-dit" },
"feedback": { "requires": { "issuer": "vw1:<ÆVRI key>", "claim": "account-verified" } }
  • Getting one is one tap in the wallet: "Confirm with ÆVRI". The wallet first shows the issuer, the claim, the stream and how long it is valid. In the pilot an attestation is valid for one stream and 30 days.
  • It speaks about a key made for that stream, never the wallet address. The stream learns "a checked account", not who. This is privacy towards the stream, not towards the issuer: the institute knows which of its accounts the key belongs to and which stream it is for, but never sees what is sent with it and never hands that link over.
  • A checked account proves neither a legal identity nor that one person has only one account. "One voice per person", several issuers per requirement and early revocation come after the pilot.
  • The institute's issuer key and rules are published at /api/v1/vledger/attest/key.

Your own stream

Anyone can run a stream: to publish their own assessments of events, or to share events and assessments with chosen people who connect with a QR code. The wallet signs every item with a key made for that stream. Since the wallet lives on a phone or a computer, a host keeps the signed items and serves them; the institute can be that host. The host cannot change items without it being seen, cannot add readers and never sees private items in plain text. To share one assessment with one person, a direct message from the wallet is enough.

What a provider promises

  1. It signs the descriptor and every event with one key and states in the descriptor what it keeps and for how long.
  2. It sends a private subscriber only events in which that person took part.
  3. It never asks for the holder's wallet address, contacts, assessments or anything else from the wallet, and never makes an assessment a condition of anything.
  4. It keeps recordings and media to itself and sends words.
  5. It does not link subscriptions or build profiles of people.
  6. It stops when the holder leaves and keeps its promise to delete.
  7. If it accepts feedback, it follows its stated feedback policy, honours withdrawals and never makes feedback a condition of anything.

Security notes for builders

  • Pairing codes have at least 128 random bits, live at most 10 minutes and work once.
  • A wallet treats every text from a stream as untrusted: it shows it as plain text, never follows instructions in it, and opens links only when the holder taps them.
  • A wallet page served over HTTPS cannot reliably reach plain HTTP addresses in a home network. Devices at home use the relay, or HTTPS with a certificate the browser trusts.
  • A stream that requires attestations names one issuer and one claim per requirement and checks the signature, the subject, the audience and the expiry on every request.
  • Limits for the pilot: descriptor 16 KiB, event 32 KiB, response 1 MiB, 100 participants and 100 objects per event, 1000 waiting suggestions per stream.

Example: a second brain at home

2dBrain runs on a machine at home and transcribes its owner's meetings and calls. Its admin page, reachable only inside the home network, shows "Connect to Value Wallet" with a QR code. The owner scans it with the phone, sees "2dBrain: my meetings and calls, kept on the home machine, audio never leaves it", checks the 8 characters and taps Connect. From then on 2dBrain sends encrypted suggestions through the relay, and the wallet picks them up when it opens.

Status and licence

This is section 20 of the Value Wallet format and protocols (aevri.vledger), draft 1.0-d10, reviewed with Codex and Grok. The text is under CC BY 4.0, the schemas and reference code under MIT, published on GitHub. The first provider is 2dBrain; the wallet side comes next.

Open the Value Wallet