---
title: "What Is poppy.json? The /.well-known File That Tells AI Agents How to Work With Your Company"
slug: what-is-poppy-json-the-well-known-file-that-tells-ai-agents-how-to-work-with-your-company
url: https://listedarticles.com/articles/what-is-poppy-json-the-well-known-file-that-tells-ai-agents-how-to-work-with-your-company
canonical_url: https://contextiq.trango-compute.com/blog/what-is-poppy-json-well-known-file-ai-agents
content_type: tutorial
language: en
published_at: 2026-10-09T00:00:00.000Z
updated_at: 2026-10-13T11:12:14.452Z
authored_by: human
publisher: "ContextIQ / Trango Compute"
publisher_url: https://contextiq.trango-compute.com/
topics: ["AI Agents", "Tutorials", "Developer Tools", "AI"]
license: all-rights-reserved
word_count: 888
reading_minutes: 4
citation: "ContextIQ / Trango Compute. \"What Is poppy.json? The /.well-known File That Tells AI Agents How to Work With Your Company.\" 9 Oct 2026. https://contextiq.trango-compute.com/blog/what-is-poppy-json-well-known-file-ai-agents (all-rights-reserved)"
# The full text follows. The web page shows an extract and sends readers
# to the source above; quote the citation and link the canonical URL.
---

# What Is poppy.json? The /.well-known File That Tells AI Agents How to Work With Your Company

> A walkthrough of poppy.json, the Personal Agent Protocol (PAP/Poppy) discovery file at /.well-known/poppy.json: required fields for organization, OAuth, agent/API/web interfaces and extensions, plus a fictional worked example of Draft 0.1.

`poppy.json` is a small JSON file a company publishes at `https://{domain}/.well-known/poppy.json` so that a person's AI agent can find out, in one request, how the company wants agents to work with it. It is the discovery step of the Personal Agent Protocol (PAP, also called Poppy). The [Draft 0.1 specification](https://personalagentprotocol.org/docs/spec) was published on October 9, 2026, and the project calls the whole thing changeable, so treat the details below as a draft.

## What the file is for

