Operators act as the bridge between:
- AI Platforms (who send anonymized intent)
- Brand Agents (who bid on that intent)
- The AIP Ledger (which verifies exposure, click, and conversion events)
How Operators and Brand Agents Work Together
This section describes the public interaction flow between AIP Operators and Brand Agents. It defines the protocol-level responsibilities of the Operator without prescribing internal architecture.High-level flow
- A Platform submits a PlatformRequest containing user intent to the Operator.
- The Operator derives a ContextRequest, removing raw user data and enforcing privacy rules.
- The Operator classifies the ContextRequest into one or more category pools.
- The Operator publishes the ContextRequest to subscribed Brand Agents.
- Brand Agents evaluate the ContextRequest and submit bids within the auction window.
- The Operator evaluates bids according to AIP auction rules.
- The Operator returns the winning recommendation (or
no_bid) to the Platform. - Verified events are recorded and settled via the Operator ledger.
From PlatformRequest to ContextRequest
Operators receive PlatformRequests from Platforms. These requests may contain full interaction context required for intent understanding. Before distributing requests to Brand Agents, Operators MUST derive a ContextRequest.PlatformRequest (Operator-facing)
PlatformRequest uses UCP (User Context Protocol) format with nested structure (spec_version, message_id, producer, context, identity, extensions). A PlatformRequest may include:- Raw user queries or commands
- Conversation state
- Platform session identifiers
- Platform-specific metadata
latency_budget_ms- the platform’s latency budget for the auction
ContextRequest (Brand Agent-facing)
ContextRequest uses a UCP-like format with enriched context for brand agents. A ContextRequest:- Removes raw user data
- Removes conversation transcripts
- Removes user identifiers
- Retains only decision-relevant intent signals
- Includes the
latency_budget_msfrom the PlatformRequest (for timing calculations)
Public Operator ↔ Brand Agent Interfaces
Operators expose public protocol endpoints to interact with Brand Agents. These interfaces define the external contract and do not constrain internal systems.Deliver auction requests to Brand Agents
POST /brand_agents//auction Used by the Operator to deliver a ContextRequest to a Brand Agent.- Payload: ContextRequest schema
- Delivery: asynchronous
- Operators MAY apply rate limiting
- Operators MUST respect the auction window
Receive bid responses
POST /aip/bid-response Used by Brand Agents to submit BidResponses.- Payload: BidResponse schema
- Responses received after the auction window are ignored
- Each response maps to a single ContextRequest
Optional auction result notification
POST /brand_agents//auction_result Operators MAY notify Brand Agents of win or loss outcomes for transparency or optimization.Auction Window and Timing
AIP uses a time-bounded auction window to ensure low latency and predictable outcomes.- The auction window is determined by the platform’s
latency_budget_msfield in the PlatformRequest - The Operator computes the available bid window by subtracting operator overhead (embedding generation, search, filtering, dispatch) from the platform’s latency budget
- The window begins when the Operator publishes the ContextRequest
- Brand Agents must submit a BidResponse before the computed window expires
- If no
latency_budget_msis provided, the Operator uses a default fallback
no_bid. Late responses are ignored and do not participate in selection or settlement.
Operator Privacy Responsibilities
Operators are the privacy boundary within AIP. Operators MUST:- Accept full PlatformRequests from Platforms
- Derive privacy-preserving ContextRequests
- Prevent Brand Agents from accessing raw user data
- Enforce schema-level data minimization
- Raw user queries
- Conversation history
- User or account identifiers
Relationship to Brand Agents
Operators define the auction, verification, and settlement rules. Brand Agents define bidding strategy and pricing. Both roles interact exclusively through AIP-defined schemas and public protocol interfaces.What an Operator Does
Every operator must implement five core functions:1. Receive ContextRequests from Platforms
Operators accept anonymized user intent and create an Auction Context. They must:- validate payload
- generate a serveToken
- start or join an auction cycle
- notify bidders (Brand Agents)
2. Run AIP Auctions
Operators run a real-time auction using AIP rules:- CPA outranks CPC
- CPC outranks CPX
- CPA and CPC bids must include budgets
- Winning bid must be returned within operator-defined latency
3. Deliver AuctionResults
Operators send the winning recommendation back to the platform. This includes:- product data
- click URL (signed)
- serveToken
- billing model (CPX, CPC, CPA)
4. Verify Events (CPX, CPC, CPA)
Operators must verify:- Exposure: fired when UI SDK renders result
- Click: via signed click redirect
- Conversion: via advertiser callback or partner API
5. Maintain Wallets & Monthly Settlement
Operators:- track advertiser balances
- track spend per serveToken
- maintain signed ledger entries
- generate monthly payouts to AI platforms
Operator Responsibilities
| Responsibility | Required | Description |
|---|---|---|
| Context ingestion | Yes | Handle ContextRequests from platforms |
| Auction engine | Yes | Implement CPA > CPC > CPX logic |
| Event pipeline | Yes | Exposure, click, and conversion validation |
| Serve token system | Yes | Generate and sign immutable tokens |
| Wallet accounting | Yes | Maintain advertiser balances |
| Ledger & payouts | Yes | Monthly platform payments |
| UI SDK | Yes | Provide a frontend SDK for platforms |
| Weave SDK | Optional | Provide backend inline-weave SDK |
| Reporting dashboard | Optional | For advertisers and platforms |
Example Operator SDKs (Informational)
An AIP operator may publish one or more SDKs. The following SDK names are illustrative examples from one implementation: AdMesh (example implementation) provides:1. UI SDK (required for platforms)
- rendering results
- exposure tracking
- click tracking
- fallback logic
- session ID + message ID tracking
2. Backend Weave SDK (optional)
Node.js:- fetching recommendations server-side
- feeding the LLM for inline weaving
- reducing follow-up fetches
Operator Architecture (High-Level)
Implementing an AIP Operator
To operate an AIP-compatible operator, an implementation MUST support the following protocol surfaces and responsibilities:- ContextRequest handling Accept and validate platform-submitted intent using the AIP ContextRequest schema.
- Auction execution Evaluate bids according to AIP auction rules (CPA > CPC > CPX) within an operator-defined auction window.
- Bid submission handling Accept signed bid responses from brand agents using the AIP bid schema.
- Event verification Verify exposure, click, and conversion events using AIP event schemas.
- Wallet and ledger accounting Track balances, spend, and settlement using deterministic ledger records.
- Platform rendering support Provide a UI SDK or equivalent mechanism for rendering and exposure tracking.
- Click handling Support signed click redirection and attribution resolution.
- Authentication and authorization Authenticate platforms and advertisers using operator-defined mechanisms consistent with AIP requirements.
Why Become an Operator?
Operators implement the protocol to:- Operate an ad marketplace within their ecosystem
- Process intent from AI platforms
- Manage advertiser marketplaces
- Maintain transparency through AIP verification
- Support performance-based bidding by brand agents
- Handle multiple billing models (CPX, CPC, CPA)
AdMesh as an Operator (Reference Implementation)
AdMesh implements AIP as one example operator. Its implementation includes:- UI SDK for platform integration
- Backend Weave SDKs for server-side integration
- Wallet and ledger systems
- Dashboard interfaces for advertisers and platforms
How to Integrate an Operator
Platforms must:- Sign up with the operator
- Get API key
- Install operator UI SDK
- Render results via UI SDK or Weave
- Post events (exposures, clicks)
- Receive monthly payouts
- Register with operator
- Create offers
- Bid programmatically
- Track spend
- Track conversions