Discover and explore top open-source AI tools and projects—updated daily.
kalil0321Automated API client generation from browser traffic
Top 69.7% on SourcePulse
This project provides a CLI tool that automates the reverse engineering of APIs by capturing browser traffic and generating production-ready Python API clients using AI. It targets developers and researchers seeking to quickly obtain API code without manual effort, streamlining the process from browsing to client generation.
How It Works
The tool employs Playwright for browser automation, including a stealth mode for realistic browsing, and captures network traffic in HAR format. It then utilizes Claude 4.5 to analyze this traffic, generating clean Python code complete with error handling, type hints, and documentation. Users can choose between manual interaction, re-processing existing captures (engineer mode), or fully autonomous AI agent-driven interaction.
Quick Start & Requirements
uv tool install reverse-api-engineer or pip install reverse-api-engineer.uv tool install 'reverse-api-engineer[agent]' and install browser-use from its specific Git commit.playwright install chromium), and API keys for agent mode (e.g., OPENAI_API_KEY, ANTHROPIC_API_KEY, GOOGLE_API_KEY).~/.reverse-api/config.json) or the /settings CLI command.Highlighted Details
Maintenance & Community
The provided README does not detail specific contributors, sponsorships, or community channels like Discord or Slack.
Licensing & Compatibility
The project is licensed under the MIT License, which is generally permissive for commercial use and integration into closed-source projects.
Limitations & Caveats
Some websites employ advanced bot-detection mechanisms that may impede traffic capture or necessitate manual intervention. The tool executes code locally using Claude Code, requiring users to monitor its output.
4 weeks ago
Inactive
SawyerHood