<aside> 💡 Explain Auto-GPT both in user level and code level. Follow my Twitter to get more information about GPT.

</aside>

https://github.com/Significant-Gravitas/Auto-GPT

Code version: Release Auto-GPT v0.2.1 · Significant-Gravitas/Auto-GPT (github.com)

User Level

  1. Initial input will be stored in ai_settings.yaml, you can reuse it in latter runs.
Welcome to Auto-GPT!  Enter the name of your AI and its role below. Entering nothing will load defaults.
Name your AI:  For example, 'Entrepreneur-GPT'
**AI Name: GPT**
GPT here!  I am at your service.
Describe your AI's role:  For example, 'an AI designed to autonomously develop and run businesses with the sole goal of increasing your net worth.'
**GPT is: an AI designed to search and analyse information**
Enter up to 5 goals for your AI:  For example: Increase net worth, Grow Twitter Account, Develop and manage multiple businesses autonomously'
Enter nothing to load defaults, enter nothing when finished.
**Goal 1: search GPT-4 related news**
ai_goals:
- search GPT-4 related news
ai_name: GPT
ai_role: an AI designed to search and analyse information
  1. In each round, the AI (agent) will do the following:
    1. Run command and print command output. (Except in the first round)
    2. Send a prompt to GPT.
    3. Get and print structured output from GPT.
    4. Wait user to authorize the next command and get user’s feedback.
  2. Let’s look at the below output for example.
# a. Command output, can be ignored.
SYSTEM:  Command google returned: ...

# b&c. Structured output by GPT
THOUGHTS:  I think it would be useful to save the search results to a file for later reference using the 'write_to_file' command.
REASONING:  As an AI with a short-term memory, it is important to save important information to files for later reference. Saving the search results to a file will allow me to access the information at a later time without having to perform the same search again.
PLAN: 
-  Use the 'write_to_file' command to save the search results to a file.\\n- Choose a descriptive file name that will make it easy to find the information later.\\n- Consider adding a timestamp to the file name to help keep track of when the information was gathered.
CRITICISM:  I need to make sure that I am saving the information in a way that is easy to access and that I am not cluttering up my file system
 with unnecessary files.
SPEAK:  I will use the 'write_to_file' command to save the search results to a file for later reference.

# d. Wait user input
NEXT ACTION:  COMMAND = write_to_file ARGUMENTS = {'file': 'gpt4_news.txt', 'text': 'GPT-4 News Search Results:\\n\\n- OpenAI Research Paper: <https://openai.com/research/gpt-4\\n-> VentureBeat Article: <https://venturebeat.com/ai/algorithms-auditing-algorithms-gpt-4-responsible-ai-beyond-human-scale/\\n-> CNN Article: <https://www.cnn.com/2023/03/16/tech/gpt-4-use-cases/index.html\\n-> Digital Trends Article: <https://www.digitaltrends.com/computing/chatgpt-4-everything-we-know-so-far/\\n-> Business Insider Article: <https://www.businessinsider.com/open-ai-gpt4-high-risk-used-for-dangerous-chemistry-expert-2023-4?op=1\\n-> Healthcare IT News Article: <https://www.healthcareitnews.com/news/gpt-4-and-llms-it-hold-promise-healthcare-caution-warranted\\n-> TechRadar Article: <https://www.techradar.com/news/gpt-4\\n-> ABC News Article: <https://abcnews.go.com/International/wireStory/chatgpt-makers-new-ai-model-gpt-4-97881867\\n>'}
Enter 'y' to authorise command, 'y -N' to run N continuous commands, 'n' to exit program, or enter feedback for ...
Input:

Twitter Bot Example

Code Level

Entry point __main__.py

  1. Setup env: arguments, memory, goals, name, roles, etc.