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.
More from coding & agent
- An MCP server signs every AI agent tool call into a verifiable Merkle chain — Funky_Chicken_22 · 2026-07-22
- Claude Code skill uses 10 Markdown rules to make outputs ADHD-friendly — alex_verem · 2026-07-22
- A Firecracker-based platform says it can host 6,000 AI agents on one 256 GB server — maritime_sh · 2026-07-22
- A better path to agent autonomy is running waves, finding friction, and iterating — JnBrymn · 2026-07-22
- AI agent designers map the visual and tonal cues behind companionship products — Unlikely-Platform-47 · 2026-07-22
- Coding agents are heading toward an AI-writes, AI-reviews, human-approves workflow — aftahi_ai · 2026-07-22