Pages

Thursday, 25 January 2024

AutoGPT -一个自主的人工智能


AutoGPT 11 是一个基于「GPT-4」的开源 Python 程序,它可以「自主」实现并完成用户设定的目标任务

截止目前,AutoGPT 在 GitHub 的星标已经超过了 44.5k
举2个栗子

①推特博主 @Sully 2 要求它使用 React 生成一个网站,并指定了页面标题和简单元素
然后,Auto GPT 在无人类干预的情况下,用三分钟便用 React 和 Tailwind CSS 完成了

②推特博主 @Michael Anti 对让它扮演华为公关,分析最近的国际报道,看看下一步要改善的动作
结果是 Auto GPT 自己去搜索分析了很多新闻,然后在无人工干预的情况写生成了一篇报告

与 ChatGPT 的区别

与使用 ChatGPT 使用方式不同的是,你只需要输入前置任务描述,AutoGPT 便会开始自己自主行动

从分析这个问题,并且给出执行目标和具体任务,然后开始执行,期间它会自己联网搜索答案,使用各种工具等「自主」行为

所以总结 Auto GPT 不是简单地要求 ChatGPT 生成某个东西,而是让多个 AI 代理协同工作

安装/平替

安装步骤比较繁琐,所以还请各位看官 Google 一下,不过好消息是你可以使用 web 平替版本 - AgentGPT
注意:AutoGPT 免费版里有 18 美元的额度,但是相信很快就会消耗完

Auto GPT 的运行成本相当高,作者建议用户使用 OpenAI 设置和监控 API 密钥限制

AgentGPT 同样也需要 OpenAI keys

自主能力如此强大的 AI 的出现,让人感叹「奇点将至」!

鸣谢:此篇推送参考了众多大佬的文章以及观点。

官方以及各大专业号介绍比较生涩难懂,本文尽量用大家听得懂的语言介绍。

项目地址:https://github.com/Significant-Gravitas/AutoGPT

(https://agentgpt.reworkd.ai/zh,AgentGPT 让您能够通过浏览器配置和运行自主的AI代理。命名您的定制AI代理并定义其目标。AI代理通过创建任务,执行任务,然后评估其结果来尝试实现指定的目标。

要了解有关 AgentGPT、其路线图、常见问题解答等的更多信息,请访问AgentGPT 的文档
------------------------------
 
Assemble, configure, and deploy autonomous AI Agents in your browser.
agentgpt.reworkd.ai  
 
Assemble, configure, and deploy autonomous AI Agent(s) in your browser. 🤖

Node version English 简体中文 Hungarian

🔗 Short link   •   📚 Docs   •   🤝 Contribute   •   🐦 Twitter   •   📢 Discord

AgentGPT allows you to configure and deploy Autonomous AI agents. Name your own custom AI and have it embark on any goal imaginable. It will attempt to reach the goal by thinking of tasks to do, executing them, and learning from the results 🚀.


✨ Demo

For the best demo experience, try our site directly :)

Untitled.1.mp4

👨‍🚀 Getting Started

The easiest way to get started with AgentGPT is automatic setup CLI bundled with the project. The cli sets up the following for AgentGPT:

Prerequisites ☝️

Before you get started, please make sure you have the following installed:

Getting Started 🚀

  1. Open your editor

  2. Open the Terminal - Typically, you can do this from a 'Terminal' tab or by using a shortcut (e.g., Ctrl + ~ for Windows or Control + ~ for Mac in VS Code).

  3. Clone the Repository and Navigate into the Directory - Once your terminal is open, you can clone the repository and move into the directory by running the commands below.

    For Mac/Linux users 🍎 🐧

    git clone https://github.com/reworkd/AgentGPT.git
    cd AgentGPT
    ./setup.sh

For Windows users :windows:

git clone https://github.com/reworkd/AgentGPT.git
cd AgentGPT
./setup.bat
  1. Follow the setup instructions from the script - add the appropriate API keys, and once all of the services are running, travel to http://localhost:3000 on your web-browser.

Happy hacking! 🎉

🎉 Roadmap

This platform is currently in beta, a full list of completed and planed features can be found on our public roadmap.

🚀 Tech Stack

from https://github.com/reworkd/AgentGPT)

 -------------------------------------------------------------
 Auto-GPT | An experimental open-source attempt to make GPT-4 fully autonomous

