patchbay

The benchmark that keeps patchbay honest.

20 integrations across common and adversarial APIs, run as TypeScript (vitest). Every run goes through the full pipeline — plan, research, generate, verify in a Nebius sandbox, repair with parallel branches. Green means typecheck ok, zero failing tests, and the documented-example contract test passed.

Green
90.2%
83 / 92 runs
First-try green
52.2%
48 / 92 runs
Cost per connector
$0.0696
$1.3916 ± $0.2580 per full pass
Variance passes
5
20 prompts × up to 5
#IntegrationGreenFirst-tryCost (mean ± σ)Attempts
1When someone submits our Typeform contact form, create the lead in Pipedrive as organization, person and deal.5/55/5$0.0256 ± $0.00241.0
2When a Stripe payment succeeds, add the customer to a Mailchimp audience with the plan as a tag.4/51/5$0.0761 ± $0.05392.2
3When a Calendly meeting is booked, post the invitee name, email and their answers to a Slack channel.5/54/5$0.0374 ± $0.03731.2
4When a GitHub issue gets the label "bug", create an issue in Linear in the Triage team.4/50/5$0.1034 ± $0.04792.6
5When a HubSpot contact becomes a customer, create a customer in Stripe with the same email and name.4/52/5$0.0955 ± $0.10482.0
6When a Shopify order is paid, append the order number, customer email and total to an Airtable table.5/55/5$0.0333 ± $0.00661.0
7When a new row is added to an Airtable base, send the row as a message to a Discord channel via webhook.5/53/5$0.0641 ± $0.05411.4
8When a Jotform submission arrives, create a task in Asana with the answers in the description.5/55/5$0.0188 ± $0.00171.0
9When an Intercom conversation is tagged "refund", create a ticket in Zendesk with the conversation link.5/54/5$0.0279 ± $0.01581.2
10When a Typeform response comes in, add the respondent as a contact in Brevo and subscribe them to a list.5/53/5$0.0368 ± $0.01941.4
11When a Pipedrive deal is moved to the Won stage, create a Notion page in the "Signed" database with the deal title, value, owner and close date.4/51/5$0.0889 ± $0.07022.2
12When a Shopify order webhook arrives, verify the HMAC-SHA256 signature from the X-Shopify-Hmac-Sha256 header against the shared secret, then forward the order summary to a Slack channel.5/53/5$0.0432 ± $0.01211.4
13When a Google Calendar event is created, add the first attendee as a checklist item on a Trello card in a configured list.4/42/4$0.0432 ± $0.02411.5
14When a Mailchimp API call returns HTTP 429, retry up to three times with exponential backoff and respect the Retry-After header, then log the final outcome to a Datadog event.3/40/4$0.1907 ± $0.11782.5
15When a Stripe checkout.session.completed webhook arrives, create or update a HubSpot contact with the customer email, using the Stripe session id as an Idempotency-Key.3/42/4$0.0726 ± $0.08102.0
16When a Jotform submission arrives, update an Airtable record by looking it up with filterByFormula on the email field and PATCHing only the empty fields.4/42/4$0.0839 ± $0.07591.8
17When a HubSpot deal is updated, search Salesforce for an Account by website domain; update it when a match is found, otherwise create a new Account.4/43/4$0.0323 ± $0.01731.3
18When a Linear issue is closed, fetch all its comments using cursor pagination and post a single digest message to a Discord channel.3/41/4$0.1370 ± $0.07822.5
19When a Zendesk ticket is created, open a matching GitHub issue in the configured repo and then post the GitHub issue URL back as a Zendesk ticket comment.3/41/4$0.1073 ± $0.07012.5
20When a Twilio incoming SMS webhook arrives, route it to Slack #sales when the body matches /pricing|quote|demo/i, otherwise to Slack #support.3/41/4$0.0737 ± $0.04692.3
Reproduce it yourself: git clone github.com/GodSmasher/patchbay && cd patchbay && npm install && npm run bench -- --passes=5. Needs live keys in .env.local (NEBIUS_API_KEY, NEBIUS_AI_PROJECT, TAVILY_API_KEY). The raw per-run JSON lives in bench/runs/.