All ideasMore in Home

The AI implemented a pairing protocol in Swift just by talking to his smart plugs

Got the AI to implement TPAP compatibility in Swift purely by interacting with his local plugs and response shapes plus RFC 9383, figuring out it was SPAKE2+ and the password hashing steps.

How it works

  1. He gets the AI to implement the compatibility in Swift
  2. Purely by interacting with his local plugs and their response shapes plus the spec
  3. The agent figures out the pairing protocol itself

Why it’s worth knowing

The plugs were the documentation; something had to interrogate them.

Where it’s from

Summarized from a public post on news.ycombinator.com. See the original ↗

Upgraded prompt

A ready-to-use prompt for this idea, built from research on what makes AI agents do the job right: who the AI should be, the exact steps, and a check to make sure it was done the way you wanted.

1Who the AI should be
2The prompt, with the steps
3The check when it’s done
Upgraded prompts are coming soon.

Try next

Every idea is a real post from someone who tried it, summarized in our words, with a link to the original. App names are swapped for plain words.