search
HomeTechnology peripheralsAISelf-aware AI: AutoGPT

1. Introduction

ChatGPT has become very popular nowadays. As a leader in natural language processing models, the advantage of ChatGPT is that it can generate smooth and coherent conversations, while also being able to understand the context and act according to the context. answer. It can be quickly customized for different application scenarios. For example, in customer service, education, entertainment and other fields, ChatGPT can be used as an intelligent assistant to provide users with convenient services and entertainment experience.

From GPT-3 to GPT-4, we can see that ChatGPT has made significant progress in continuous optimization training in terms of advanced reasoning, input settings, fine-tuning behavior and understanding longer contextual information. Progress.

But for this interactive GPT model, we would rather see it be like the artificial intelligence in the movie, with self-awareness and the ability to learn and evolve on its own. There is no need for frequent guidance and interaction. We only need to simply propose a goal, and AI can autonomously complete all execution planning and logical processing, continue to conduct self-demonstration and optimization, and finally complete the goal we proposed.

So today it is here, it is the evolved version of ChatGPT: AutoGPT.

2. What is AutoGPT?

AutoGPT is an experimental open source application that leverages OpenAI’s GPT-4 language model to create fully autonomous and customizable AI agents. It was released on March 30, 2023 by Toran Bruce Richards.

Game developer Toran founded a game company called Significant Gravitas.

In just over a month, AutoGPT's Git project has received more than 1.2 million stars. As one of the first examples of GPT-4 running completely autonomously, AutoGPT has broken through AI the limit of possibility.

Self-aware AI: AutoGPT

AutoGPT is unique compared to other AI tools in that it runs independently, meaning you no longer need to manipulate the model to suit your needs needs. Instead, you just write down your goals and the AI ​​does the rest for you. As a result, AutoGPT fundamentally changes the way AI interacts with humans, where humans no longer need to take an active role, while still maintaining the same or better quality of results than other AI applications like ChatGPT.

3. How does AutoGPT work?

AutoGPT works based on an autonomous AI mechanism, where the AI ​​system creates different AI agents to meet specific tasks, including:

  • Task creation agents: When you enter a target on AutoGPT , the first AI agent to interact with the task creation agent. Based on your goals, it will create a list of tasks and steps to achieve them and send it to the priority agent.
  • Task Priority Agent: After receiving a list of tasks, the Priority AI agent ensures that the order is correct and logical before sending it to the execution agent.
  • Task Execution Agent: After completing the prioritization, the execution agent will complete the tasks one by one. This involves leveraging GPT-4, the internet, and other resources to obtain results.

Self-aware AI: AutoGPT

The above agents communicate with each other. So when the execution agent completes all tasks and the results are not satisfactory, it can communicate with the task creation agent to create a new task list. Iterative loops between the three agents until all user-defined goals are completed.

The AI ​​agent's actions are also displayed on the user interface, dividing them into four groups: Thought, Reasoning, Planning, and Judgment.

  • THOUGHTS: The AI ​​agent shares its thoughts about the target.
  • REASONING: How AI agent reasoning develops and realizes its ideas.
  • Plan (PLAN): Through analysis, the AI ​​agent enumerates the plan for the tasks to be completed.
  • Judgement (CRITICISM): The AI ​​judges itself, correcting errors and overcoming any limiting issues.

By sharing this calculation process, AutoGPT can conduct trial and error demonstrations and perform targeted optimization processing to overcome all problems encountered without any user intervention.

4. Comparison between AutoGPT and ChatGPT?

Although the underlying LLM model is the same, there are still many differences between AutoGPT and ChatGPT.

4.1 Real-time Insights

The latest GPT-4 model used by ChatGPT is trained on the same data as GPT-3.5, which is only available until September 2021. You cannot use ChatGPT to get real-time data information , because you cannot access websites and online platforms to obtain information and extract information.

In contrast, AutoGPT can access the Internet. Not only can it surf the Internet, but it can also verify whether the source is legitimate. Additionally, AutoGPT can access any platform to perform tasks. For example, if you ask the AI ​​to research prospects for selling a product and send an outreach email, it will draft and send the email directly using your Gmail account.

4.2 Memory Management

