richardyc / Chrome-GPT

An AutoGPT agent that controls Chrome on your desktop
GNU General Public License v3.0
1.66k stars 208 forks source link
ai autogpt chatgpt gpt-3-5-turbo gpt-4 langchain

🤖 Chrome-GPT: An experimental AutoGPT agent that interacts with Chrome

lint test Twitter

⚠️This is an experimental AutoGPT agent that might take incorrect actions and could lead to serious consequences. Please use it at your own discretion⚠️

Chrome-GPT is an AutoGPT experiment that utilizes Langchain and Selenium to enable an AutoGPT agent take control of an entire Chrome session. With the ability to interactively scroll, click, and input text on web pages, the AutoGPT agent can navigate and manipulate web content.

🖥️ Demo

Input Prompt: Find me a bar that can host a 20 person event near Chelsea, Manhattan evening of Apr 30th. Fill out contact us form if they have one with info: Name Richard, email he@hrichard.com.

https://user-images.githubusercontent.com/14324698/234191011-ec73af54-4a8e-4298-be1d-4252050f08c1.mov

Demo made by Richard He

🔮 Features

🧱 Known Limitations

Requirements

🛠️ Setup

  1. Set up your OpenAI API Keys and add OPENAI_API_KEY env variable
  2. Install Python requirements via poetry poetry install
  3. Open a poetry shell poetry shell
  4. Run chromegpt via python -m chromegpt

You can start in you own codespace here:

Open in GitHub Codespaces

🧠 Usage

Options: -t, --task TEXT The task to execute [required] -a, --agent [auto-gpt|baby-agi|zero-shot] The agent type to use -m, --model TEXT The model to use --headless Run in headless mode -v, --verbose Run in verbose mode --human-in-loop Run in human-in-loop mode, only available when using auto-gpt agent --help Show this message and exit.



Or Just update .env and

`source .env && docker-compose up`

<h2 align="center"> ⭐ Star History </h2>

[![Star History Chart](https://api.star-history.com/svg?repos=richardyc/Chrome-GPT&type=Date)](https://star-history.com/#richardyc/Chrome-GPT&Date)