← All guides

What Is /.well-known/agent-policy.json?

Published November 14, 2026 · Reviewed November 14, 2026 · Ingenious AI team

The short answer: /.well-known/agent-policy.json is a small JSON file at a standardised location where a store publishes its rules for automated agents: what they may do (browse, cart, order), any limits, the expected commitment model (for example, agent prepares and human pays), and a contact for agent operators. AXO's guidance treats it as a first-class surface — shopping agents check the well-known path first for your rules — and its policy dimension awards the dimension's largest share (60 points) for a reference to it, or 45 for declaring the policy published. Ship the file, reference it from your footer and developers page, and confirm the credit in the free audit.

Audit my store — free

What is agent-policy.json?

agent-policy.json is a JSON document served at /.well-known/agent-policy.json in which a site declares its terms for automated agents: permitted behaviours, rate or basket limits, purchase commitment rules, and a contact. The /.well-known/ prefix is the web's standard directory for site-level metadata files that programs fetch by convention rather than by discovery.

Why a file, why this path

Agents need your rules before they act, and they need them without a scavenger hunt. The well-known directory exists for exactly this: a fixed path any program can request from any site, the way browsers request /favicon.ico and crawlers request /robots.txt. An agent that finds your policy there learns your terms in one fetch, before its first product query — which is when terms can still shape behaviour instead of merely documenting violations.

The JSON format serves the same consumer: parseable, field-addressable, diffable across versions. A parallel human-readable policy page (which AXO also credits) serves the operators and merchants who read prose; the two documents state the same rules in two registers, and keeping them consistent is part of the discipline — see policy vs robots.txt for how the neighbourhood's files divide the work.

What a minimal honest file contains

Five things, stated plainly: (1) identity — the store's name and canonical URL; (2) allowed behaviours — browsing, cataloguing, cart preparation, order creation, each yes or no; (3) limits — rate expectations, basket or category limits, any pre-registration requirements; (4) the commitment model — who pays and how (agent prepares, human pays is a complete answer); (5) contact — an email or URL that reaches someone who can answer an operator's question. Version and last-updated fields help consumers detect change; include them.

Resist decorating the file with capabilities you do not run. A policy claiming order APIs that do not exist sends agents into failing integrations and converts a documentation gap into a reliability judgment. The file's power comes from being believed, and it is believed in proportion to its track record of understatement.

How AXO credits the policy

The policy dimension (10% of the overall score) awards 60 points when your pasted page references /.well-known/agent-policy or agent-policy.json in a link or text, 45 when you declare a published policy on the checklist without the page referencing it, 25 for a linked agent/bot policy page, and 15 for a robots.txt reference. The gradient teaches the intended end state: the file existing is good; the file referenced from your pages — discoverable — is better, because discoverability is what agents experience.

In practice: serve the file, link it from the footer and the developers page (a link titled 'Agent policy' in the footer is both a human signpost and scorer-visible evidence), and declare it on the checklist. All three signals together take the dimension near its ceiling. The remaining points live in the readable page and the robots reference — the full pass is in writing the policy file.

What agents do with your policy

Well-behaved agents and their operators use policies to configure behaviour per store: crawl pacing, whether cart preparation is welcome, whether order creation is attempted or the human-pays link is requested, whom to contact when something breaks. Operators maintaining allow-lists treat a published policy as evidence of a store that wants agent business on stated terms — the difference between a merchant and a website.

The absence case is equally behavioural: no policy means defaults, and defaults are cautious — slower, shallower, readier to skip. Merchants sometimes imagine silence as neutrality; to an agent allocating effort across thousands of stores, silence is a mild negative signal stacked against every store that published. The file costs an afternoon. The silence costs a little on every visit, forever.

Policy as a living document

Your policy will change: order creation opens to partners, limits adjust, a category gains a pre-registration requirement. Version the file (a version field and updated date), note material changes in your developers changelog, and never let the file promise a retired surface for a season after its retirement. The monthly spot-check that covers your feed should fetch the policy and click its references — two minutes, same sitting.