The context window is very important for the language model to give accurate answers. But in LLM like GPT-4, the window has a limit of 4000 to 8000 tokens. Therefore, if the requirements exceed the limits, the model may not follow all instructions correctly, or it may veer off tangent and provide unreliable output.

In contrast, AutoGPT is good at short-term and long-term memory management. By using databases, local Cache, and Redis for memory management, a large amount of contextual information or previous experience can be stored, allowing the AI ​​model to make better decisions.

4.3 Image generation

AutoGPT is able to generate images because it can use a variety of image generation engines, using DALL-E by default. If you want to enable image generation for your AI agent, you need to access DALL-E's API. Despite being a multi-modal input method, this feature is not currently available in ChatGPT-4.

3.4 Text-to-speech

You can enable text-to-speech on AutoGPT by typing python -m autogpt --speak at the command line. But you must enter the command every time you interact with AutoGPT. You can also add different sounds to your speech by connecting AutoGPT to the versatile AI voice software Eleven Labs.

5. Limitations of AutoGPT

There is no doubt that autonomy adds a new dimension to AI systems. At the same time, we cannot ignore the limitations and risks of AutoGPT. Listed below are some key limitations you must be aware of.

5.1 High Cost

While its features are amazing, AutoGPT’s practicality may disappoint you. Since AutoGPT uses the expensive GPT-4 model, the cost of completing each task can be high, even for small tasks. This is mainly because AutoGPT uses GPT-4 multiple times during the steps of a specific task.

5.2 Often stuck in a loop

The most common problem that users face when using AutoGPT is that it gets stuck in a loop. If this continues for more than a few minutes, it may mean you have to restart the process. This happens because AutoGPT relies on GPT-4 to correctly define and decompose tasks. Therefore, there will be a trial and error problem if the underlying LLM returns insufficient results for AutoGPT to take any action.

5.3 Data Security

Since AutoGPT is fully authorized, it can run autonomously and access your system and the Internet, such as using your twitter account, logging in to github, using search engines, etc., so you data may be leaked. AutoGPT does not have a security agent, so you must be careful when using AutoGPT, you cannot allow the model to continue running without giving the correct instructions and security guidelines.

5. How to install AutoGPT?

Unlike other AI tools, AutoGPT does not have a simple registration process to access its platform and features. Before you start using AutoGPT, you must download various software to meet the requirements. The following are detailed step requirements:

Step 1: Download the necessary software

First you need to have a Git account, and you need to install Python3.1.0 or higher. In addition, you must also Be able to skillfully use common shell commands or have Docker containers for project startup and configuration.

Step 2: Set up your OpenAI API key

If you don’t have one yet, please create an OpenAI account (of course, if you want to create an account in China, it is not a simple matter. You can refer to other articles on the Internet to apply for an account). After opening your OpenAI account, open USER - API keys and go to the API keys tab. You will see an option to create a key. Click on it and copy the key.

Self-aware AI: AutoGPT

Step 3: Clone the latest version of AutoGPT

(1)clone project

Open the command line Tools use the command git clone https://github.com/Torantulino/Auto-GPT.git to clone the project locally

Self-aware AI: AutoGPT

(2) Execute the installation

After entering the directory through the command cd Auto-GPT && ls -al, you can see that there are many files, one of which is requirements.txt. In this file you will see the modules required to run AutoGPT.

Self-aware AI: AutoGPT

To install these modules, you can use the command pip install -r requirements.txt to download and install.

Self-aware AI: AutoGPT

(3) Modify the configuration

Pass the command vim .env.template your-openai-api-key), the configuration is completed Then execute mv .env.template .env to make the configuration take effect

Self-aware AI: AutoGPT

Other related configurations can be made as needed by referring to the table

(4) Start using

After completing the above configuration, you have completed the basic configuration of AutoGPT. At this time, you can start your AutoGPT journey by commanding python -m autogpt!

Self-aware AI: AutoGPT

As you can see from the picture above, AutoGPT requires you to give the AI ​​a name [Name] and a role positioning [Role]. At the same time, you can Set goals [Goals] for it (up to 5 goals, if you only have one goal, just press Enter).

