Creative Agents Integration Plan

This document outlines how AdCP Creative Agents (from AdCP PR #23) will integrate with our creative management system to provide AI-powered creative generation.

Overview

Creative Agents provide two modes of operation that seamlessly integrate with our existing creative management workflow:
  1. Manifest Mode: Generate static asset manifests that feed into our creative/create tools
  2. Code Mode: Deploy executable creative code for dynamic, real-time creative optimization

Integration Architecture

Current System + Creative Agents

User Request

Claude (Natural Language Processing)

┌─────────────────────────────────────┐
│  Creative Agent Decision Layer      │
│  ┌─────────────┐  ┌─────────────┐   │
│  │ Manifest    │  │ Code Mode   │   │
│  │ Mode        │  │             │   │
│  │ (Static)    │  │ (Dynamic)   │   │
│  └─────────────┘  └─────────────┘   │
└─────────────────────────────────────┘
    ↓                    ↓
Our Creative Tools    AdCP Publishers
    ↓                    ↓
Campaign Assignment   Real-time Inference

Integration Points

1. Enhanced Creative Creation Tools

Current: creative/create

// Current implementation
creative/create {
  creativeName: string,
  assets: ManualAsset[],
  advertiserDomains: string[]
}

Enhanced: creative/create with Creative Agent

// Enhanced implementation
creative/create {
  creativeName: string,

  // Existing manual asset creation
  assets?: ManualAsset[],

  // NEW: Creative agent generation
  generateWithAgent?: {
    mode: 'manifest' | 'code',
    prompt: string,
    brandGuidelines?: BrandGuidelines,
    targetFormats?: CreativeFormat[],
    optimizationGoals?: OptimizationGoal[]
  },

  advertiserDomains: string[]
}

2. New Creative Agent Tools

Based on AdCP PR #23, we’ll add these tools:

creative/build_creative

Conversational creative generation with iterative refinement.
Parameters:
- buyerAgentId: string
- initialPrompt: string
- mode: 'manifest' | 'code'
- brandGuidelines?: object
- targetPlatforms?: string[]

Workflow:
1. User: "Build a creative for our coffee brand targeting morning commuters"
2. Agent: "I'll create a morning-focused coffee ad. What format do you prefer?"
3. User: "Banner ads for mobile and desktop"
4. Agent: "Great! Generating responsive banner set with morning imagery..."
5. Result: Manifest with optimized banner assets or dynamic code

creative/manage_creative_library

AI-powered creative library management and optimization.
Parameters:
- buyerAgentId: string
- action: 'analyze' | 'optimize' | 'recommend' | 'organize'
- filters?: CreativeFilter

Capabilities:
- Auto-tag creatives based on content analysis
- Identify performance patterns across creatives
- Recommend creative variants for A/B testing
- Suggest creative retirement based on performance
- Detect brand guideline violations

3. Integration Workflow Examples

Workflow A: Manifest Mode Integration

1. User Request:
   "Create display creatives for our holiday sale"

2. Creative Agent (Manifest Mode):
   - Analyzes brand guidelines
   - Generates asset manifest:
     * Hero image: Holiday-themed banner (1200x628)
     * Headline: "Holiday Sale - 50% Off"
     * CTA: "Shop Now"
     * Logo: Brand logo overlay
     * Colors: Brand color palette

3. Our System Integration:
   - Receives manifest from creative agent
   - Converts manifest to CreateCreativeInput
   - Calls existing creative/create
   - Returns creative with generated assets

4. Result:
   ✅ Creative "Holiday Sale 2024" created with 4 AI-generated assets
   📦 Assets optimized for display advertising
   🎯 Ready for campaign assignment

Workflow B: Code Mode Integration

1. User Request:
   "Create a dynamic video creative that personalizes based on user location"

2. Creative Agent (Code Mode):
   - Generates executable creative code
   - Code handles real-time personalization:
     * Base video template
     * Location detection logic
     * Dynamic text overlay system
     * Weather-based content switching

3. Our System Integration:
   - Receives creative code from agent
   - Registers code with AdCP publishers
   - Creates creative record with code reference
   - Sets up real-time inference endpoints

4. Result:
   ✅ Dynamic creative deployed to AdCP network
   🌍 Personalizes for each viewer location
   📊 Real-time performance optimization
   🎯 Campaign-ready with dynamic capabilities

Workflow C: Conversational Refinement

1. Initial Generation:
   User: "Build a creative for our fitness app"
   Agent: *Generates fitness-themed banner*

2. Iterative Refinement:
   User: "Make it more energetic and add a video element"
   Agent: *Updates with dynamic video background*

   User: "The text is too small for mobile"
   Agent: *Adjusts typography for mobile optimization*

   User: "Perfect! Deploy this to campaign camp_123"
   Agent: *Finalizes and assigns to campaign*

3. Result:
   ✅ Custom creative generated through conversation
   📱 Mobile-optimized design
   🎬 Video background for engagement
   🎯 Automatically assigned to campaign

Technical Implementation Plan

Phase 1: Foundation (Week 1-2)

  • Extend creative/create tool with generateWithAgent parameter
  • Add creative agent client interface to Scope3ApiClient
  • Create manifest-to-asset conversion utilities
  • Update GraphQL schema for creative agent integration

Phase 2: Manifest Mode (Week 3-4)

  • Implement creative/build_creative tool
  • Add manifest processing pipeline
  • Create brand guidelines integration
  • Add asset optimization and validation

Phase 3: Code Mode (Week 5-6)

  • Implement dynamic creative code deployment
  • Add real-time inference endpoint management
  • Create performance monitoring for dynamic creatives
  • Add AdCP publisher integration for code mode

Phase 4: Advanced Features (Week 7-8)

  • Implement creative/manage_creative_library tool
  • Add conversational creative refinement
  • Create performance-based optimization
  • Add A/B testing automation

API Changes Required

Extended Client Methods

class Scope3ApiClient {
  // NEW: Creative agent integration
  async generateCreativeWithAgent(
    apiKey: string,
    buyerAgentId: string,
    request: CreativeAgentRequest,
  ): Promise<CreativeAgentResponse>;

  async buildCreativeConversational(
    apiKey: string,
    sessionId: string,
    message: string,
  ): Promise<ConversationalResponse>;

  async deployDynamicCreative(
    apiKey: string,
    creativeCode: string,
    publisherEndpoints: string[],
  ): Promise<DeploymentResult>;
}

New Type Definitions

interface CreativeAgentRequest {
  mode: "manifest" | "code";
  prompt: string;
  brandGuidelines?: BrandGuidelines;
  targetFormats?: CreativeFormat[];
  optimizationGoals?: OptimizationGoal[];
}

interface CreativeAgentResponse {
  mode: "manifest" | "code";

  // Manifest mode response
  manifest?: {
    assets: GeneratedAsset[];
    metadata: CreativeMetadata;
  };

  // Code mode response
  code?: {
    executable: string;
    dependencies: string[];
    endpoints: string[];
  };

  // Common response data
  brandCompliance: ComplianceCheck;
  estimatedPerformance: PerformanceProjection;
}

interface BrandGuidelines {
  logoUsage: LogoGuidelines;
  colorPalette: ColorSpecs[];
  typography: TypographySpecs;
  messaging: MessagingGuidelines;
  restrictions: string[];
}

Creative Agent Capabilities

Static Generation (Manifest Mode)

  • Image Generation: Brand-compliant images, banners, product shots
  • Text Generation: Headlines, body copy, CTAs, legal disclaimers
  • Layout Optimization: Responsive design, platform-specific sizing
  • Asset Variants: A/B test variations, format adaptations
  • Brand Consistency: Automatic brand guideline adherence

Dynamic Generation (Code Mode)

  • Personalization Logic: Location, demographic, behavioral targeting
  • Real-time Content: Live pricing, inventory, weather integration
  • Interactive Elements: Clickable hotspots, product carousels
  • Performance Optimization: Automatic creative rotation based on metrics
  • Cross-device Adaptation: Responsive creative logic

AI-Powered Management

  • Performance Analysis: Identify high/low performing creative elements
  • Optimization Suggestions: Recommend improvements based on data
  • Creative Scoring: Rate creatives against brand and performance criteria
  • Trend Analysis: Suggest creative directions based on market trends
  • Automated Testing: Generate and test creative variations

Benefits for Users

For Advertisers

  • Faster Creative Development: AI generates assets in minutes vs. days
  • Brand Consistency: Automatic adherence to brand guidelines
  • Performance Optimization: Data-driven creative improvements
  • Cost Reduction: Less manual creative production required
  • Scale: Generate variations for multiple campaigns simultaneously

For Campaign Managers

  • Natural Language Interface: “Create banner ads for our spring sale”
  • Iterative Refinement: Conversational creative optimization
  • Automatic Assignment: Creatives auto-assigned to appropriate campaigns
  • Performance Tracking: AI-generated insights on creative performance
  • A/B Testing: Automatic variant generation and testing

For Developers

  • Seamless Integration: Creative agents work with existing tools
  • Flexible Architecture: Support for both static and dynamic creatives
  • AdCP Compliance: Full compatibility with AdCP publisher network
  • Performance Monitoring: Built-in analytics and optimization
  • Extensible Framework: Easy to add new creative agent capabilities

Migration Path

Immediate (No Changes Required)

  • All existing creative tools continue to work unchanged
  • Existing creatives and workflows remain functional
  • No disruption to current users

Optional Enhancement (When Creative Agents Available)

  • Users can opt-in to creative agent features
  • Enhanced tools provide additional generateWithAgent parameters
  • Backward compatibility maintained for all existing functionality

Future Integration (Full Creative Agents Deployment)

  • Creative agents become the default for creative generation
  • Manual asset creation remains available as alternative
  • AI-powered creative management becomes standard workflow

Success Metrics

Adoption Metrics

  • Creative Agent Usage: % of creatives generated via agents
  • User Satisfaction: Ratings for AI-generated creatives
  • Time to Market: Reduction in creative development time
  • Creative Volume: Increase in creatives generated per user

Performance Metrics

  • Creative Performance: CTR/CVR improvements with AI creatives
  • Brand Compliance: Reduction in brand guideline violations
  • A/B Testing: Increase in creative testing frequency
  • Cost Efficiency: Reduction in creative production costs

Technical Metrics

  • Response Time: Creative generation speed (target: under 30 seconds)
  • Success Rate: % of successful creative generations
  • Code Quality: Dynamic creative performance and stability
  • Publisher Integration: Successful AdCP publisher deployments
This integration plan positions our creative management system at the forefront of AI-powered advertising technology while maintaining seamless compatibility with existing workflows.