AI-Employe  by vignshwarar

Browser automation via GPT-4 Vision

created 1 year ago
588 stars

Top 56.1% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a browser automation tool that leverages GPT-4 Vision to interpret user actions and generate automation scripts. It targets developers and power users seeking to create complex browser workflows through intuitive, human-like instruction, aiming to simplify and enhance web automation tasks.

How It Works

The core innovation addresses element selection by indexing the entire DOM in MeiliSearch. GPT-4 Vision generates commands (e.g., "click this text"), which are then used to query the MeiliSearch index for the corresponding element ID. This approach aims for greater reliability than methods relying solely on visual coordinates or raw HTML. For workflow adherence, it employs an "Actions Augmented Generation" technique, embedding recorded DOM element changes from user actions within prompts to keep GPT focused on the task.

Quick Start & Requirements

  • Install: Follow setup instructions involving Firebase project creation, service account key configuration (firebaseAdmin/cert/dev.json or prod.json), .env file setup, npm install, npm run db:deploy, and npm run dev (development) or npm run build & npm run start (production).
  • Prerequisites: Node.js, Rust, Postgres, MeiliSearch, Firebase account.
  • Output: Browser extension built in ./client/extension/build.
  • Docs: Firebase Auth Setup

Highlighted Details

  • Utilizes GPT-4 Vision for natural language-driven browser automation.
  • Employs MeiliSearch for robust DOM element indexing and retrieval.
  • Implements "Actions Augmented Generation" to maintain GPT workflow context.
  • Supports creating and executing recorded user workflows.

Maintenance & Community

The project is maintained by vignshwarar. Further community or roadmap details are not explicitly provided in the README.

Licensing & Compatibility

The README does not specify a license. Compatibility for commercial use or closed-source linking is undetermined.

Limitations & Caveats

The project is in active development, with features like scrolling, opening new tabs, and loop support still on the roadmap. Handling icons and duplicate text elements are noted as ongoing challenges.

Health Check
Last commit

1 year ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
9 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.