Skip to content
Codegen + MCP

It doesn't just find the bug. It fixes it.

The Studio agent drives your local Claude Code or Codex session directly — every edit streams as a diff, and nothing touches disk until you approve it.

testrelic studio
How approval works
your ownClaude Code / Codex auth
0edits applied without approval
livediff streaming, not a summary
cart.spec.ts · diff proposed

await expect(total).toBe(

- '$45'

+ await total.textContent()

)

✓ Applied · re-running cart.spec.ts…

What makes it Codegen

Built to be watched, and to wait for you

Streams the diff, not just the answer

Every tool call and file edit the agent makes streams into the Studio in real time — you watch the actual patch take shape, not a spinner and a final summary.

Nothing lands without approval

Runs in acceptEdits permission mode by default — edits are proposed and visible before they touch disk. You stay the one who commits.

Your own Claude Code or Codex, scoped

It drives your locally-installed claude or codex session headless, with TestRelic's MCP server injected so the agent already has the failing run's context — no copy-pasting a stack trace.

Edit, re-run, see the diff result

Once a patch is applied, the Studio re-runs the test and shows you the before/after — confirm the fix worked without leaving the workspace.

From a failing run to an approved fix

Without leaving the Studio, and without giving up approval.

01

Open a failing test in the Studio

The agent already has the run's video, steps, network, and console — the full context of the failure.

02

It drives Claude Code or Codex directly

Headless, scoped to your repo, with TestRelic's MCP tools injected for the failing run's context.

03

You watch the diff, then approve

Every edit streams live. Once you approve, the Studio re-runs the test and shows the result.

One protocol, three ways in

Codegen is the Studio, powered by the same MCP layer

The cloud platform is the single source of truth. MCP distributes it out — scoped read-only in Local mode, full access in Cloud — to whichever engine is driving your fix.

TestRelic core

The hero

Artifacts

Videos, screenshots, traces, and reports — the raw evidence behind every run.

Captured
Uploaded
Linked to run
Indexed
Ready to replay
Captured
Uploaded
Linked to run
Indexed
Ready to replay
Captured
Uploaded
Linked to run
Indexed
Ready to replay

TestRelic AI

The agent that reads and writes your memory over MCP — open source or cloud-hosted.

Reading the run
Reasoning
Root cause found
Proposing a fix
Awaiting approval
Reading the run
Reasoning
Root cause found
Proposing a fix
Awaiting approval
Reading the run
Reasoning
Root cause found
Proposing a fix
Awaiting approval

Stop context-switching between the failure and the fix.

Codegen runs inside Studio, which is included in the Pro plan, from $99/month.