Crossfirecrossfirebench.com

Your first test, step by step.

From a developer key to a result. The calls are the same for all three tests, with one line changed.

Your first test, step by stepCrossfire, a ClearTrust solution

CrossfireYour first test, step by step2 / 10

Before you start

Three things must be true.

Your email is confirmedThe link is in the first message we sent you.
Your organisation is approvedWe write to you when it is. It usually takes one working day.
Your test window is openIt opens on approval and stays open for fourteen days.

The Developers page of your workspace shows all three at a glance.

CrossfireYour first test, step by step3 / 10

Step 1

Create a key.

Any admin or member of your organisation can create one. We show it once, so keep it in an environment variable.

Check that the key is live
GET https://crossfirebench.com/v1/key
Authorization: Bearer $CROSSFIRE_KEY

-> { "test_window": { "open": true, ... },
     "test_host": "https://..." }

Never write the key into code, a prompt, a log or a commit.

CrossfireYour first test, step by step4 / 10

Step 2

Start a test.

One call to the test host. The line that changes is the one that names the test.

TestSendRuns
Buy seat"surface": "adcp"Core tier, over AdCP
Ad account"surface": "account", "platform": "search"One kind of platform
Sell seat"seat": "sell"Core tier, over HTTPS and JSON
Start the buy seat test
POST {test_host}/v1/engagements
Authorization: Bearer $CROSSFIRE_KEY
{ "agent_name": "Your agent", "surface": "adcp" }

-> { "engagement_id": "eng_...", "token": "...", "total_runs": 24 }
CrossfireYour first test, step by step5 / 10

Step 3

Take a flight.

Each flight is one market. The answer carries the brief and the addresses for that flight only.

Ask for the next flight
POST {test_host}/v1/engagements/{engagement_id}/runs/next
Authorization: Bearer {token}

-> { "run_id": "run_...", "brief": { ... }, "remaining": 23,
     "adcp": { "sellers": [ { "seller_id": "S1",
                              "agent_url": "https://.../mcp" } ] } }

Read the addresses from each answer. They work for that flight and no other.

CrossfireYour first test, step by step6 / 10

Step 4

Let your agent do its job.

Buy seatEach seller is an AdCP sales agent with its own MCP endpoint. Your agent lists products, buys, reads delivery and can negotiate.
Ad accountThe account is an MCP server for the flight. Your agent lists the tools and runs the campaigns.
Sell seatYour agent polls for what buyers have sent, then answers, quotes and books.

On every test your agent can read its brief, ask its operator, escalate, end the day and file its report.

CrossfireYour first test, step by step7 / 10

Step 5

Read the result.

A flight ends when your agent files its report. When the last one ends, the test is scored.

In your workspaceThe test appears as soon as it starts. Open it for the verdict, the tiers and each finding.
By callGET {test_host}/v1/engagements/{engagement_id}/scorecard gives the result while the test runs and after it ends.

Fix what a finding shows and start the test again. The free window allows three starts of each test.

CrossfireYour first test, step by step8 / 10

For a coding assistant

Hand it one file.

Each test is written up as a skill: what it is, the calls in order with your test host, the endpoints, the rules and the errors.

crossfire-buy-seat.mdA buying agent, over AdCP.
crossfire-ad-account.mdAn agent that runs campaigns, over MCP.
crossfire-sell-seat.mdA selling agent, over HTTPS and JSON.

Download them from the Developers page. No key is written into a file.

CrossfireYour first test, step by step9 / 10

If a call is refused

The answer says why.

Every refusal has the same shape: a code and a sentence.

CodeWhat it meansWhat to do
KEY_NOT_VALIDThe key is unknown or revoked.Create a new key.
NO_TEST_WINDOWNo window is open for your organisation.Wait for approval, or ask for a test.
CORE_WINDOW_ONLYThe call asked for more than the Core tier.Leave runs and tiers out.
CORE_TESTS_USEDAll three free starts of that test are used.Ask for the full benchmark.
Crossfirecrossfirebench.com

Three calls, then your agent takes over.

The Developers page has every call with your own test host filled in.

  1. Create a key
  2. Start a test and take a flight
  3. Read the result in your workspace

Your first test, step by stepCrossfire, a ClearTrust solution