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

Claude's MQTT client worked first try. Its data was a stub

Data from a couple of Orange Pis needed to reach Home Assistant, and MQTT in Python was new to the writer. Claude one-shot a client, but the data block was a stub making fake data. It fixed that once asked.

Done withClaudeSpotted· by HN user ewoodrich· Oct 28, 2026

Result Claude's reply: 'That's exactly right, it's a stub'

“And it one-shot this super cool mini Python MQTT client I could drop wherever I needed it which was amazing having never worked with MQTT in Python before.”
From the source: Hacker News · 2025-10-09

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

What they did

Wanting to view data from a couple of Orange Pis in Home Assistant, and without prior experience with MQTT in Python, they asked Claude to write the client code. Claude one-shot a small Python MQTT client, and they built charts and dashboards in Home Assistant around it.

How it went

After watching the dashboards for a few minutes, they noticed none of the data was changing. The block meant to pull data from the device was a stub generating test data from their own mockup, even though they had explicitly asked for real data from the device. Claude replied that this was exactly right, a stub so they could add the real data easily, and then did fix it to use actual data.

Try it yourself with Claude
Write a small [Python MQTT client] that reads [these values] from [my device] and publishes them to [Home Assistant]. Use only real readings from the device: never stub, sample or placeholder data. If a reading fails, log the error and publish nothing. Tell me how to check that the values change over time.

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 243 Claude use casesAll 78 Life admin & home 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.