adras.stream
AG-UI showcase

An agent that asks before it pays

This agent reads the ProofProfile register at proofprofile.it. Finding a recording there is free, and proving that it existed before a Bitcoin block costs money. Every step the agent takes reaches this page as an AG-UI event, and the agent stops and waits for you before anything would be paid.

Protocol AG-UI 1.0 over HTTP and SSE Source proofprofile.it/proofit Wallet none, nothing is ever charged here

Proof desk

Ready

Ask about a recording

Name a title and an artist, or give an ISRC. The agent searches the register for free, asks which recording you mean, fetches the price of the proof and waits for your decision.
Each send starts one AG-UI run. Answers state existence only, never authorship, ownership or human origin.

What the agent sends

Run and step Text Tool call State Activity
How it works

One stream of typed events, three places a person decides

The page posts a single run input to the agent and reads back a stream of server-sent events. The agent calls the ProofProfile register as an MCP client. Its free search tool returns candidate recordings. Its paid proof tool answers an unpaid call with an x402 payment request, which is the price and costs nothing. The agent turns each point where a person must decide into an AG-UI interrupt, ends the run there, and continues only when the page starts a new run that answers it.

Which recording

A name search can return several releases and namesakes. The agent asks with an input interrupt whose schema lists the ISRCs it found, so the page can offer exactly those and nothing else.

Whether to pay

The proposed payment is a tool call the agent does not execute. A tool call interrupt binds the approval to that call, and the result arrives against the same call in the next run.

What the answer may claim

The register proves that a record existed in an exact form before a Bitcoin block. The agent repeats its written answer as given and never turns it into a claim of authorship, ownership or human origin.

EventWhat appears on the page
RUN_STARTED, RUN_FINISHEDThe status light, and the interrupt cards when a run ends with an interrupt outcome
STEP_STARTED, STEP_FINISHEDThe current phase in the status line
TEXT_MESSAGE_*The agent's replies, streamed word by word
TOOL_CALL_*The tool cards, with arguments streamed as the agent writes them and the result once it returns
STATE_SNAPSHOT, STATE_DELTAThe plan above the conversation, the recordings to choose from and the price quote
ACTIVITY_SNAPSHOT, ACTIVITY_DELTAThe search widget that fills in while the register is read
MESSAGES_SNAPSHOTNothing visible. It hands the page the full history to send back on resume
RUN_ERRORA red notice, for example when an interrupt has expired