---
title: "Let your coding agent verify its work."
description: "Connect Cursor, Claude Code or Codex to Momentic's MCP server. Agents write YAML tests into your repo, run them in a real browser, and investigate failures."
canonical: "https://momentic.ai/coding-agents"
last-updated: "2026-11-30T09:13:13-08:00"
---

# Let your coding agent verify its work.

URL: https://momentic.ai/coding-agents

platform   / coding-agents

Use the qa CLI and CLI-only mo-qa skill for authorized web and mobile QA. Confirm the target, scope, and effort before Mo starts.

Copy agent prompt

For Mo sessions, use the qa CLI and mo-qa skill. Run qa whoami and keep the configured server; ask before changing MOMENTIC_SERVER. Use a valid key or saved login. Treat network or service errors as blockers, not authentication failures. Run qa login only when the key is unset and saved login is missing or rejected, never while a rejected key remains set.

[Try for free](https://app.momentic.ai/signup) [Get a demo](/sales)

Cursor · Claude Code · Codex · OpenCode · GitHub Copilot

## Close the loop between code and behavior.

YAML   Tests in your repository

Live testing

Start Mo with qa after confirming the target and scope.

Failure details

Inspect failed-step results and available screenshots.

Saved tests

Keep reusable YAML tests beside your application code.

Web + mobile

Use qa for web and mobile Mo sessions.

## Start your first Mo session.

Install the qa CLI and skill, then confirm the target, scope, authorization, and effort before Mo starts.

01

### Install the QA CLI

On Linux or macOS, run curl -fsSL https://cli.momentic.ai/qa | sh. Then check qa version.

02

### Install the Mo QA skill

Run qa skills -y --target with the current agent's supported target. The CLI installs the mo-qa skill.

03

### Start the first Mo session

Confirm the target, scope, authorization, and effort. Check qa whoami, then start with qa start. For mobile, validate the build before starting.

## Optional repository-test authoring.

Use the separate local tools below to author repository tests. Mo app QA uses the qa CLI above.

### Write tests against the running app

Your agent opens the app through MCP, tries each step, and saves it after checking the result.

The agent sees the real page before it saves a step.

### Define the expected behavior before coding

Use testing skills to define expected behavior before changing the code. Your agent writes the test, then implements the change.

The agent writes the check first, then makes it pass.

### Give the agent evidence to investigate

Your agent reads past runs and step evidence to find where behavior changed. It uses that history to investigate the failure.

The agent reads the run history before it edits a test.

### Web, iOS and Android

Your agent can author and run tests against browsers, iOS simulators, and Android emulators. All three use the same simplified YAML format.

Same format on all three platforms.

### Repair tests from run evidence

The agent inspects the failed step and proposes a test change. Rerun the test and review the diff before keeping the repair.

Review the repair after the test passes.

### Review the test with the code change

Every test an agent writes is YAML in your repo, so it goes through code review and the CLI runs it in CI.

Agent work lands in a pull request.

Engineering teams that let agents keep the tests current.

Engineers stay in the editor, and the tests still land in the repo with the code change.

“I would definitely recommend Momentic to any other team. They’re very responsive, outcome-driven, and a  trustworthy, scalable partner  .”

Ravindra K.   Tech Lead, Notion

Under 5 min

failure diagnosis, down from around 15 minutes

99.95%

pass rate for critical tests on main

30+

defects caught before Notion’s APAC launch

[99.95%   pass rate for critical tests on main   "I would definitely recommend Momentic to any other team. They’re very responsive, outcome-driven, and a trustworthy, scalable partner."  Ravindra K. Tech Lead, Notion](/customers/notion)

[30 min   daily test execution, down from 7 hours   "Momentic gave us a fast and reliable way to validate Poe.com's AI responses, even when they weren't deterministic."  Momoko F. Head of Product Operations, Quora](/customers/quora)

[8x   increase in release cadence   "It's like giving someone your QA checklist and watching them execute it for you!"  Sriram S. Engineering Lead, Source Control, Retool](/customers/retool)

[80%   faster release cycles   "With Momentic, we've caught bugs that would have eluded even our most diligent internal tests."  Alex C. CTO, GPTZero](/customers/gptzero)

[6x   faster end-to-end test creation   "We've already seen a 30% decrease in production incidents thanks to Momentic's automated testing."  Hanna K. Head of QA, CoverGo](/customers/covergo)

[Browse all](/customers)

## Test web, iOS, and Android.

Use the same simplified YAML format across web, iOS, and Android.

[01    Web     End-to-end browser testing on Chromium and Chrome.](/web-app-testing)[02    iOS     Native iOS apps and SwiftUI, on hosted or local simulators.](/ios-testing)[03    Android     Run Android APKs on local or hosted emulators.](/android-testing)

## Coding agents, answered.

How do I set up Mo in Claude Code?

Install `qa` on Linux or macOS with `curl -fsSL https://cli.momentic.ai/qa | sh`. Run `qa version`, then install the skill with `qa skills -y --target claude-code`.

Which agents can install the Mo QA skill?

Use `qa skills -y --target` with claude-code, cursor, codex, devin, copilot, or opencode. Replace the target with the value for your coding agent.

How does the CLI authenticate?

Use a valid `MOMENTIC_API_KEY` or saved CLI login. Run `qa whoami` to verify the server and workspace. If a configured key is rejected, ask the user to correct or unset it and wait. Run `qa login` only when the key is unset and saved credentials are missing or rejected. Never ask the user to share or print credentials.

What should the agent confirm before starting?

Confirm the target, expected behavior, boundaries, authorization, and effort. Ask about anything missing or conflicting. Do not request app access before the first session; ask only if Mo reports a real blocker.

How does Mo reach a local or private target?

Use the tunnel guidance in the `mo-qa` skill with the `qa` CLI. Reuse a tunnel that reaches the target or ask the user to start or resume a named tunnel on a machine that can reach it.

What does the agent report after a session?

Run `qa report "$session_id" --output ./mo-report` and share the findings, coverage, and session link.

How should the agent set the effort?

Set nonempty instructions and the selected effort in the same shell before `qa start`. If effort is missing, ask the user to choose. If a requested duration conflicts with that level, clarify and wait.

Does CLI authentication authorize app testing?

No. Confirm the target and authorization separately from `qa whoami` or CLI login.

When should the agent ask for app access?

Only after Mo reports a real app-auth or access blocker. Ask for the scoped access needed to continue.

How does the agent start a pull request session?

Pass `--pr "$pr_url"` with the verified pull request URL after confirming scope and authorization.

What does the agent need before a mobile session?

Select and validate the build first. Then pass `--platform`, `--channel`, and `--tag` to `qa start`.

What if the service or network is unavailable?

Treat network and service errors as blockers, not authentication failures. Do not change the server or retry login to work around them.

What does qa skills install?

It installs the CLI-only `mo-qa` skill for the selected supported agent target.

Where can I find other CLI install options?

See the [Mo CLI documentation](https://momentic.ai/docs/mo/cli) for installation options.

Still have additional questions?

## Try Mo on your app.

Mo is an AI QA engineer. It tests your running app and files each bug with repro steps. Free to start, no credit card.

[Try for free](https://app.momentic.ai/signup) [Get a demo](/sales)
