Generate Website Clients via HAR with Agents

Vjeux · x · 2026-07-19

Here is a practical agent trick: let a browser perform actions on a website while recording the network requests into a HAR file, then use those requests to reverse-engineer the site's client API.

The benefit is that subsequent calls no longer require browser automation, resulting in higher efficiency and greater stability. In the attached images, the author used this method to quickly build an Uber Eats CLI, demonstrating a script that filters available restaurants, delivery times, and promotional offers.

Original post →

More from coding & agent

coding & agent channel →