{"id":13465585,"url":"https://github.com/richardyc/Chrome-GPT","last_synced_at":"2025-03-25T16:32:15.070Z","repository":{"id":156557026,"uuid":"632303131","full_name":"richardyc/Chrome-GPT","owner":"richardyc","description":"An AutoGPT agent that controls Chrome on your desktop","archived":false,"fork":false,"pushed_at":"2023-10-25T05:13:08.000Z","size":84,"stargazers_count":1677,"open_issues_count":23,"forks_count":206,"subscribers_count":23,"default_branch":"main","last_synced_at":"2024-10-18T12:56:14.899Z","etag":null,"topics":["ai","autogpt","chatgpt","gpt-3-5-turbo","gpt-4","langchain"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/richardyc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-04-25T06:15:05.000Z","updated_at":"2024-10-17T05:49:48.000Z","dependencies_parsed_at":"2024-01-11T14:25:58.572Z","dependency_job_id":null,"html_url":"https://github.com/richardyc/Chrome-GPT","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richardyc%2FChrome-GPT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richardyc%2FChrome-GPT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richardyc%2FChrome-GPT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richardyc%2FChrome-GPT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/richardyc","download_url":"https://codeload.github.com/richardyc/Chrome-GPT/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222081382,"owners_count":16928110,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","autogpt","chatgpt","gpt-3-5-turbo","gpt-4","langchain"],"created_at":"2024-07-31T15:00:32.208Z","updated_at":"2024-10-29T17:31:09.840Z","avatar_url":"https://github.com/richardyc.png","language":"Python","funding_links":[],"categories":["Python","Project List","SDK, Libraries, Frameworks","📦 Legacy \u0026 Inactive Projects"],"sub_categories":["\u003cspan id=\"tool\"\u003eLLM (LLM \u0026 Tool)\u003c/span\u003e","Python library, sdk or frameworks"],"readme":"# 🤖 Chrome-GPT: An experimental AutoGPT agent that interacts with Chrome\n \n[![lint](https://github.com/richardyc/chrome-gpt/actions/workflows/lint.yml/badge.svg)](https://github.com/richardyc/chrome-gpt/actions/workflows/lint.yml) [![test](https://github.com/richardyc/chrome-gpt/actions/workflows/tests.yml/badge.svg)](https://github.com/richardyc/chrome-gpt/actions/workflows/tests.yml) [![Twitter](https://img.shields.io/twitter/url/https/twitter.com/RealRichomie.svg?style=social\u0026label=Follow%20%40RealRichomie)](https://twitter.com/RealRichomie)\n\n\n⚠️This is an experimental AutoGPT agent that might take incorrect actions and could lead to serious consequences. Please use it at your own discretion⚠️\n\nChrome-GPT is an AutoGPT experiment that utilizes [Langchain](https://github.com/hwchase17/langchain) and [Selenium](https://github.com/SeleniumHQ/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.\n\n\u003ch2 align=\"center\"\u003e 🖥️ Demo \u003c/h2\u003e\n\nInput 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.`\n\nhttps://user-images.githubusercontent.com/14324698/234191011-ec73af54-4a8e-4298-be1d-4252050f08c1.mov\n\nDemo made by [Richard He](https://twitter.com/RealRichomie)\n\n\u003ch2 align=\"center\"\u003e 🔮 Features \u003c/h2\u003e\n\n- 🌎 Google search\n- 🧠 Long-term and short-term memory management\n- 🔨 Chrome actions: describe a webpage, scroll to element, click on buttons/links, input forms, switch tabs\n- 🤖 Supports multiple agent types: Zero-shot, BabyAGI and Auto-GPT\n- 🔥 (IN PROGRESS) Chrome plugin support\n\n\u003ch2 align=\"center\"\u003e 🧱 Known Limitations \u003c/h2\u003e\n\n- There are limited web crawling features, with buttons and input fields sometimes failing to appear in prompt.\n- The response time is slow, with each action taking between 1-10 seconds to run.\n- At times, langchain agents are unable to parse GPT outputs (refer to langchain discussion: https://github.com/hwchase17/langchain/discussions/4065). If you run into this, try specifying a different agent; ie: `python -m chromegpt -a auto-gpt -v -t \"{your request}\"`\n\n\u003ch2 align=\"center\"\u003e Requirements \u003c/h2\u003e\n\n- Chrome\n- Python \u003e3.8\n- Install [Poetry](https://python-poetry.org/docs/#installation)\n\n\u003ch2 align=\"center\"\u003e 🛠️ Setup \u003c/h2\u003e\n\n1. Set up your OpenAI [API Keys](https://platform.openai.com/account/api-keys) and add `OPENAI_API_KEY` env variable\n2. Install Python requirements via poetry `poetry install`\n3. Open a poetry shell `poetry shell`\n4. Run chromegpt via `python -m chromegpt`\n\n\nYou can start in you own codespace here:\n\n[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://github.com/erlichsefi/Chrome-GPT/codespaces)\n\n\u003ch2 align=\"center\"\u003e 🧠 Usage \u003c/h2\u003e\n\n- GPT-3.5 Usage (Default): `python -m chromegpt -v -t \"{your request}\"`\n- GPT-4 Usage (Recommended, needs GPT-4 access): `python -m chromegpt -v -a auto-gpt -m gpt-4 -t \"{your request}\"`\n- For help: `python -m chromegpt --help`\n```\nUsage: python -m chromegpt [OPTIONS]\n\n  Run ChromeGPT: An AutoGPT agent that interacts with Chrome\n\nOptions:\n  -t, --task TEXT                 The task to execute  [required]\n  -a, --agent [auto-gpt|baby-agi|zero-shot]\n                                  The agent type to use\n  -m, --model TEXT                The model to use\n  --headless                      Run in headless mode\n  -v, --verbose                   Run in verbose mode\n  --human-in-loop                 Run in human-in-loop mode, only available\n                                  when using auto-gpt agent\n  --help                          Show this message and exit.\n```\n\nOr Just update .env and\n\n`source .env \u0026\u0026 docker-compose up`\n\n\u003ch2 align=\"center\"\u003e ⭐ Star History \u003c/h2\u003e\n\n[![Star History Chart](https://api.star-history.com/svg?repos=richardyc/Chrome-GPT\u0026type=Date)](https://star-history.com/#richardyc/Chrome-GPT\u0026Date)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichardyc%2FChrome-GPT","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frichardyc%2FChrome-GPT","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichardyc%2FChrome-GPT/lists"}