After you set and complete the goal, AutoGPT will think independently and analyze your goal [THOUGHTS]. After the thinking is completed, it will begin to understand and reason about how to accomplish the goal [REASONING], and then begin to independently break it down into specific Plan [PLAN], and finally a judgment [CRITICISM] will be proposed to ensure that the AI ​​agent corrects errors and makes correct decisions.

After completing the above behavior planning, AutoGPT will prompt the instructions and actions it will take [NEXT ACTION], which contains the specific executed commands [COMMAND] and parameters [ARGUMENTS]. The user can modify the actions at this time. Risk commands are identified to avoid unexpected risks such as data leakage. Here, you can use y or n to authorize or deny AutoGPT's subsequent command actions.

Self-aware AI: AutoGPT

AutoGPT will cycle through the above steps multiple times. Since AutoGPT can store context and historical experience, it will be updated each time based on the feedback results. Think deeply, formulate a better plan, and finally list the plans he wants to implement. Repeatedly try and supplement until you achieve your expected goals.

AutoGPT will go through the above steps and perform multiple cycles. Since AutoGPT can store context and historical experience, it will think more deeply each time based on the feedback results, formulate a better plan, and finally list its requirements. Execute the plan, try it again and add to it, until you reach your desired goal.

(5) Docker usage

Of course, you can also use docker to run:

<code>// 最简单的方式就是通过docker-composedocker-compose build auto-gptdocker-compose run --rm auto-gpt// 使用docker命令构建docker build -t auto-gpt .docker run -it --env-file=.env -v $PWD:/app auto-gpt</code>

You can pass additional parameters, for example, running mode --gpt3only and -- continuous mode:

<code>// docker-composedocker-compose run --rm auto-gpt --gpt3only --continuous// docker docker run -it --env-file=.env -v $PWD:/app --rm auto-gpt --gpt3only --continuous</code>

6. Summary

Compared with traditional text generation technology, we found that the evolution of AutoGPT’s capabilities is astounding. It can automatically disassemble it into It needs to perform tasks and continuously optimize, improve and summarize them based on existing experience and decisions during the execution process. At the same time, AutoGPT has many ways to obtain information. It can be downloaded and downloaded through search engine searches, github, web tools and other channels. Extract the required information and use plug-in capabilities such as local caching, voice conversion, image generation, etc. to finally accomplish the goals you set. This form of self-awareness, self-iteration and updating is very close to the artificial intelligence like Moss in the movie "The Wandering Earth"!

The final question is, is this article automatically generated by AutoGPT?

##LLM PROVIDER

OPENAI_API_KEY can be configured, whether to use AZURE

LLM MODEL SETTINGS

You can configure the token limit provided by openAI to avoid excessive call cost waste. The default is 4000-8000

LLM MODELS

LLM underlying language model, you can choose GPT-4 or gpt-3.5-turbo by default

MEMORY

Memory management, you can configure local, redis, PINECONE, MILVUS, etc.

IMAGE GENERATION PROVIDER

Image generation, you can configure the image size and image generation engine: dalle, HUGGINGFACE, STABLE DIFFUSION WEBUI

AUDIO TO TEXT PROVIDER

Voice to text, you can configure HUGGINGFACE

##GIT Provider for repository actions

github configuration, used to access and manage github by configuring the github api key

WEB BROWSING

Search engine management, you can configure different browsers: firefox, chrome, safari, search engine: google, etc. Authorized open api is used to access the Internet to obtain information and manage access depth

TTS PROVIDER

Can use MAC OS, STREAMELEMENTS and ELEVENLABS for text-to-speech configuration

TWITTER API

Twitter account management, manage and configure your Twitter account, configure token to access the corresponding api

AUTO-GPT - GENERAL SETTINGS

Some of AutoGPT Default configuration, such as storage directory, switches, user agent, AI settings, etc.

The above is the detailed content of Self-aware AI: AutoGPT. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:51CTO.COM. If there is any infringement, please contact admin@php.cn delete
ai合并图层的快捷键是什么ai合并图层的快捷键是什么Jan 07, 2021 am 10:59 AM

ai合并图层的快捷键是“Ctrl+Shift+E”,它的作用是把目前所有处在显示状态的图层合并,在隐藏状态的图层则不作变动。也可以选中要合并的图层,在菜单栏中依次点击“窗口”-“路径查找器”,点击“合并”按钮。

