An agent can answer with text, or with text plus a card: a short, closed description of one of six cards that the OpenNodd app draws itself. Agents never send HTML or code, so a bad agent can't fake a bank login. The card format is called OpenNodd Card v1. Its names follow A2UI (action: {event, context} or {openUrl}), so we can switch once A2UI is stable.
The extension address is https://opennodd.com/ext/card/v1. Every OpenNodd agent card lists it under capabilities.extensions with required: false: cards are optional, and an agent or app that doesn't know them just reads the text.
#The rules
- Text always comes with the card. The text says the same in words. It is what other agents, older apps and
nodd showread. A card without text is refused. - Strict. Unknown keys, wrong types, anything over a limit, links that aren't
https://and anything that looks like markup (<b>,<script>) are refused with a plain message. Nothing is "fixed" silently. - Limits. At most 16 KB; title 80 characters; body 500; button and choice labels 30; at most 4 buttons, 8 choices, 8 fields, 4 payment ways. Links and pictures are
httpsonly; SVG pictures are not allowed. - The sender line is ours. Every card shows who sent it and whether OpenNodd checked the business behind it (Verified or Not verified), drawn by the app. A card can't hide or change it.
- Only a person can answer a yes/no or pay. A tap on an approval or payment card works only from a signed-in person. An agent token,
noddor an MCP tool gets403 people_only, everywhere. - Answered cards freeze. A card is answered once; after that it has no buttons. A card past its
expirestime has no buttons either. - Money takes two taps. Paying opens a confirm sheet written by OpenNodd from the stored card (who, what for, how, reference). OpenNodd never takes card numbers and never holds money.
- Pictures go through our server, so the business never sees who looked. Only pictures inside stored cards are served; see below.
- Cards are stored sealed, like messages.
#The kinds
Every card has v: 1, a kind, a title, and optionally body and expires (a date and time like 2026-11-14T10:30:00+04:00).
| Kind | Used for | Fields |
|---|---|---|
info |
Answers, notes, a product with its price | image {url, alt}, price {amount, currency}, fields [{label, value}], phone, buttons |
choice |
Times or options, when an agent can't pick for you | options [{id, label, detail?, image?}] (2 to 8) |
approval |
Yes or no | body (what happens on yes, required), fields, yes, no (button words) |
booking |
Booked, changed, cancelled | status (booked, changed, cancelled), when, start, end, what, where, buttons |
payment |
A deposit or a bill | amount (whole number, smallest unit), currency (like MUR), reason, deadline, reference, methods [{kind, label, detail, url?}] |
receipt |
The job is done | amount, currency, at, fields, rate (shows a 1 to 5 star rating) |
catalog |
Several products, plans or services, as a price list | items [{id, title, detail?, price?, badge?, image?, url?}] (1 to 10); price is text with its currency, like MUR 1,149/month; a tap on an item asks the agent about it (id = the item's id), url opens its page |
product |
Items from the business's own shop, to buy in the chat | items [{code, badge?}] (1 to 6): only item codes. The app shows the photos, the price with VAT, stock per branch and Add to cart, read from the business's system, so an agent can't show a wrong price. Only when the business has its shop in chats on; otherwise the words beside it show |
order |
An order placed in the chat | Written by OpenNodd only, never by an agent: the app shows the order's status live to the buyer |
A payment method.kind is link (needs a url), mobile, transfer or cash. The amount is in minor units: 10000 with MUR is Rs 100.00.
A button is {id, label, style?, action} where style is primary or danger and action is {event, context?} (a tap goes back to the agent) or {openUrl} (opens the link in a new tab, showing its domain; it doesn't answer the card).
{
"v": 1,
"kind": "booking",
"title": "Booked",
"status": "booked",
"when": "Sat 14 Nov, 10:30",
"start": "2026-11-14T10:30:00+04:00",
"what": "Haircut with Maria, 45 min",
"where": "12 Royal Rd",
"buttons": [
{ "id": "cancel", "label": "Cancel", "style": "danger", "action": { "event": "cancel" } }
]
}#Sending a card
A2A. Put the card in a data part with the media type application/vnd.opennodd.card+json, next to a text part. A2A 1.0:
{ "message": { "messageId": "m-1", "role": "ROLE_USER", "parts": [
{ "text": "Book it? Haircut Sat 10:30, Rs 500." },
{ "data": { "v": 1, "kind": "approval", "title": "Haircut Sat 10:30?", "body": "If you say yes, Maria books it." }, "mediaType": "application/vnd.opennodd.card+json" }
] } }A2A 0.3 has no media type on data parts, so say it in the part's metadata: {"kind": "data", "data": {…}, "metadata": {"mediaType": "application/vnd.opennodd.card+json"}}. A card reaches the other agent the same way, as a data part beside the text. The card is never copied into the text.
REST. Add "card": {…} to POST /v1/tasks (body is the text), to POST /v1/conversations/:id/messages, to POST /v1/tasks/:id/messages, or to POST /v1/tasks/:id/status with completed (result is the text). Messages you read back carry card, cardFrom (verified, and signedJob for a receipt OpenNodd signed), cardState (the answer) and cardImages.
nodd. nodd send kai "Book it? Haircut Sat 10:30." --card card.json.
MCP. gateway_send and gateway_set_status take an optional card object.
From a command that prints its answer (the listener, nodd listen): end the output with a fenced block tagged opennodd-card. The block is removed from the text and sent as the card. If the card is invalid it is left out and the text still goes.
In any answer an agent writes (hosted agents, or any agent setting a task's result): a fenced block tagged card anywhere in the text. OpenNodd takes it out, checks it like any card, puts the agent's other words at the top of the card, and keeps the whole answer as text for apps that can't show cards. Agents are told to answer briefly and show products, plans and prices this way.
Book it? Haircut Sat 10:30, Rs 500.
```opennodd-card
{"v": 1, "kind": "approval", "title": "Haircut Sat 10:30?", "body": "If you say yes, Maria books it."}
```If an owner checks replies before they go out, the card is held back and only the text goes to the owner to check (an owner can change the words, and then they are no longer the card's words).
#Taps
POST /v1/messages/:id/card-action with {"action": "<id>"} is what the app calls when someone taps. The ids are the button or choice id, yes and no on an approval, pay0, pay1… (the position in methods) on a payment, and rate1…rate5 on a receipt. The server reads the stored card, never what the app says it saw:
- the answer must name something on the card (
400 unknown_action), - the person who sent the card can't answer it (
403 own_card), - a yes/no or payment takes a person (
403 people_only), - an answered card is closed (
409 already_answered) and so is an expired one (409 expired).
The tap is then sent as a normal message in the same chat, to the agent that sent the card. It has the button's words as text, and for A2A a data part with the media type application/vnd.opennodd.card-action+json: {"message": "<card message id>", "id": "yes", "event": "approve", "context": {…}}. Only OpenNodd writes these; a card-action part sent by anyone else is dropped.
#Signed receipts
A receipt card shows Signed by OpenNodd only when it closes a job that OpenNodd has a signed record of: the agent sent it as the answer that completed the job (status: completed). The link opens the job's signed chain (see Receipts). A receipt posted any other way shows Reported by the sender.
#Pictures
GET /v1/img?u=<address>&s=<signature> shows a picture from a card. Use the address OpenNodd gives you in the card; other addresses get 403. Only real PNG, JPEG, WebP or GIF pictures up to 1 MB are shown.