@adcp/client API Reference - v3.3.3
    Preparing search index...

    Variable testAgentConst

    testAgent: AgentClient = ...

    Pre-configured test agent client using MCP protocol. Ready to use for examples, documentation, and quick testing.

    import { testAgent } from '@adcp/client/testing';

    // Simple getProducts call
    const result = await testAgent.getProducts({
    brief: 'Coffee subscription service for busy professionals',
    promoted_offering: 'Premium monthly coffee deliveries'
    });

    if (result.success) {
    console.log(`Found ${result.data.products.length} products`);
    }
    // With AI test orchestration (natural language instructions)
    const result = await testAgent.createMediaBuy({
    brief: 'Test campaign',
    promoted_offering: 'Wait 10 seconds before responding',
    products: ['prod_123'],
    budget: 10000
    });

    This agent is rate-limited and intended for testing/examples only. The auth token is public and may be rotated without notice. DO NOT use in production applications.