Map and control a whole smart home
Karpathy's agent scanned the home network, logged into Sonos, reverse-engineered APIs, mapped lights, HVAC, shades, pool and security, and built a dashboard. ·
Done with a custom-built or unnamed agent
- What they did
- Karpathy prompted the agent in chat with "Can you find my Sonos?". The agent scanned the home IP network, logged into the unprotected Sonos, web-searched and reverse-engineered its API endpoints, then repeated the process on lights, HVAC, shades, pool, spa, and security systems. It built its own dashboard and APIs to stitch the systems together; Karpathy later issued commands such as "Dobby, it's sleepy time".
- How it went
- The agent produced a unified control center for the full house and now executes high-level commands across all devices. The post states no further metrics or shortfalls.
Try it yourself with Claude Code
Scan my home network at [network range] and identify the smart devices on it, such as [lights, speakers, thermostat, cameras]. Map what each one can do and how to control it, then build a simple local dashboard that shows them in one place. Only read and list devices at first, and ask me before logging in to any account or sending any control command.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: X · Mar 25, 2026
Related use cases
Get a second opinion on an MRI
One person's account of using Claude Code to analyze their own MRI.
Run Codex tasks on your Home Assistant config
An integration starts Codex CLI tasks against a Home Assistant config to diagnose failing automations, check dashboards for broken cards and create scripts.
Pay bills, clear inbox, and order groceries
A Muse agent called Scout reportedly paid bills, cleared the inbox, and ordered groceries for its user.
Debloat an Android TV
Rakesh Prakash asked his Hermes agent to debloat his Android TV and it completed the task successfully.
Query two years of WHOOP and blood-lab data
The author built a Claude agent that answers questions over WHOOP biometrics and lab results extracted from emailed PDFs, and compared it with a Databricks Genie agent on 30 questions.
Handle tenant correspondence end to end
A remote landlord says Claude managed tenant correspondence end to end, handling landlord-tenant messages for a rental property.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.