Auto-GPT:The official news & updates site for Auto-GPT. Explore the new frontier of autonomous AI and try the fastest growing open source project in the history of GitHub for yourself. 

推荐语:Auto-GPT 是一个实验性 开源 应用程序,展示了 GPT-4 语言模型的功能。该程序由 GPT-4 驱动,将 LLM(Large Language Model:大语言模型) 的“思想”链接在一起,以自主实现您设定的任何目标。作为 GPT-4 完全自主运行的首批示例之一,Auto-GPT 突破了 AI 的可能性界限。官方描述它具有以下特征:

    🌐用于搜索和信息收集的 Internet 访问;
    💾长期和短期记忆管理;
    🧠用于文本生成的 GPT-4 实例;
    🔗访问流行的网站和平台;
    🗃️使用 GPT-3.5 进行文件存储和汇总;
    🔌插件的可扩展性;

关于 Auto-GPT 更详尽的介绍:它利用 GPT4 作为大脑,利用 langchain 的链接思想,把 Google 等工具链接起来,以完成人类给予的任务。人类只需要给它设置一个目标,它就会自主规划出任务,并一步步地执行任务。如果在执行任务中遇到问题,会自主地拆解子任务,并一步步地执行。

短短一月时间, Auto-GPT 在 Github 获得的 Star 就从三位数,飙升至六位数──123K(2023/05/04)而且在持续上涨中;业界人员更是争相推荐,其火热程度可见一斑;尽管大家认为这只是个开始。

如何快速开始

  1. 注册并获取 OpenAI API 密钥
  2. 下载 Auto-GPT 最新版本 代码;
  3. 按照 Auto-GPT 安装说明进行操作
  4. 配置您想要的任何附加功能,或安装一些 插件
  5. 按照 Auto GPT 文档运行 应用;

请参阅 Auto GPT 文档 以获取完整的设置说明和配置选项。

如何理解 AutoGPT?

最简单的理解 AutoGPT 的方式就是把 AI 当人:

  • 人遇到不会做的事情怎么办?搜索、学习、记忆、干活。
  • 人最厉害的是什么?思考并使用各种工具。
  • 怎么使用工具?让 LLM 来当总指挥调用其他的 API 工具。
  • 在哪儿找到工具?
    • 搜索:可以用 Google、Bing 等搜索;
    • 学习:靠观察 Google 的结果自己进行分析推理;
    • 记忆:可以用向量数据库,有了记忆就可以 Reflection,解决 LLM 的单向输出问题;
    • 干活:充分利用网络现成 API、工具、 HuggingFace 上成熟模型等;

AutoGPT 所做的事情就是把电脑的控制权、向量空间的云存储、各种工具的 API 交给了 AI。

AutoGPT 常见问题

AutoGPT 能做些什么?

Auto-GPT 可以检查公司的现有流程、提供改进和自动化程序以节省必要的时间和资源。它还可以使用数据分析来识别趋势、识别潜在的可能性并产生新的公司创意。当然,它是否能够做更多,也取决于使用者有什么想法。

AutoGPT 是免费的么?

使用 Auto-GPT 是免费项目。但请注意,AutoGPT 将使用您 OpenAI 帐户中的积分,但免费版本包含 18 美元。此外,AutoGPT 会在每次提示后提示您获得许可,使您能够在产生任何费用之前进行广泛的测试。

AutoGPT 可以生成图片么?

Auto-GPT 使用 DALL-E 进行图像生成。要使用 Stable Diffusion,需要一个 HuggingFace API 令牌。

可以在没有 GPT-4 访问权限的情况下使用 AutoGPT 么?

如果您无权访问 GPT4 API,则可以使用带有 Auto-GPT 的“GPT3.5 ONLY Mode”。

python scripts/main.py --gpt3only

有了 GPT4 这个强大的语言模型,机器就好似有了大脑,可以进行抽象思维,可以推理与创造,可以通过记忆来传承和积累。Auto-GPT 将自己树立为人工智能技术自主操作的一个值得注意的例子,虽然诞生不久,但已显现强大威力与非凡潜力;如果您对其感兴趣,可移步至 Github 开源仓库Discord ,以了解更多。




 
 

No comments:

Post a Comment