Skip to main content
This guide explains how to implement a creative agent that defines and manages creative formats.

What is a Creative Agent?

A creative agent is a service that:
  • Defines formats - Specifies what assets are required and how they should be structured
  • Validates manifests - Ensures creative manifests meet format requirements
  • Generates previews - Shows how creatives will render
  • Builds creatives (optional) - Generates manifests from natural language briefs
Creative agents are independent of sales agents. A third-party creative agency, ad tech platform, or publisher can implement a creative agent to serve multiple buyers and publishers.

Core Requirements

1. Format ID Namespacing

Every format you define must use namespaced format IDs to prevent conflicts. Pattern: {domain}:{format_id} Examples:
  • creative.adcontextprotocol.org:display_300x250
  • youragency.com:video_story_15s
  • brandstudio.com:interactive_carousel
Rules:
  • Domain must match your agent’s domain
  • Format ID portion should be descriptive and unique within your namespace
  • Use lowercase with underscores for consistency

2. Format Validation

When formats reference your agent_url, you are the authority for:
  • Format specifications
  • Asset validation rules
  • Technical requirements
  • Preview generation
Format definition example:

Required Tasks

Creative agents must implement these two tasks:

list_creative_formats

Return all formats your agent defines. This is how buyers discover what creative formats you support. Key responsibilities:
  • Return complete format definitions with all assets_required
  • Include your agent_url in each format
  • Use proper namespacing for format_id values
See list_creative_formats task reference for complete API specification.

preview_creative

Generate a visual preview showing how a creative manifest will render in your format. Key responsibilities:
  • Validate manifest against format requirements
  • Return validation errors if manifest is invalid
  • Generate visual representation (URL, image, or HTML)
  • Preview should be accessible for at least 24 hours
See preview_creative task reference for complete API specification.

Optional Tasks

build_creative

Generate a creative manifest from a natural language brief. This enables AI-powered creative generation workflows. Key responsibilities:
  • Parse natural language brief
  • Generate or source appropriate assets
  • Return valid manifest for your format
  • Optionally return preview URL
See build_creative task reference for complete API specification.

Validation Best Practices

Manifest Validation

When validating manifests:
  1. Check format_id - Ensure it references your agent
  2. Validate required assets - All required assets must be present
  3. Check asset types - Assets must match specified types
  4. Validate requirements - Dimensions, file types, sizes, etc.
  5. URL accessibility - Verify asset URLs are accessible (optional but recommended)
Example validation errors:

Format Evolution

When updating format definitions:
  • Additive changes (new optional assets) are safe
  • Breaking changes (removing assets, changing requirements) require new format_id
  • Consider versioning: youragency.com:format_name_v2
  • Maintain backward compatibility when possible

Deployment Checklist

Before launching your creative agent:
  • MCP and/or A2A endpoints are accessible
  • All format_ids use proper namespacing (domain:id)
  • Domain in format_id matches your agent_url domain
  • list_creative_formats returns all your formats
  • preview_creative validates manifests and generates previews
  • Format definitions include complete asset requirements
  • Documentation available for your custom formats

Integration Patterns

Pattern 1: Creative Agency

You’re a creative agency building custom formats for brands:

Pattern 2: Platform-Specific Formats

You’re a platform defining specialized formats:

Pattern 3: Format Extension Service

You provide enhanced versions of standard formats: