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

A custom agent spun up a TOTP device and verified MFA for $5.69

Testing an MFA change usually means setting up a TOTP device by hand. A custom Claude agent drove Playwright instead, wrote a tiny Python TOTP generator, and verified login still worked, for $5.69 in tokens.

Done withCustom agentSpotted· by HN user beaugunderson· Nov 7, 2026

Result It even wrote the TOTP code itself

“the agent drove Playwright to change the instance configuration to enable MFA, created a user with MFA enabled, wrote the tiniest (handful of lines) Python TOTP and used that as the device and successfully verified that MFA still worked as expected.”
From the source: Hacker News · 2026-07-02

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

What they did

They built a UAT agent on top of the Claude agent SDK that uses Playwright, spins up a preview instance for their pull requests, writes a test plan from its knowledge of the code, runs it and takes screenshots. For a recent PR changing their MFA implementation, they assumed they’d have to test it themselves, since MFA needs setup and a TOTP device. Instead the agent drove Playwright to enable MFA in the instance configuration, created a user with MFA enabled, and wrote a handful of lines of Python TOTP to use as the device.

How it went

The agent successfully verified that MFA still worked as expected, going further than they had planned to test themselves. The whole UAT run cost $5.69 in tokens.

Try it yourself with Custom agent
I'm about to ship a PR that changes [our MFA login flow]. Build me a UAT agent using the Claude agent SDK and Playwright that can spin up a preview instance, enable MFA, create a test user, generate a TOTP code if needed, and verify login still works. Show me the full test plan and results before I merge.

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 8 Custom agent 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.