Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

incident.io 12 min read Case study mediumAdept

We gave cloud agents a phone to QA

incident.io's Cursor cloud agents now QA React Native pull requests by driving an iOS simulator (EAS Simulator) or Android emulator in the cloud against a per-agent copy of the Go backend with seeded Postgres data, tunnelled back to the agent's VM, and attach claims linked to screenshots and a session recording. Making the app drivable required fixing the accessibility tree across 163 files (roles, testIDs, labels, enforced by lint), deep links for 100+ Expo Router routes, and a dev-only seeded sign-in. Runs take about 11 minutes median, and QA-only runs cost around $7 each. Over two weeks, 42 PRs were QA'd and agents increasingly started runs on their own PRs, while humans still decide whether a change is correct.

Related posts

  • How we set up our cloud agent environment · Cursor

    Cursor mediumAdept

    Cursor's cloud agents now author more than half of PRs merged to its monorepo, up from roughly one in ten in December, after the team made the cloud VM environment match local development and simplified how agents build and test code. The setup includes an Ubuntu-based Docker image with security controls such as egress restrictions, scoped and proxied git access, and secret scanning/redaction; an `anydev` CLI that starts services and supervises long-running builds; and Cursor Cloud MCP plus Cloud Doctor to diagnose unhealthy environments and fix misleading skills or slow workflows. The practical takeaway is to treat the agent development environment as a product: give agents the same tools and data as developers, document real workflows as skills, and make sure they can test core workflows end-to-end.

  • Agentic Testing: Where Agents Fit in the E2E Testing Stack

    Slack Engineering mediumAdept

    Across 200+ agent-driven E2E runs against Slack test workspaces, agents using Playwright MCP were the most reliable (0% failures on a simple thread-reply flow, ~12% on a longer search flow). Playwright CLI agents failed 12–20%, mostly from auth, navigation timing and session instability. Agent-generated Playwright tests ran fastest (~3 min including generation, ~30–45 s raw) but failed ~48% on the complex flow. Agent runs cost $15–30 each, driven by turn count and retransmitted context such as accessibility-tree snapshots rather than model choice; CLI took ~85 turns versus MCP's ~40. The recommendation is to keep deterministic tests for CI and add agentic testing as a top pyramid layer for exploration, debugging and bug reproduction.

  • We gave AI agents a mobile dev environment

    Shopify Engineering mediumAdept

    Shopify built Remote Dev so its Slack-based coding agent River can build and test iOS and Android apps in parallel on a fleet of remote Macs instead of developers' laptops. Each agent claims a warm Mac (monorepo checked out, apps prebuilt, caches warm) over SSH, plus an Android emulator running on a separate Linux VM because macOS lacks nested virtualization; this cut setup from 30+ minutes to a few minutes. A skill, a CLI wrapping SSH, and observable tmux panes taught River to use the remote machine. Live Preview streams simulators to the browser over WebSockets, and internal evangelism plus a classifier-driven feedback loop raised River's share of merged mobile PRs from 6% to 61%.

  • Trace and evaluate Cursor agents with Langfuse, powered by ClickHouse

    ClickHouse mediumAdept

    The Langfuse Observability plugin for Cursor captures each agent prompt as a `Cursor Turn` trace containing LLM observations, tool executions, subagents and token usage, stored in a wide ClickHouse observations table that avoids trace/observation joins for cost and latency aggregation. Setup is a Marketplace install plus a `~/.cursor/langfuse.json` key file. File-content capture is off by default, and because Cursor reports tokens once per turn, cost should be read from the trace total. A worked loop shows finding expensive turns caused by repeated file reads and retried shell commands, fixing them with a project rule, and validating the fix with dataset-based evaluations, which can also gate CI via a GitHub Action.

  • Building AI-Powered Observability with Heroku Managed Inference and Agents

    Heroku Engineering mediumAdept

    Observability platforms like Splunk, Honeycomb and Sentry can be exposed to AI coding assistants as MCP tools, so engineers query production telemetry in natural language from Cursor or Claude instead of switching to dashboards and writing SPL. The Go servers define typed MCP tools and handlers that translate tool calls into platform API calls. They are deployed as STDIO processes behind Heroku Managed Inference and Agents, whose MCP gateway handles SSE transport and auth, and clients connect via mcp-remote with an inference token. Claimed benefits include faster incident triage, security pattern spotting such as auth-failure spikes, and quicker onboarding, though the evidence is anecdotal and promotional.

The quest for software engineering knowledge.

Look:
Layout: