Skip to content

0xrushi/selenium-llm-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Selenium LLM Proxy 🌐🤖

Easily connect browser-based LLMs with your favorite AI tools!

This project allows for the automation of AI interactions within websites using tools like Selenium or Websockets. Additionally, it provides a way to connect those automated interactions with Language Model (LLM) software components such as apps, agents, or libraries.

License: MIT Python 3.7+ Selenium

🚀 Features

  • 🌐 Automate browser-based ChatGPT effortlessly with Selenium
  • 🔌 Works seamlessly with popular AI tools like:
    • Cursor
    • AI Agents
    • LangChain
    • And more!
  • 💰 A slow but budget-friendly experimentation alternative to API keys

⚠️ Important Note

  • ⏱️ Performance is slower compared to official APIs, but good enough for experimentation
  • 🔄 You may need to periodically update Selenium scripts and chromedriver to ensure compatibility
  • Implementing it with CrewAI is more challenging due to their architecture, but it works with Langgraph

Demo video

🛠️ Installation

To get started, clone the repository and install the required packages:

git clone https://github.com/0xrushi/selenium-llm-proxy.git
cd selenium-llm-proxy
pip install -r requirements.txt

🔧 Example

  1. Launch LLM server with

    python scripts/main.py
  2. Execute the agent experiment in another terminal

    python scripts/langgraph_experiment.py

📄 License

This project is licensed under the MIT License. See the LICENSE file for details.

⭐️ If you find this project helpful, please consider giving it a star!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages