#browser #agent #gpt-4 #ai #openai #action

bin+lib browser-agent

使用 GPT-4 的浏览器人工智能代理

1 个不稳定版本

0.1.0 2023 年 3 月 26 日

#14#gpt-4

Download history 17/week @ 2024-03-31 1/week @ 2024-04-07

每月 98 次下载

MIT 许可证

21KB
322

使用 GPT-4 的浏览器人工智能代理

该项目在 GPT-4 和无头 Chromium 浏览器之间建立桥梁,您只需向程序描述操作即可轻松自动化操作。它采用 Rust CLI 的形式,但也将大部分内部结构作为库导出,供他人使用。

安装

browser-agent 使用 Rust 构建,因此您需要安装 Rust 工具链。您可以通过访问 rustup.rs 的说明来完成此操作。

安装

cargo install browser-agent

安装 browser-agent,请运行以下命令:

Usage: browser-agent [OPTIONS] <GOAL>

Arguments:
  <GOAL>  The goal for the agent to achieve

Options:
      --visual                Whether to show the browser window. Warning: this makes the agent more unreliable
  -v...                       Set the verbosity level, can be used multiple times
      --include-page-content  Whether to include text from the page in the prompt
  -h, --help                  Print help
  -V, --version               Print version

使用方法

致谢

本项目受到 Nat Friedmannatbot 实验的启发。

许可证

本项目使用 MIT 许可证。有关详细信息,请参阅 LICENSE

依赖项
~21–37MB