AI API reverse engineering: private APIs and protocols decoded with AI

Updated · 30 projects

By

Yes. A language model can decode an undocumented API or protocol when it gets a decompiled companion app or a capture of real traffic. It describes the message format and writes a small client. The person then tests each command against the real device or service and corrects the model when it guesses.

The question here is how two pieces of software talk when there is no public documentation. The projects decoded Bluetooth messages from a lamp and a home battery. They also decoded binary WebSocket frames from a web app, and private system frameworks on macOS and Windows. The model is quick at spotting structure in hex dumps and following code paths in decompiled Java or JavaScript. Most authors did this for interoperability, such as adding a device to Home Assistant.

Claude did the work in 26 of them and GPT in 2.

Key facts
  • 30 projects are listed here, and their authors report 21 as working.
  • Claude is named in 26 of them and GPT in 2.
  • The projects decoded Bluetooth messages from a lamp and a home battery. They also decoded binary WebSocket frames from a web app, and private system frameworks on macOS and Windows.
  • Most authors worked for interoperability, such as adding a device to Home Assistant.
  • The model needs a decompiled companion app or a capture of real traffic, and the person tests each command against the real device or service.

Where should I start?

Start with Reverse engineer a Bluetooth device's protocol with AI, a 9 minute read. The projects after it show the same steps in practice.

Which private APIs and protocols have people decoded with AI?

Level Lock (Bolt, Touch): Unofficial Home Assistant integration for older Bluetooth-only Level locks.
Works
GitHub · APIs and protocols

Reversed Level BLE protocol and integrated Level locks into Home Assistant with Claude

Unofficial Home Assistant integration for older Bluetooth-only Level locks.

Platform Home AssistantModel Claude

Picked

Philips Titan OS television: AI-assisted discovery of local controls for a Philips Titan OS television.
Works
GitHub · APIs and protocols

Philips Titan OS Local API and Remote

AI-assisted discovery of local controls for a Philips Titan OS television.

Platform Philips Titan OS / macOS / MQTTModel Claude

Reproducible

Roborock vacuum cloud: A vacuum cloud rebuilt on a home server, found with coding agents.
Works
Blog / GitHub / HN · APIs and protocols

Built a self-hosted Roborock cloud so vacuums run locally, with Claude Code and Codex finding the way in

A vacuum cloud rebuilt on a home server, found with coding agents.

Platform Roborock vacuums / Home AssistantModel Claude Opus 4.6

Reproducible

Apple Neural Engine (M4): Training neural networks on Apple's Neural Engine without CoreML.
Works
Blog / GitHub · APIs and protocols

Reverse engineered Apple Neural Engine private APIs with Claude to train networks on the M4 ANE

Training neural networks on Apple's Neural Engine without CoreML.

Platform macOS / Apple SiliconModel Claude Opus 4.6

Reproducible

Brother MFC-L2800DW (scan-to-PC feature): The scan button now finds the NAS.
Works
GitHub / X · APIs and protocols

Reversed Brother scan-to-PC into a Go server the printer scan button can reach, with Claude and REA

The scan button now finds the NAS.

Platform Go, Docker, local networkModel Claude
Chrome T-Rex Runner (open-source browser game): Codex rebuilt an open-source browser game from REA evidence.
Works
GitHub · Websites

Rebuilt Chrome's T-Rex Runner as a tested HTML5 game using REA and Codex

Codex rebuilt an open-source browser game from REA evidence.

Platform Browser / JavaScriptModel Codex

Reproducible

Emaldo Power Core 2.0: A home battery's Bluetooth and cloud protocols, documented in one day.
Works
Blog / GitHub · APIs and protocols

Reverse engineered Emaldo home battery protocols for Home Assistant integration

A home battery's Bluetooth and cloud protocols, documented in one day.

Platform AndroidTime About 8 hours, in one day
Bluetti EP760: A home battery's cloud and Bluetooth protocols, into Home Assistant in an evening.
Works
Blog · APIs and protocols

Bluetti inverter cloud API and BLE protocol, bridged to Home Assistant

A home battery's cloud and Bluetooth protocols, into Home Assistant in an evening.

Platform Android / BLETime One evening for the cloud gateway, a weekend for BLE
Growatt VITA / Infinity series: A local BLE integration for Growatt VITA and Infinity series power stations.
Works
GitHub · APIs and protocols

Reverse-engineered Growatt VITA series power stations for Home Assistant integration with AI assistance

A local BLE integration for Growatt VITA and Infinity series power stations.

Platform Home AssistantModel DeepSeek V4.1 Flash Free
Amaran 150 lights: $91.34 and 3.5 hours of /goal later, the lights work without the app.
Works
Blog / X · APIs and protocols

Controlled Amaran studio lights over Bluetooth mesh without the vendor app

$91.34 and 3.5 hours of /goal later, the lights work without the app.

Platform Bluetooth meshTime About 3.5 hoursCost $91.34
Spinn bean-to-cup coffee maker: Local command line control of a bean-to-cup coffee maker without the vendor app, written with Claude.
Works
GitHub · APIs and protocols

Decoded the Spinn coffee maker's cloud and MQTT protocol with Claude

Local command line control of a bean-to-cup coffee maker without the vendor app, written with Claude.

Platform Python, AWS IoT MQTTModel Claude Opus 4.8
Unity legacy RPC networking stack: Clean-room implementation of Unity's legacy NetworkView RPC protocol.
Works
GitHub · APIs and protocols

Reverse-engineered Unity legacy RPC networking stack into Python and TypeScript implementations

Clean-room implementation of Unity's legacy NetworkView RPC protocol.

Platform Unity 2018.1.6f1Model Claude
Browse all 30 in the feed
Did one of these yourself?

Send me the repo or the write-up, and tell me where the model got it wrong.

Submit a project

Guides to read before decoding an API

Which tools capture and decode API traffic?

All tools

What people ask about AI API reverse engineering

The model reads a decompiled client app or a traffic capture, describes the message format, and writes a client that can be tested against the real service. The person runs those tests and feeds back what failed.

By

I started this site on 13 October 2026 to keep track of reverse engineering projects where an AI model did real work. I work on it alone, with no investors and no ad networks.

About the site · @whyamas on X

More topics beyond APIs