{"id":13497003,"url":"https://github.com/m1guelpf/browser-agent","last_synced_at":"2025-05-16T06:04:42.874Z","repository":{"id":147884556,"uuid":"617369866","full_name":"m1guelpf/browser-agent","owner":"m1guelpf","description":"A browser AI agent, using GPT-4","archived":false,"fork":false,"pushed_at":"2023-04-25T22:03:06.000Z","size":72,"stargazers_count":721,"open_issues_count":4,"forks_count":64,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-05-09T03:33:48.685Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://docs.rs/browser-agent","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m1guelpf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"m1guelpf"}},"created_at":"2023-03-22T08:49:04.000Z","updated_at":"2025-04-29T07:07:07.000Z","dependencies_parsed_at":"2023-05-19T22:45:26.249Z","dependency_job_id":null,"html_url":"https://github.com/m1guelpf/browser-agent","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/m1guelpf%2Fbrowser-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1guelpf%2Fbrowser-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1guelpf%2Fbrowser-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1guelpf%2Fbrowser-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m1guelpf","download_url":"https://codeload.github.com/m1guelpf/browser-agent/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254478186,"owners_count":22077675,"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":[],"created_at":"2024-07-31T20:00:20.662Z","updated_at":"2025-05-16T06:04:42.854Z","avatar_url":"https://github.com/m1guelpf.png","language":"Rust","funding_links":["https://github.com/sponsors/m1guelpf"],"categories":["Projects","Rust","Frameworks","Machine Learning","Applications","AI Agents \u0026 Autonomy Frameworks","Agentic Systems"],"sub_categories":["提示语（魔法）"],"readme":"# A browser AI agent, using GPT-4\n\nThis project provides a bridge between GPT-4 and a headless Chromium browser, allowing you to automate actions simply by describing them to the program. It takes the form of a Rust CLI, but also exports most of the internals as a library for others to use.\n\n## Installation\n\n`browser-agent` is built using Rust, so you'll need to install the Rust toolchain. You can do this by following the instructions at [rustup.rs](https://rustup.rs/).\n\nOnce you have Rust installed, you can install `browser-agent` by running:\n\n```bash\ncargo install browser-agent\n```\n\nYou should also place your OpenAI API key in the `OPENAI_API_KEY` environment variable. This key should have access to the `gpt-4` model.\n\nYou can copy the contents of the `example.env` file to a `.env` file in the root of the project, and fill in the `OPENAI_API_KEY` variable. The `.env` file is ignored by git, so you don't have to worry about accidentally committing your API key. Note though, `.env.example` is not ignored, so you should not change that file.\n\n## Usage\n\n```\nUsage: browser-agent [OPTIONS] \u003cGOAL\u003e\n\nArguments:\n  \u003cGOAL\u003e  The goal for the agent to achieve\n\nOptions:\n      --visual                Whether to show the browser window. Warning: this makes the agent more unreliable\n  -v...                       Set the verbosity level, can be used multiple times\n      --include-page-content  Whether to include text from the page in the prompt\n  -h, --help                  Print help\n  -V, --version               Print version\n```\n\n## Aknowledgements\n\nThis project was inspired and builds on top of [Nat Friedman](https://github.com/nat)'s [natbot](https://github.com/nat/natbot) experiment.\n\n## License\n\nThis project is licensed under the MIT license. See [LICENSE](LICENSE) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm1guelpf%2Fbrowser-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm1guelpf%2Fbrowser-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm1guelpf%2Fbrowser-agent/lists"}