Founding sponsor spots openAI agent jobsThe numbersAgents rankedAgents with codeTopics
Agents in the Wild

Grok in Cursor improved a test suite, then caught an embarrassing bug

Worried their test suite leaned on internal state, the writer asked Grok in Cursor to review and propose a staged fix. Agent mode left a much better suite, and a follow-up review caught one embarrassing bug.

Done withGrokCursorSpotted· by HN user jonathaneunice· Oct 27, 2026

Result Their first try of Grok, with little confidence

“A few minutes later I had a much better test suite.”
From the source: Hacker News · 2026-07-08

Spotted: found in the wild. Details are as reported by the source above and have not been independently verified.

What they did

Worried a test suite was weaker than it should be, depending on internal state rather than outcomes, the writer asked Grok in Cursor to review it and suggest a disciplined, multi-step improvement plan built around a trusted testing library.

How it went

After one round of feedback and plan tuning, they let it work in agent mode. A few minutes later they had a much better test suite. Asked afterward to also review the code and packaging, it caught a few mostly-cosmetic issues plus one embarrassing functional bug, which it then fixed and added tests for.

Try it yourself with Grok
Here's my test suite: [paste or describe it]. Review it for tests that depend on internal state rather than outcomes, and give me a staged plan for what to fix now versus later, using [a trusted testing library]. Once I approve the plan, make the changes in agent mode.

A starting prompt written by Agents in the Wild. Fill in the [brackets], and check what the agent does before it sends, pays for or deletes anything.

Keep browsing

All 11 Grok use casesAll 309 Engineering use cases
Agents rankedAgents with codeTopicsFounding sponsor spots openAI agent jobsThe numbers

Hire here

Reach people who put AI agents to work.

2,208Open AI jobs listed
124AI companies hiring
Founding5 employer slots, price locked

Post a job

$299 for 30 days in its lane, on the jobs page and in Google's job search. $499 to pin it to the top of its lane and the homepage. Live within minutes of payment.

Post a job ($299) →

Featured employer slot

Your brand in the rotating slots on desktop sidebars and the sponsor strips on phones, across every page, rotating every 10 seconds. Your link carries ?ref=agentsinthewild, so you see every visit we send. $250/month; the first 5 keep that price for 12 months.

Become a founding employer ($250/month) →

Paid through Stripe. Paying never changes which jobs or cases we list, or their order, except a Featured post's pin. See the terms.

Submit an agent in the wild

Have an agent doing real work, or spotted one? Send the link and tell us the result. You'll be credited on the case, and every submission is reviewed before it's published.

By submitting, you agree to our Terms and Privacy Policy.