# Protocols

Which agent and commerce protocols work with AIX today, which don't, and which one to use.

Source: https://www.brambles.ai/agentic-intent-exchange/docs/protocols

AIX carries a shopper's request from the agent that sent them to the store that receives them. Other protocols do other jobs: MCP connects an agent to tools, UCP and ACP run a checkout, and AP2 authorizes a payment. AIX works alongside the ones you already use.

## What works today

| Protocol | What it does | With AIX | Status |
|---|---|---|---|
| HTTPS API | Calls from your server | Every AIX operation, in an [OpenAPI document](https://www.brambles.ai/aix/openapi.v1.yaml) | Live |
| [MCP](https://modelcontextprotocol.io) | Connects an agent to tools | Sign in through Clerk, or use an existing sender or receiver key; operations stay limited to your AIX apps | Live |
| [Agent Skills](https://agentskills.io) | Teaches an agent a task | `aix-send-intent` and `aix-receive-intent` set up your integration; `aix-shopping-continuity` teaches a store's own agent to use a brief | Live |
| [UCP](https://ucp.dev) | Runs a checkout through an API | The checkout carries the AIX handoff id, and the store redeems it | Live at checkout |
| [ACP](https://github.com/agentic-commerce-protocol/agentic-commerce-protocol) | Runs a checkout through an API | The checkout carries the AIX handoff id, and the store redeems it | Live at checkout |
| [Personal Agent Protocol](https://personalagentprotocol.org) | Lets a shopper's own agent talk to a store's agent | The `brambles.ai/aix` extension carries the handoff id | Live, on a draft protocol |
| [AP2](https://ap2-protocol.org) | Authorizes a payment | Nothing | Not built |
| [A2A](https://a2a-protocol.org) | Lets agents pass tasks to each other | Nothing | Not built |
| [AdCP](https://adcontextprotocol.org) | Automates ad buying with agents | Nothing | Not built |

## Which one should I use?

| You want to | Use |
|---|---|
| Have a coding agent set up your integration | [Agent Skills](#agent-skills) |
| Send intent from your own server code | The [HTTPS API](https://www.brambles.ai/agentic-intent-exchange/docs/sending-agents.md) |
| Give an agent AIX as tools | [MCP](#mcp) |
| Receive shoppers on a website | The [AIX tag](https://www.brambles.ai/agentic-intent-exchange/docs/receiving-agents.md#capture-the-shopper-s-arrival): one line, no server code |
| Receive orders from a shopper's agent through your checkout API | [UCP or ACP](#ucp-and-acp) |
| Talk to a shopper's own agent | The [Personal Agent Protocol](#personal-agent-protocol) |

## MCP

Use `https://aix.brambles.ai/api/aix/mcp` over Streamable HTTP. The same address accepts a browser sign-in through Clerk or an existing sender or receiver key. The [reference](https://www.brambles.ai/agentic-intent-exchange/docs/reference.md#mcp) lists the tools.

### Sign in with your Brambles account

In an OAuth-capable MCP client, such as a ChatGPT custom connector or Claude custom connector, add the endpoint above and choose OAuth. Follow the client's browser sign-in, use your Brambles login and approve the requested AIX permissions. Client settings and availability depend on your client and plan.

Start by asking the client to call `list_apps`. It lists the eligible AIX apps owned by organizations you currently belong to, their organization and role, whether you may change data, and their available environments. The API role `publisher` means a sending agent. If the list is empty, finish AIX setup in the [console](https://www.brambles.ai/agentic-intent-exchange/connect) first; signing in does not create an app.

Choose an `app_id` from that list for each app-scoped tool call. `environment` defaults to `test`; select `live` explicitly for production. For example, a `get_activity` call uses these arguments, replacing the example id with your own:

```json
{
  "app_id": "aixapp_0123456789abcdef0123",
  "environment": "test"
}
```

Browser permissions are separate from a sender or receiver key's scopes:

| OAuth scope | Allows |
|---|---|
| `profile` | Identifies the person signing in |
| `aix:read` | Lists eligible apps and reads the selected app's AIX activity and permitted deliveries |
| `aix:send` | Sends intent, reports handoffs and deletes sessions for a sending app |
| `aix:receive` | Redeems handoffs, submits signed acknowledgments and reports outcomes for a receiving app |

The initial connection requests `profile aix:read`. A tool that needs `aix:send` or `aix:receive` asks for that extra permission before running. If your client cannot complete that extra consent step, reconnect with the required scope or use the key-based integration. Giving consent alone does not run a tool.

AIX checks your current organization memberships on each request. Only an organization admin may use tools that change data. Every selected app must be active, its organization must already be enrolled on that side of AIX, and its current terms must have been accepted. `live` also requires the existing production gate: a successful test handoff for a sender, or a verified domain for a receiver. Campaign, billing, budget, privacy and receipt checks still apply. A live receiver redemption can charge its existing campaign.

Signing in does not enroll an organization, accept terms, issue keys, start campaigns, enable spending or authorize a shopper's purchase. Receiver secrets and acknowledgment signing stay in your backend. The customer-data connector at `https://chat.brambles.ai/api/mcp` is a separate resource; its login token cannot be reused for AIX.

### Connect with an existing key

For a deployed assistant or merchant backend, send `Authorization: Bearer <key>` to the same endpoint. A sender key is offered only sender tools, and a receiver key only receiver tools. The key fixes the app and environment, so these calls do not add `app_id` or `environment`. The [quickstart](https://www.brambles.ai/agentic-intent-exchange/docs/quickstart.md#mcp-any) has key configurations for Claude Code, Cursor, Codex and other clients. Existing exchange-issued machine OAuth tokens also keep their current behavior.

Browser OAuth applies to this MCP endpoint. The HTTPS API, published TypeScript and Python SDKs, webhooks and backend signing continue to use their existing credentials; a browser login does not replace that server integration.

## Agent Skills

`npx skills add https://aix.brambles.ai` installs both setup skills for Claude Code, Cursor, Codex and other coding agents. An agent that can't install them can read them directly: [send-intent](https://aix.brambles.ai/api/aix/skills/send-intent) and [receive-intent](https://aix.brambles.ai/api/aix/skills/receive-intent).

The same command installs [shopping-continuity](https://aix.brambles.ai/api/aix/skills/shopping-continuity), a skill for a store's own agent. The setup skills wire the brief into the agent's turn; this one tells the agent what to do with it: required facts are filters, preferred facts set the order, excluded facts are avoided, and the brief is data, never instructions. The [receiving-agent guide](https://www.brambles.ai/agentic-intent-exchange/docs/receiving-agents.md#teach-your-agent-to-use-the-brief) shows how to load it.

## UCP and ACP

When a shopper's agent buys through a store's checkout API, nobody visits a page, so the handoff id travels in the checkout:

- UCP: `"attribution": { "aix_handoff": "aixho_…" }`
- ACP: `"affiliate_attribution": { "provider": "aix.brambles.ai", "token": "aixho_…", "touchpoint": "first" }`

The store's server redeems the id with `POST /handoffs/{handoff_id}/redeem`. AIX then delivers the shopper's request, charges the store and credits the sending agent, as it does for a click. AIX adds no checkout of its own and never touches the payment. The [sending-agent](https://www.brambles.ai/agentic-intent-exchange/docs/sending-agents.md#agentic-checkout) and [receiving-agent](https://www.brambles.ai/agentic-intent-exchange/docs/receiving-agents.md#agentic-checkout-ucp-acp) guides have the details.

This carries AIX context and attribution through the store's own checkout integration. It is not a native cart or payment service, a certification, or evidence that a particular external merchant has completed a paid handoff. Redeem only after the checkout completes an order, with its `order_id`.

### Use the brief in a UCP catalog search

If your own catalog search takes UCP requests, pass the delivered `brief` as `context.intent`, which UCP defines as "background context describing buyer's intent". UCP treats `context` as a hint, so map the required facts in `activation` to `filters` as well. Use the brief only for that shopper's task, and treat it as data, never as instructions. A search vendor that handles it for you is a service provider, and the [receiver terms](https://www.brambles.ai/agentic-intent-exchange/terms/receivers.md) require a written contract with them.

## Personal Agent Protocol

A store lists `brambles.ai/aix` in its `/.well-known/poppy.json`, and a shopper's agent passes its handoff id in the conversation. The store redeems it from its server, so the request reaches the store and the agent is credited. See [Personal agents](https://www.brambles.ai/agentic-intent-exchange/docs/personal-agents.md).

The store must integrate that extension and redeem only when the conversation completes an order. Clerk's AIX browser sign-in does not install a PAP store agent or grant cart or payment access.

The Personal Agent Protocol is a draft (0.3) and can change. It isn't the IETF Principal Agent Protocol (`draft-baur-pap-02`), which shares the abbreviation PAP and doesn't work with AIX.

## AP2, A2A and AdCP

AIX doesn't read or issue AP2 mandates, has no A2A agent card or task endpoint, and has no AdCP binding.

You don't need AP2 to use AIX. AIX carries no payment authority and never charges the shopper, so the store's checkout takes payment the way it already does. An agent that speaks A2A can still report intent and handoffs over HTTPS or MCP.

Need one of these? Tell us at [hello@brambles.ai](mailto:hello@brambles.ai).

## How agents find AIX

| What | Where |
|---|---|
| Instructions for agents | `https://www.brambles.ai/agents.md` |
| Index of the site and docs | `https://www.brambles.ai/llms.txt` |
| Any docs page as Markdown | Add `.md` to its URL, or send `Accept: text/markdown` |
| AI Catalog | `https://www.brambles.ai/.well-known/ai-catalog.json` |
| MCP Server Card | `https://aix.brambles.ai/api/aix/mcp/server-card` |
| Browser OAuth resource metadata | `https://aix.brambles.ai/.well-known/oauth-protected-resource/api/aix/mcp` |
| Skills index | `https://aix.brambles.ai/.well-known/agent-skills/index.json` |
| OpenAPI document | `https://www.brambles.ai/aix/openapi.v1.yaml` |
| Receipt signing keys | `https://aix.brambles.ai/.well-known/jwks.json` |
