Early access. See an assistant built on your own site. Book a demo

Open standard · instood-agent-rules/0.1Agent rules. Before an assistant acts.

One small file a shop publishes, saying what AI shopping assistants may do there and on what terms. An assistant reads it first, so it knows the rules before it acts.

Purpose

Shoppers now send assistants to shops: to ask, compare, check an order or leave a message. Each shop has its own terms. Today an assistant has to guess them from pages written for people.

An agent rules file says them plainly, in a form a program can read. Which tools the shop offers, and where. How orders are checked. That prices hold at the time of answer and buying happens on the shop’s site. What its assistant never does. How many requests are welcome.

It opens nothing new. An assistant gets no more than the shop’s own chat would give a shopper.

Where the file lives

At a fixed address on the shop’s own site:

https://<shop>/.well-known/agent-rules.json

Some platforms do not reliably let a shop serve files under /.well-known. Shopify is one. There, the shop puts a link in the head of its pages, pointing to the file wherever it can be served:

<link rel="agent-rules" href="https://rules.hartwell.example/agent-rules.json">

An assistant tries /.well-known/agent-rules.json first. If that is not found, it looks for the link on the shop’s home page.

Fetching it

  • Follow redirects. A shop may move the file, or send /.well-known to another address.
  • It is open to any origin. A shop should serve it with Access-Control-Allow-Origin: *, so tools in a browser can read it too.
  • Cache it briefly. Up to 5 minutes is a sensible default, so a change of rules takes effect soon.
  • Ignore what you don’t know. Unknown fields are skipped, not treated as errors.
GET https://hartwell.example/.well-known/agent-rules.json
Accept: application/json

200 OK
Content-Type: application/json
Access-Control-Allow-Origin: *
Cache-Control: max-age=300

Fields

A JSON object. Every field below is present in a 0.1 file; where a value may be null, the type says so.

FieldTypeMeaning
standardstringAlways instood-agent-rules/0.1 for this version.
shop.namestringThe shop’s name, as shoppers know it.
shop.sitestring (URL)The shop’s own site, starting https://.
endpointstring (URL) or nullThe shop’s MCP server (streamable HTTP), where the offered tools are. null when the shop has none.
offersarray of stringsThe tool names the shop has switched on at the endpoint. An empty array means it offers nothing just now. Known names are listed below; others are allowed.
rules.orders.code_requiredbooleantrue means an order is shown only after the assistant gives back a code emailed to the address the order was placed with.
rules.orders.code_sent_tostringorder_email: the code goes to the address the order was placed with, never to one the assistant gives.
rules.orders.code_minutesintegerHow many minutes a code lasts.
rules.prices.validstringat_time_of_answer: a price is true when it is given. It is not a promise.
rules.prices.checkoutstringon_shop_site: buying happens on the shop’s own site or checkout. The assistant never takes payment details for the shop.
rules.answersstringfrom_shop_sources_only: answers come from the shop’s own pages and its team’s answers. When there is nothing to answer from, it says so.
rules.pages.returnsstring (URL) or nullThe shop’s returns page.
rules.pages.deliverystring (URL) or nullThe shop’s delivery page.
rules.pages.privacystring (URL) or nullThe shop’s privacy page.
rules.neverarray of stringsThings the shop’s own assistant never does. An assistant acting at the shop should respect them too.
limits.unverified.requestsintegerRequests an unverified assistant may make from one network address in each window.
limits.unverified.per_secondsintegerThe length of that window, in seconds.
limits.unverified.messages_per_hourintegerMessages to the team an unverified assistant may leave in an hour.
limits.unverified.codes_per_email_per_hourintegerOrder codes that may be sent to one email address in an hour.
contactobject or nullHow an assistant reaches people at the shop. null when the shop takes no messages from assistants.
contact.toolstringThe tool name that reaches people, such as contact_team.
contact.reachesstringteam_inbox: the message lands with the shop’s team.
contact.reply_bystringemail: the team replies to the shopper by email.
updated_atstring (ISO 8601)When the rules last changed.

Known tool names in offers

NameWhat it does
askAsk a question in plain words.
shop_policiesDelivery, returns and contact pages, and the team’s hours.
find_productsSearch the shop’s products.
order_statusCheck an order, with a code emailed to the order’s address.
contact_teamLeave a message for the team.

A shop may offer tools with other names. An assistant learns their arguments from the MCP server itself.

Verified assistants may be given higher limits in a later version. In 0.1, only limits.unverified is defined.

A full example

For Hartwell & Co, a made-up shop at hartwell.example, served at https://hartwell.example/.well-known/agent-rules.json:

agent-rules.json
{
  "standard": "instood-agent-rules/0.1",
  "shop": {
    "name": "Hartwell & Co",
    "site": "https://hartwell.example"
  },
  "endpoint": "https://app.instood.com/agents/us_example/mcp",
  "offers": [
    "ask",
    "shop_policies",
    "find_products",
    "order_status",
    "contact_team"
  ],
  "rules": {
    "orders": {
      "code_required": true,
      "code_sent_to": "order_email",
      "code_minutes": 10
    },
    "prices": {
      "valid": "at_time_of_answer",
      "checkout": "on_shop_site"
    },
    "answers": "from_shop_sources_only",
    "pages": {
      "returns": "https://hartwell.example/returns",
      "delivery": "https://hartwell.example/delivery",
      "privacy": "https://hartwell.example/privacy"
    },
    "never": [
      "Never claims to be a human",
      "Never asks for card details or passwords",
      "No medical, legal or financial advice"
    ]
  },
  "limits": {
    "unverified": {
      "requests": 60,
      "per_seconds": 600,
      "messages_per_hour": 5,
      "codes_per_email_per_hour": 3
    }
  },
  "contact": {
    "tool": "contact_team",
    "reaches": "team_inbox",
    "reply_by": "email"
  },
  "updated_at": "2026-11-27T10:00:00.000Z"
}

Make your own file with the free rules maker →

Versions

The standard string names the version. While it is 0.x, the format may still change.

  • Additive changes keep the version. A new optional field does not change instood-agent-rules/0.1.
  • Breaking changes bump it. Renaming or removing a field, or changing what one means, gives a new version string.
  • Readers ignore fields they don’t know. So an older reader still works with a newer file of the same version.

Alongside other protocols

The file states the rules. It does not replace the protocols that do the work.

  • MCP. The endpoint field points to the shop’s MCP server, where the tools in offers are called.
  • UCP and ACP. These checkout protocols handle baskets and buying. The rules file says what is allowed; they do the buying.

MCP, ACP, UCP and AP2, explained →

Licence

The text of this specification is published under Creative Commons Attribution 4.0 (CC BY 4.0). Anyone may implement the format, in a shop, an assistant or a tool, without asking.

Hartwell & Co and hartwell.example are made up, to illustrate.