ai橡皮擦擦不掉东西怎么办ai橡皮擦擦不掉东西怎么办Jan 13, 2021 am 10:23 AM

ai橡皮擦擦不掉东西是因为AI是矢量图软件,用橡皮擦不能擦位图的,其解决办法就是用蒙板工具以及钢笔勾好路径再建立蒙板即可实现擦掉东西。

谷歌超强AI超算碾压英伟达A100!TPU v4性能提升10倍,细节首次公开谷歌超强AI超算碾压英伟达A100!TPU v4性能提升10倍,细节首次公开Apr 07, 2023 pm 02:54 PM

虽然谷歌早在2020年,就在自家的数据中心上部署了当时最强的AI芯片——TPU v4。但直到今年的4月4日,谷歌才首次公布了这台AI超算的技术细节。论文地址:https://arxiv.org/abs/2304.01433相比于TPU v3,TPU v4的性能要高出2.1倍,而在整合4096个芯片之后,超算的性能更是提升了10倍。另外,谷歌还声称,自家芯片要比英伟达A100更快、更节能。与A100对打,速度快1.7倍论文中,谷歌表示,对于规模相当的系统,TPU v4可以提供比英伟达A100强1.

ai可以转成psd格式吗ai可以转成psd格式吗Feb 22, 2023 pm 05:56 PM

ai可以转成psd格式。转换方法:1、打开Adobe Illustrator软件,依次点击顶部菜单栏的“文件”-“打开”,选择所需的ai文件;2、点击右侧功能面板中的“图层”,点击三杠图标,在弹出的选项中选择“释放到图层(顺序)”;3、依次点击顶部菜单栏的“文件”-“导出”-“导出为”;4、在弹出的“导出”对话框中,将“保存类型”设置为“PSD格式”,点击“导出”即可;

ai顶部属性栏不见了怎么办ai顶部属性栏不见了怎么办Feb 22, 2023 pm 05:27 PM

ai顶部属性栏不见了的解决办法:1、开启Ai新建画布,进入绘图页面;2、在Ai顶部菜单栏中点击“窗口”;3、在系统弹出的窗口菜单页面中点击“控制”,然后开启“控制”窗口即可显示出属性栏。

GPT-4的研究路径没有前途?Yann LeCun给自回归判了死刑GPT-4的研究路径没有前途?Yann LeCun给自回归判了死刑Apr 04, 2023 am 11:55 AM

Yann LeCun 这个观点的确有些大胆。 「从现在起 5 年内,没有哪个头脑正常的人会使用自回归模型。」最近,图灵奖得主 Yann LeCun 给一场辩论做了个特别的开场。而他口中的自回归,正是当前爆红的 GPT 家族模型所依赖的学习范式。当然,被 Yann LeCun 指出问题的不只是自回归模型。在他看来,当前整个的机器学习领域都面临巨大挑战。这场辩论的主题为「Do large language models need sensory grounding for meaning and u

强化学习再登Nature封面,自动驾驶安全验证新范式大幅减少测试里程强化学习再登Nature封面,自动驾驶安全验证新范式大幅减少测试里程Mar 31, 2023 pm 10:38 PM

引入密集强化学习,用 AI 验证 AI。 自动驾驶汽车 (AV) 技术的快速发展,使得我们正处于交通革命的风口浪尖,其规模是自一个世纪前汽车问世以来从未见过的。自动驾驶技术具有显着提高交通安全性、机动性和可持续性的潜力,因此引起了工业界、政府机构、专业组织和学术机构的共同关注。过去 20 年里,自动驾驶汽车的发展取得了长足的进步,尤其是随着深度学习的出现更是如此。到 2015 年,开始有公司宣布他们将在 2020 之前量产 AV。不过到目前为止,并且没有 level 4 级别的 AV 可以在市场

ai移动不了东西了怎么办ai移动不了东西了怎么办Mar 07, 2023 am 10:03 AM

ai移动不了东西的解决办法:1、打开ai软件,打开空白文档;2、选择矩形工具,在文档中绘制矩形;3、点击选择工具,移动文档中的矩形;4、点击图层按钮,弹出图层面板对话框,解锁图层;5、点击选择工具,移动矩形即可。

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

Hot Tools

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.