Implementing Creative Agents
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
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_300x250youragency.com:video_story_15sbrandstudio.com:interactive_carousel
- 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
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_urlin each format - Use proper namespacing for
format_idvalues
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
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
Validation Best Practices
Manifest Validation
When validating manifests:- Check format_id - Ensure it references your agent
- Validate required assets - All required assets must be present
- Check asset types - Assets must match specified types
- Validate requirements - Dimensions, file types, sizes, etc.
- URL accessibility - Verify asset URLs are accessible (optional but recommended)
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_urldomain -
list_creative_formatsreturns all your formats -
preview_creativevalidates 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:Related Documentation
- Creative Formats - Understanding format structure
- Creative Manifests - How manifests work
- Asset Types - Asset specifications
- list_creative_formats Task - API reference
- preview_creative Task - API reference
- build_creative Task - API reference