An Open Protocol for Intelligent Interoperability Across Advertising Agents
Note: This specification represents LiveRamp's initial proposal. We have open-sourced this repository to enable the community to collaboratively define and reach collective agreement on a standard for embedding exchange in agentic advertising.
The User Context Protocol (UCP) is an open standard proposed by LiveRamp to enable intelligent agents in advertising and marketing to interoperate through the exchange of signals—identity, contextual, and reinforcement information—that represent a consumer's true real-time intent and response to advertising.
As the industry transitions into the agentic web, where autonomous buyer, seller, and measurement agents powered by AI/ML models act on behalf of users and organizations, advertising decisions increasingly rely on these models to process billions of signals per second. UCP defines a protocol for agents to exchange embeddings—compact, learned vector representations that efficiently encode identity signals (who the user is), contextual signals (what they're doing right now), and reinforcement signals (how they respond to ads) in a privacy-preserving, interoperable format.
This repository contains:
- Technical specifications for embedding exchange formats and schemas
- AI/ML model architecture guidance (
/docs/AI_ML Models in Agentic Digital Advertising Era.pdf) explaining how 15+ model categories across the advertising lifecycle consume and produce embeddings - Reference schemas and examples demonstrating real-world protocol usage (in-progress)
Next-gen advertising will operate through agentic AI systems that make millions of autonomous decisions per second. These agents will rely on AI/ML models—from click prediction to conversion modeling to multi-touch attribution—that process vast arrays of signals to understand user intent and optimize outcomes.
Signals come in three critical forms:
- Identity signals: Who the user is (hashed identifiers, segments, behavioral history)
- Contextual signals: What the user is doing right now (page content, time of day, device, engagement patterns)
- Reinforcement signals: How users respond to advertising (impressions, clicks, conversions, engagement metrics)
Today's advertising systems struggle to efficiently exchange these signals:
- Text-based prompts are too verbose and slow for real-time bidding (<100ms response time)
- Raw feature vectors lack semantic meaning and don't transfer across systems
- Proprietary formats prevent interoperability between buyer, seller, and measurement agents
Embeddings solve this problem by encoding identity, contextual, and reinforcement signals into dense, learned vector representations that:
- Compress information: 256-1024 dimensions vs. thousands of raw features across all signal types
- Capture semantics: Similar intents and behaviors have similar embeddings (vector similarity)
- Enable transfer learning: Models trained by one agent can be understood by others
- Preserve privacy: Embeddings can represent intent and response patterns without exposing raw user data
- Support real-time inference: Fast vector operations enable sub-100ms decisions
- Unify signal types: A single embedding can simultaneously encode who the user is, what they're doing, and how they've responded to past interactions
UCP defines how agents exchange these embeddings, transforming advertising from prompt-driven coordination to embedding-based interoperability that spans the entire decision-feedback loop.
-
Phase 1 – Agent Interoperability Layer
Enable existing LLM agents to exchange structured marketing context using standardized inputs and outputs. Focus on context engineering, schema alignment, and real-time messaging between agents such as, but not limited to, buyer, seller, and measurement agents. -
Phase 2 – Context Learning Layer
Train deep learning models on the contextual and behavioral data exchanged through the protocol. These models learn to represent user journeys, ad impressions, conversions, and marketplace signals as dynamic embeddings. -
Phase 3 – Embedding Intelligence Layer Agents evolve from exchanging textual context to exchanging embeddings that encode understanding of user intent, campaign state, and performance. These embeddings act as transferable memory between agents that share a compatible vector space, enabling near real-time optimization without large prompt contexts.
📄 Deep Dive: AI/ML Models in Agentic Advertising The
/docs/AI_ML Models in Agentic Digital Advertising Era.pdfwhitepaper provides comprehensive coverage of the 15+ model categories—from Audience Discovery and Lifetime Value Prediction to Multi-Touch Attribution and Incrementality Measurement—that power agentic advertising systems. These models both consume embeddings (using them as input features) and produce embeddings (generating vector representations of users, contexts, and creatives) that are exchanged via UCP. Understanding this model ecosystem is essential for implementing UCP-compatible agents.
- Interoperability: Define clear input and output contracts for all agent types.
- Context Engineering: Maintain relevant and bounded context to keep agents aligned on goals.
- Incremental Evolution: Support LLM agents and prompt orchestration today while enabling learned models tomorrow.
- Identity and Privacy: Preserve user trust with privacy-safe handling of identity and behavioral signals.
- Composability: Allow independent agents to cooperate through standardized schemas and embeddings.
UCP builds on and extends the Ad Context Protocol (ADCP), an open standard for advertising automation that enables AI assistants to manage campaigns through natural language interactions.
How UCP Complements ADCP:
- ADCP defines the control plane—how agents interact with advertising platforms (Signals Activation, Media Buy, Curation protocols)
- UCP defines the data plane—how agents exchange embeddings that encode identity, contextual, and reinforcement signals
Together, these protocols enable a complete agentic advertising ecosystem:
| Layer | Protocol | Purpose |
|---|---|---|
| Control | ADCP | Agent commands and platform integrations (activate audiences, execute buys, manage inventory) |
| Data | UCP | Agent-to-agent embedding exchange (share learned representations of users, contexts, and outcomes) |
Example Integration:
- A buyer agent uses ADCP to discover audience signals: "Find premium sports enthusiasts interested in running shoes"
- The platform returns data via ADCP's Signals Activation Protocol
- The buyer agent uses UCP to exchange contextual and identity embeddings with a seller agent
- The seller agent uses embeddings to match inventory in real-time via vector similarity
- Reinforcement signals (impressions, conversions) flow back through UCP to update models
- The measurement agent uses ADCP to report results and UCP to share learned embeddings
By integrating with ADCP's agent ecosystem, UCP enables the transition from prompt-based advertising automation to embedding-based intelligence to drive efficiencies by eliminating the need for massive copies of user-level datasets across the ecosystem.
UCP defines:
- Protocol Interfaces - APIs and schemas for exchanging context, signals, and results.
- Context Management - Strategies for maintaining scoped, composable context windows in LLM-driven agents.
- Embedding Interoperability - Standards for shared embedding structures, dimensional alignment, and vector-space identity.
- Agent Coordination Flows - Request and response patterns for cross-agent actions.
- Privacy and Consent Controls - Mechanisms for secure signal sharing, security and authentication, permissible uses, and time-to-live (TTL) of consented data.
- Agentic Attestation - Ensures confidentiality and integrity of code and information accessed or executed through agents, including provenance and controlled execution environments.
- Token Exchange and Settlement - Enables agents to exchange tokens or perform value transfers for advertising events, supporting integration with emerging payment and attribution protocols such as AP2 and X402.
By evolving from structured text exchanges to compact vector exchanges, UCP will enable major gains in speed, scale, and cost efficiency for campaign optimization.
-
Today:
- A buyer agent prompts a seller agent:
"Provide available CTV inventory for users interested in electric vehicles in San Francisco this week." - The seller agent responds using the UCP schema, returning JSON data on available segments.
- A measurement agent records conversions and feeds updates.
- A buyer agent prompts a seller agent:
-
Future:
- The buyer agent receives a user embedding representing current context.
- It queries seller embeddings directly in vector space to find optimal matches.
- Feedback embeddings from the measurement agent continuously refine the shared context model.
- Specification Draft - Schema and interfaces for prompt-driven interoperability.
- Reference SDKs - Python and JavaScript libraries for MCP-compatible agents.
- Context Engine Framework - Tools for managing context window updates and relevance.
- Embedding Schema Standard - Common representation for learned user and campaign embeddings.
- Industry Working Group - Partnership with open-source and adtech leaders to align adoption.
This repository hosts the evolving UCP specification and reference implementations. We welcome contributions from engineers, researchers, and organizations shaping the next generation of agentic advertising.
To get involved:
- Read
/docs/AI_ML Models in Agentic Digital Advertising Era.pdfto understand the model ecosystem that UCP enables - Fork the repo and explore the
/specsdirectory for technical specifications - Propose changes via pull request
- Join or start a working group under
/community
- Specification and Documentation: Creative Commons Attribution 4.0 International (CC BY 4.0)
- Reference Implementations: Apache License 2.0