Ownership closes the loop: a named person owns the policy's truth, the way a named person owns the feed's freshness. Policies owned by 'the team' drift; policies owned by a person get updated the week the terms change. In a document whose entire value is credibility, the update latency is the credibility.

Your first file, today

Draft from your actual current state, not your roadmap: if agents may browse and you have no order API, the file says browsing welcome, cart via the website, orders human-completed, contact here. That honest v1 already earns the dimension's core and starts the credibility ledger. Then let the file grow with the store — each new surface (cart API, order partners, MCP) earns a line when it ships, announced by the version bump.

Serve it at the exact path, reference it from your footer, declare it in your next audit, and watch the policy dimension move off zero — for most stores, the first non-zero policy score they have ever had, from the smallest file they will ever ship. Begin with the audit baseline so the before and after are on record.

The 5-action policy file launch

  1. Draft from reality: identity, allowed behaviours, limits, commitment model, contact — only what is true today.
  2. Serve at the exact path /.well-known/agent-policy.json as valid JSON, publicly fetchable.
  3. Reference it everywhere agents look: footer link ('Agent policy'), developers page, and your readable policy page.
  4. Declare it on the audit checklist and confirm the policy dimension registers the reference.
  5. Version and own it: version + updated date in the file, a named owner, a monthly fetch-and-click check.

Worked example: the smallest file with the largest dimension swing

Example — fictional, for illustration. A musical-instrument store's audit shows policy at 15 (a robots.txt reference) with everything else respectable — overall 78, capped by the policy gap. The owner drafts agent-policy.json in an hour from a blank page: browsing and cataloguing welcome, carts via the documented API, orders agent-prepared with human payment (their actual model), a 30-item basket limit (their platform's real limit), contact at their orders inbox. The developer serves it at the well-known path and links it in the footer.

Re-audit: policy 15 → 100 once the readable policy page joins it, overall up 8.5 points to a solid A-range store. The file is 40 lines. In the following quarter, two agent operators write to the contact address — the first direct operator relationships the store has ever had — both citing the policy as why they reached out. Forty lines of JSON: a dimension maxed, a channel opened, a lobby built. Files do not get more leveraged than that.

Related guides and the standing invitation

Companion reading for this topic: How Do You Write an Agent Policy File for Your Store? · Agent Policy vs robots.txt: What Is the Difference? · How Do You Write a Human-Readable Agent Policy Page? · What Belongs in Your Store's /.well-known/ Directory?.

Whatever this guide led you to change, prove it the way every guide in this series ends: re-run the free audit on the same page and compare the dimension it names, read how the audit works if a finding is unclear, and see plans if you want the full guidance report and re-audit history while you work. A change you have not re-measured is a hope, not a fix.

Run the free audit · All guides

Sources

Frequently asked questions

What is /.well-known/agent-policy.json?

A small JSON file at the standard well-known path where a store publishes its rules for automated agents: permitted behaviours (browse, cart, order), limits, the purchase commitment model, and a contact. Agents check the path by convention, before acting, the way crawlers check robots.txt.

What should the file contain?

Identity (name, canonical URL), allowed behaviours stated yes/no, limits (rates, baskets, categories, pre-registration requirements), the commitment model (for example agent prepares, human pays), a working contact, and version/updated fields. Only what is true today.

How does AXO score it?

The policy dimension awards 60 points for a reference to the well-known policy path in your page, 45 for declaring a published policy on the checklist, 25 for a linked agent/bot policy page, and 15 for a robots.txt reference. Serve the file, link it, declare it.

Why do agents care about a policy file?

It configures their behaviour per store — pacing, whether carts and orders are welcome, whom to contact — and signals a store that wants agent business on stated terms. Its absence reads as mild negativity: defaults are cautious, and effort flows to stores that published.

Does the policy need a lawyer?

No. It needs honesty and a named owner who keeps it current. It is an operational document stating your store's actual terms for agents, closer to a shipping policy than to terms of service.

← Back