Welcome to Cofactor
Cofactor gives your coding agent a copy of your app to test on. Your agent writes end-to-end tests as it builds, the tests heal when your UI changes, and they run as a release gate on every change. Paste one prompt into your coding agent to start.
Cofactor lets your coding agent prove its work: it writes regression tests on a test copy of your app, and those tests run as a release gate on every change.
What Cofactor does
- Test environments. One command gives your agent a running copy of your app (a sandbox) with its own data and logins, and every pull request gets a preview. See Environments.
- End-to-end tests. Your agent writes a test as it builds. The test joins your suite and runs in parallel on every change. See Testing.
- Self-healing. When your UI changes, Cofactor fixes the step that broke and the test keeps running. A real bug still fails the test. See Self-healing.
- Your own Playwright suite. Run the Playwright tests you already have, each on its own copy of your app. See Bring your own suite.
- Release gate. A change merges only when its tests pass, and you see what failed and why. See Release gate.
- Issues in your tracker. Real bugs go to Jira, Linear or Azure DevOps with repro steps and evidence. See Issues.
Cofactor also connects to GitHub, Slack and your coding agent. For one job at a time, see Guides.
Start here
Paste this prompt into your coding agent in your app's repository. Your agent installs the CLI, signs you up, connects your code and runs your first test. It takes about 30 minutes.
The Quickstart walks through each step. How Cofactor works defines application, sandbox, test, suite, run and issue, and Plans and limits lists what each plan includes.
Read the docs with an agent
Every page is also plain markdown. Add .md to a page's address, or run cofactor docs get <slug>. Most guides start with a prompt you can paste into your coding agent.