explaingit

integuru-ai/integuru

4,587PythonAudience · developerComplexity · 3/5Setup · moderate

TLDR

Integuru watches your browser traffic as you use a website, then uses AI to generate Python code that automates those same actions without a public API.

Mindmap

mindmap
  root((integuru))
    What it does
      Records browser network traffic
      AI analyzes HTTP requests
      Generates Python automation code
    How it works
      HAR file capture
      Dependency graph builder
      GPT-4o code generation
    Inputs
      HAR file
      Cookie file
      Plain-English prompt
    Outputs
      Runnable Python functions
      Parameterized scripts
    Audience
      Developers
      Data engineers
      Automation builders
    Setup
      Python and Poetry
      OpenAI API key
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Automate downloading invoices or reports from a platform that has no public API by recording your browser session and generating Python code to replay it.

USE CASE 2

Reverse-engineer a website's internal API calls to understand what requests power its features, without reading any of its source code.

USE CASE 3

Generate a parameterized Python script that fetches data from a private platform for different accounts or date ranges, derived from a single browser recording.

USE CASE 4

Build integrations with internal tools or legacy systems that lack APIs by recording the HTTP traffic and letting AI produce reusable automation code.

Tech stack

PythonPoetryOpenAI GPT-4o

Getting it running

Difficulty · moderate Time to first run · 30min

Requires Python, Poetry, and an OpenAI API key, the o1-mini model or better is recommended for good code generation results.

Check repository for license, tool runs locally and only sends HAR data to OpenAI's API during analysis.

In plain English

Integuru is a Python tool that watches the network requests your browser makes when you use a website, then writes code to reproduce those requests automatically. The goal is to let you automate actions on platforms that do not publish a public API, by figuring out what their internal API calls look like and generating runnable Python code to replicate them. The process works in two steps. First, you open a browser that Integuru controls, log into the platform you want to automate, and perform the action once by hand, such as downloading a bill or exporting a report. The browser records all the network traffic from that session into a file called a HAR file. Second, you give Integuru a short plain-English description of what you did, and an AI model (OpenAI's GPT-4o or similar) analyzes the recorded requests to figure out which one actually triggered the action and which earlier requests were needed to obtain the right IDs and tokens. The agent builds a dependency graph of those requests. Many API calls require values like an account ID or session token that come from a previous request, so Integuru traces those chains backward until it reaches the point where only the login cookies are needed. It then walks back through the graph and converts each step into a Python function, producing code you can run without touching a browser. The tool takes the HAR file and cookie file as inputs, along with the text prompt, and outputs Python code. You can also pass in variable names so the generated code accepts parameters, such as choosing which year's documents to fetch. Setup requires Python and the Poetry package manager, plus an OpenAI API key. The README recommends at least an o1-mini-level model for good results. All collected browser data stays local in files on your machine, nothing is sent anywhere beyond the OpenAI API calls during analysis.

Copy-paste prompts

Prompt 1
I've used Integuru to generate Python code that downloads my invoices from a billing platform. Show me how to schedule that Python script to run every month using cron or GitHub Actions.
Prompt 2
I want to add error handling to Integuru-generated Python code. Show me how to wrap each request function with retry logic using the requests library's Session and a backoff strategy.
Prompt 3
I have an Integuru-generated script that fetches data with hardcoded cookie values. Show me how to refactor it to automatically log in and refresh cookies before running the main requests.
Prompt 4
Show me how to capture a HAR file from Chrome DevTools for a specific sequence of actions on a web app, then pass it to Integuru with a prompt describing what I did.
Prompt 5
I want to convert Integuru-generated Python functions into an async version using aiohttp so I can fetch data for multiple accounts in parallel. Show me the refactor pattern.
Open on GitHub → Explain another repo

← integuru-ai on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.