---
title: Agent quickstart
audience: agent
canonical: true
contract_version: "1.0"
---

# Agent integration quickstart

Start here when adding AgentOffer query and Offer-consumption support to an
Agent. This guide defines the portable public contract; a deployment provides
its own endpoint and access details.

## Build an Agent integration

1. Read the [Query API](https://github.com/agentoffernetwork/protocol/blob/main/v1.0/specs/query-api.md) and
   [Offer schema](https://github.com/agentoffernetwork/protocol/blob/main/v1.0/specs/offer-schema.md) before constructing a request or
   parsing an Offer. The matching files in the
   [schema repository](https://github.com/agentoffernetwork/schema) and
   [examples repository](https://github.com/agentoffernetwork/examples) are
   bound by exact path in the machine-readable metadata below. Add
   [MCP tools](https://github.com/agentoffernetwork/protocol/blob/main/v1.0/specs/mcp-tools.md) only when your Agent exposes those tools.
   Use the [category taxonomy](https://github.com/agentoffernetwork/protocol/blob/main/v1.0/specs/category-taxonomy.md) for category ids.
   To target by viewer, send the optional `context.user_profile` fields
   `location_ids`, `country`, and `verified_age_over` as the Query API defines;
   [location and age targeting](https://github.com/agentoffernetwork/protocol/blob/main/v1.0/specs/location-targeting.md) explains how
   Offers match them. No other viewer profile attribute is accepted.
2. Obtain a deployed endpoint and access credentials from the relevant
   deployment owner.
3. Send `AON-Protocol-Version: 1.0`. The request carries the current structured intent and required `intent.provenance`; bounded
   session context, `force_offer`, and `thinking_mode` are optional.
4. Validate the response before use. The response echoes
   `protocol_version: "1.0"`, includes `request_id`, `language`, and `offers`,
   and may include bounded `engagement.refinements` or
   `engagement.followup_topics` guidance.
5. If the Agent receives conversion callbacks, implement the
   [Postback contract](https://github.com/agentoffernetwork/protocol/blob/main/v1.0/specs/postback.md). Verify the signature over the exact
   raw body, keep receiver processing idempotent, and use the published retry
   and signing vectors.

## Need a protocol change?

Use the RFC process for semantic contract changes. The RFC repository governs
changes; this quickstart remains the integration entry point.

## Machine-readable metadata

```json
{
  "schema": "aon-agent-quickstart-v1",
  "contract_version": "1.0",
  "runtime_availability": "unvalidated",
  "access_eligibility": "not_publicly_specified",
  "version_selection": {
    "omitted": { "action": "reject", "mode": "fail_closed" },
    "explicit_1_0": { "action": "select", "contract_version": "1.0" },
    "unknown": { "action": "reject", "mode": "fail_closed" }
  },
  "references": {
    "query_api": {"repository": "agentoffernetwork/protocol", "path": "v1.0/specs/query-api.md"},
    "offer_schema": {"repository": "agentoffernetwork/protocol", "path": "v1.0/specs/offer-schema.md"},
    "mcp_tools": {"repository": "agentoffernetwork/protocol", "path": "v1.0/specs/mcp-tools.md"},
    "category_taxonomy": {"repository": "agentoffernetwork/protocol", "path": "v1.0/specs/category-taxonomy.md"},
    "location_targeting": {"repository": "agentoffernetwork/protocol", "path": "v1.0/specs/location-targeting.md"},
    "query_schema": {"repository": "agentoffernetwork/schema", "path": "v1.0/json-schema/offer-query-schema.json"},
    "query_example": {"repository": "agentoffernetwork/examples", "path": "v1.0/http/offer-query.json"},
    "agent_postback_spec": {"repository": "agentoffernetwork/protocol", "path": "v1.0/specs/postback.md"},
    "agent_postback_schema": {"repository": "agentoffernetwork/schema", "path": "v1.0/json-schema/postback-agent-payload.json"},
    "agent_postback_example": {"repository": "agentoffernetwork/examples", "path": "v1.0/http/postback/agent/basic-conversion.http"},
    "agent_postback_signing_vectors": {"repository": "agentoffernetwork/schema", "path": "v1.0/fixtures/postback-agent-webhook.json"}
  }
}
```
