When a test fails, you get the reason.

Cofactor groups failures, flags the ones that look like real bugs, and gives your agent what it needs to fix them.

Trusted by teams at

Failures are grouped and ranked

Each group says whether it looks like a real bug or a test that needs updating. A failing test also gets the step that broke, the evidence and a suggested fix.

Suite run · failures
1Checkout button never enablesReal bug7 tests
Likely cause

The Pay button stays disabled after the card form is filled in. The step “Enter card details” passed, then “Click Pay” timed out.

Hand it to your agent
$ cofactor triage get latestScreenshots, logs and a trace for each failure
2Settings page renamed a headingTest needs updating4 tests
3Timeout waiting for invoice listSame cause3 tests

Your agent gets everything it needs to fix it

Your coding agent gets a folder with the steps, screenshots, logs and trace from the run.

Coding agent · acme/web
SamInvoices show the wrong total when a discount is applied. Can you fix it?
AgentI changed the total calculation in invoice.ts. Syncing it to my copy and running the invoice test.
$ cofactor sandbox sync 3f9a21c4↻ Synced 2 files in 4.2s$ cofactor workflow run invoice-discount --sandbox 3f9a21c4✓ passed invoice-discount 11s
AgentThe test passed on my copy. A 10% discount now gives $90.00 on a $100.00 invoice.

Common questions

Does it work for tests I didn’t write in Cofactor?

Yes. Diagnosis runs on suites you bring yourself automatically, and you can turn it off for a run.

Is the diagnosis always right?

No. It’s a starting point, and the evidence is there to check it against.

Where do alerts go?

Slack, Microsoft Teams or email. You can also rerun failures and comment on a test.

Get started

Have a more complicated setup, or questions? Talk to the team