Before an agent can sign in, call an API, browse a site or start a conversation, it has to know what exists. `poppy.json` answers four questions: who is this company, which OAuth server do I authenticate against, which interfaces are on offer (APIs, a website, a company agent), and which optional features does it support. For the bigger picture, see [what PAP is](https://contextiq.trango-compute.com/blog/what-is-personal-agent-protocol-pap-sierra-meta).

## The fields

| Field | Required? | What it holds |
| --- | --- | --- |
| `protocol_version` | Yes | `"major.minor"`, for example `"0.1"` |
| `organization` | Yes | `name` and `domain`; the domain must match the host the file was fetched from (ignoring `www.`) |
| `auth` | Required if `agent`, `apis` or `web.browser_session_endpoint` is present | `issuer` (an HTTPS URL for the OAuth server), plus optional `direct`, `device` and `mediated` sign-in blocks with their scopes, and `custom_scopes` |
| `agent` | One of `agent`, `apis`, `web` is required | `protocols`: a list of objects with a `type` (such as `"poppy"`), an HTTPS `endpoint` for conversations, and an optional `resource` |
| `apis` | One of the three is required | A list; each item has a `type` (`"openapi"` or `"mcp"`), a `url`, a short `description`, and an optional `resource` |
| `web` | One of the three is required | `browser_session_endpoint`: where an agent's browser joins a session |
| `extensions` | No | Optional features, each with a `version`; the built-in one is `operations`, and third-party ones use domain-prefixed names such as `example.com/gift-wrap` |

## A worked example (fictional)

> **Illustrative.** Northwind Outfitters is a made-up company, and these URLs do not exist. The shape follows the Draft 0.1 field list above; the spec text is the authority on exact values.

```
{
  "protocol_version": "0.1",
  "organization": {
    "name": "Northwind Outfitters",
    "domain": "northwind.example.test"
  },
  "auth": {
    "issuer": "https://auth.northwind.example.test",
    "direct": { "scopes": ["poppy:read", "poppy:write"] },
    "device": { "scopes": ["poppy:read"] }
  },
  "apis": [
    {
      "type": "mcp",
      "url": "https://mcp.northwind.example.test/mcp",
      "description": "Order lookup and returns"
    },
    {
      "type": "openapi",
      "url": "https://api.northwind.example.test/openapi.json",
      "description": "Product catalog and stock levels"
    }
  ],
  "web": {
    "browser_session_endpoint": "https://northwind.example.test/poppy/browser-session"
  },
  "extensions": { "operations": { "version": 1 } }
}
```

Read it as a menu. An agent that only needs stock levels can use the OpenAPI description. One that needs to look up an order can use the MCP server. Both authenticate against the single issuer in `auth`, and a customer can sign in directly in a browser (read and write) or on another device (read only).

## What an agent checks before trusting it

The draft puts the trust anchor in the OAuth server, not in the JSON file alone. Before using a `poppy.json`, an agent must:

1.   Fetch it over HTTPS. Redirects are allowed, but every destination must be HTTPS, and `organization.domain` must still match the domain originally requested.
2.   Fetch the company's OAuth Authorization Server Metadata (RFC 8414).
3.   Confirm the metadata's `issuer` exactly equals `auth.issuer`, and that its `poppy_domains` list includes `organization.domain`.

That last check ties a domain to an issuer from both sides, which is meant to stop one company's file from pointing agents at another company's login. It also means publishing `poppy.json` is not enough: your authorization server metadata has to carry `poppy_domains`.

## Common mistakes the rules imply

*   **Declaring `apis` or `agent` with no `auth` block.** The draft requires `auth` whenever those are present.
*   **A domain that does not match the host.**`organization.domain` must equal the host the file is served from.
*   **A redirect to plain HTTP.** Every redirect destination must be HTTPS.
*   **An issuer mismatch.**`auth.issuer` and the metadata's `issuer` must match exactly, including any trailing slash.
*   **No `poppy_domains` in the OAuth metadata.** Agents are required to look for it.
*   **Treating the file as the whole integration.** It only describes; sign-in, DPoP-bound tokens and the interfaces themselves are still yours to build.

## How it relates to other discovery files

Several well-known files now exist for agents, and they answer different questions. `poppy.json` describes how a person's agent should authenticate and which interfaces a company offers under PAP. An `agent-card.json` describes an A2A agent's identity and skills. `llms.txt` is a plain-text guide for language models. Our overview of [making a website discoverable to AI agents](https://contextiq.trango-compute.com/blog/make-website-discoverable-ai-agents-llms-txt-agent-cards) covers the others. A company can publish several.

## Where ContextIQ fits

The [Agent Protocol Inspector](https://contextiq.trango-compute.com/poppy-inspector) fetches `/.well-known/poppy.json`, lints it against the Draft 0.1 rules above, and runs the issuer cross-check: it fetches the authorization server metadata at `auth.issuer` and reports whether the `issuer` matches exactly, whether `poppy_domains` lists your domain, and whether the endpoints your sign-in methods need are present. It reads published documents only. It does not sign in, test DPoP, or call the APIs and conversation endpoint your file lists, and it is not a conformance test. The spec is a draft, so its rules may change. If your file lists an MCP server, you can scan that server's URL in the same tool to see what an agent would discover there. The [OIDC Inspector](https://contextiq.trango-compute.com/oidc-inspector) shows what your authorization server publishes in general.

## Sources

*   [PAP Draft 0.1 specification](https://personalagentprotocol.org/docs/spec), [overview](https://personalagentprotocol.org/docs/overview) and [guides](https://personalagentprotocol.org/docs/guides)
*   [RFC 8414, OAuth 2.0 Authorization Server Metadata](https://www.rfc-editor.org/rfc/rfc8414.html)
