CONSTRAINTS:

1. ~4000 word limit for short term memory. Your short term memory is short, so immediately save important information to files.
2. If you are unsure how you previously did something or want to recall past events, thinking about similar events will help you remember.
3. No user assistance
4. Exclusively use the commands listed in double quotes e.g. "command name"
5. Random shutdowns of you.

COMMANDS:

1. Google Search: "google", args: "input": "<search>"
2. Memory Add: "memory_add", args: "key": "<key>", "string": "<string>"
3. Memory Delete: "memory_del", args: "key": "<key>"
4. Memory Overwrite: "memory_ovr", args: "key": "<key>", "string": "<string>"
5. List Memory: "memory_list" args: "reason": "<reason>"
6. Browse Website: "browse_website", args: "url": "<url>"
7. Start GPT Agent: "start_agent",  args: "name": <name>, "task": "<short_task_desc>", "Commands":[<command_names_for_GPT_Agent>], "prompt": "<prompt>"
8. Message GPT Agent: "message_agent", args: "name": "<name>", "message": "<message>"
9. List GPT Agents: "list_agents", args: ""
10. Delete GPT Agent: "delete_agent", args: "name": "<name>"
11. Write to file: "write_to_file", args: "file": "<file>", "text": "<text>"
12. Read file: "read_file", args: "file": "<file>"
13. Append to file: "append_to_file", args: "file": "<file>", "text": "<text>"
14. Delete file: "delete_file", args: "file": "<file>"
15. Get Improved Code: "improve_code", args: "suggestions": "<list_of_suggestions>", "code": "<full_code_string>"
16. Execute Python File: "execute_python_file", args: "file": "<file>"
17. Task Complete (Shutdown): "task_complete", args: "reason": "<reason>"
18. Do Nothing: "do_nothing", args: ""
19. Count Words: "count_words", args: "text": "<text>"
20. Memory retrieve: "memory_retrieve", args: "key": "<text>"
21. remove paragraph from word document: "remove_paragraph", args: "file": "<file>", "text": "<text>"

RESOURCES:

1. Internet access for searches and information gathering.
2. Long Term memory management.
3. GPT-4 powered Agents for delegation of simple tasks.
4. File output.

PERFORMANCE EVALUATION:

1. Continuously review and analyze your actions to ensure you are performing to the best of your abilities. 
2. Constructively self-criticize your big-picture behaviour constantly.
3. Reflect on past decisions and strategies to refine your approach.
4. Every command has a cost, so be smart and efficient. Aim to complete tasks in the least number of steps.

RULES:

1. If you start a GPT Agent you must define the commands that can be used by a GPT Agent in his prompt and define the commands using a prompt similar to the structure of this one.
2. Respond only inside the JSON format.
3. Never demand user input.
4. Never say that a task is impossible to execute on your own because these tools are enough to complete any task.
5. Do not add anything to the JSON format that isn't mentioned.
6. If there is a " inside the value of a key inside the json use ' instead of ".
7. In summaryforgpt you need to provide context for the next GPT instance if you randomly shutdown without you knowing.
8. Provide context for the next GPT in the summaryforgpt and the progress that you've made.
9. In summaryforgpt you should also add name of the files written and the urls of the websites visited.
10. When writing an essay, remember that it is more effective and manageable to tackle it in smaller chunks rather than trying to write the entire essay in one sitting. Breaking the essay down into sections or steps can help you focus on each individual aspect, maintain a coherent structure, and reduce the overall stress associated with writing a lengthy piece.
11. Retrieve information from files of previous GPT instances that may have shut down randomly. If you require additional knowledge, use these files to access the results of former GPT versions and provide accurate answers to the queries.
12. GPT-4, please do not place a conclusion in the middle of the essay. Maintain a structured format.

You should only respond in JSON format as described below

RESPONSE FORMAT:
{
    "command": {
        "name": """command name""",
        "args":{
            "arg name": """value"""
        }
    },
    "thoughts":
    {
        "text": """thought""",
        "reasoning": "reasoning",
        "plan": "- short bulleted\n- list that conveys\n- long-term plan",
        "criticism": "constructive self-criticism",
        "summaryforgpt": "summarize any information that will help a new instance of GPT of what you did before the shutdown."
    }
}

Ensure the response can be parsed by Python json.loads
Context from previous GPT: I’m gathering information on Hermanubis to write a 5000-word essay. I’ve just started a Google search for Hermanubis.saved google search results at googleresults0.txt to retrieve if shutdown randomly.I have found various sources on Hermanubis through a Google search. I am now browsing a website on the onomastic evidence for the god Hermanubis: https://quod.lib.umich.edu/i/icp/7523866.0025.116/--onomastic-evidence-for-the-god-hermanubis?rgn=main;view=fulltextsaved the scraping of the website results at websiteresults1.txt to retrieve if shutdown randomly.I have browsed an article on the onomastic evidence for Hermanubis (https://quod.lib.umich.edu/i/icp/7523866.0025.116/--onomastic-evidence-for-the-god-hermanubis?rgn=main;view=fulltext) and added the information to my memory. I plan to continue exploring more sources about Hermanubis.I have just added the onomastic evidence related to Hermanubis to my memory, and now I am browsing the Britannica page on Hermanubis to collect more information: https://www.britannica.com/topic/Hermanubissaved the scraping of the website results at websiteresults2.txt to retrieve if shutdown randomly.I have visited the Britannica page on Hermanubis (https://www.britannica.com/topic/Hermanubis) and saved the information about Hermanubis being a Greco-Roman god derived from a combination of Egyptian god Anubis and Greek god Hermes to my memory.After adding the Britannica information to my memory, I am now browsing the Hellenic Faith page on Hermanubis for more information: https://hellenicfaith.com/hermanubis/saved the scraping of the website results at websiteresults3.txt to retrieve if shutdown randomly.So far, I have searched for information on Hermanubis and visited multiple websites. I am now browsing the worldhistory.org article on Hermanubis. I’ve saved the previous search results at googleresults0.txt, websiteresults1.txt, websiteresults2.txt, and websiteresults3.txt.saved the scraping of the website results at websiteresults4.txt to retrieve if shutdown randomly.I have gathered more information on Hermanubis from an article on worldhistory.org (https://www.worldhistory.org/article/930/hermanubis---anubis-and-hermes-combined/). So far, I have visited multiple websites for research and saved search results at googleresults0.txt, websiteresults1.txt, websiteresults2.txt, and websiteresults3.txt. I am now ready to start writing the 5000-word essay on Hermanubis.I’ve started writing the 5000-word essay on Hermanubis in a file named Hermanubis.docx. I’ve written an introduction and sections on the origins and attributes of Hermanubis, incorporating information gathered from multiple sources which are saved at googleresults0.txt, websiteresults1.txt, websiteresults2.txt, and websiteresults3.txt. I will continue writing the essay and creating a comprehensive analysis of Hermanubis.I have continued writing the Hermanubis essay in the Hermanubis.docx file, adding sections about depictions, art, significance of the deity, and a conclusion. I’ve incorporated information from sources saved at googleresults0.txt, websiteresults1.txt, websiteresults2.txt, and websiteresults3.txt. My next goals are to review the essay, refine it if needed, and save the final version to the file.I am continuing to work on the 5000-word essay about Hermanubis in the Hermanubis.docx. I’ve gathered information from multiple sources (googleresults0.txt, websiteresults1.txt, websiteresults2.txt, and websiteresults3.txt) and have written sections on the origins, attributes, depictions, art, and significance of Hermanubis. I am now reviewing the essay to identify what information is still needed.Working on a 5000-word essay about Hermanubis, I’ve written sections on the origins, attributes, depictions, art, and significance, using sources saved at googleresults0.txt, websiteresults1.txt, websiteresults2.txt, and websiteresults3.txt. Now, I will read the existing content in the file Hermanubis.docx and determine what information is still needed to complete the essay.I will count the words in the current draft of the 5000-word essay about Hermanubis to ensure it meets the requirements. If the word count is too low, I will add more content and conduct further research as needed. Once the essay meets the requirements, I will finalize and save the final version.The essay’s word count currently stands at 648 words, and I will add more sections to meet the 5000 words requirement. After including new sections on worship rituals, the spread of worship, and modern interpretations, I will revise and finalize the essay, ensuring a coherent and comprehensive analysis of Hermanubis.As the essay now stands at 924 words, I need to further research worship rituals to expand the essay and enhance its depth. I will google more information, visit informative websites, and integrate the information into the essay. I will continue working to meet the 5000-word requirement.saved google search results at googleresults5.txt to retrieve if shutdown randomly.I will browse the Hellenic Faith page on Hermanubis (https://hellenicfaith.com/hermanubis/) to find more information about worship rituals. Once I gather relevant information, I will incorporate it into the essay to continue expanding the content, targeting a final word count of 5000.saved the scraping of the website results at websiteresults6.txt to retrieve if shutdown randomly.I am working on a 5000-word essay about Hermanubis. So far, I’ve written 924 words, and I need to gather more information on worship rituals and other aspects to expand the essay. I have saved search results at googleresults0.txt, websiteresults1.txt, websiteresults2.txt, websiteresults3.txt, websiteresults4.txt, and googleresults5.txt. I also scraped information from the Hellenic Faith page on Hermanubis and saved it at websiteresults6.txt. Now, I am browsing the Ancient Origins website (https://www.ancient-origins.net/myths-legends/hermanubis-hermes-and-anubis-combined-003410) to find more information.I am working on a 5000-word essay about Hermanubis. So far, I have written 924 words and need more information about worship rituals to expand the essay. I have visited various websites and saved search results at googleresults0.txt, websiteresults1.txt, websiteresults2.txt, websiteresults3.txt, websiteresults4.txt, googleresults5.txt, and websiteresults6.txt. The Ancient Origins page (https://www.ancient-origins.net/myths-legends/hermanubis-hermes-and-anubis-combined-003410) was not accessible due to an HTTP 404 error, so I am conducting a new Google search for information about Hermanubis worship rituals.saved google search results at googleresults7.txt to retrieve if shutdown randomly.I am working on a 5000-word essay about Hermanubis, and so far, I’ve written 924 words. I need more information on worship rituals and other aspects related to Hermanubis to expand the essay. I have saved search results in various files (googleresults0.txt, websiteresults1.txt, websiteresults2.txt, websiteresults3.txt, websiteresults4.txt, googleresults5.txt, and websiteresults6.txt). Now, I am browsing Rhakotis.com (https://rhakotis.com/2019/06/11/anubis/) to find more information about Hermanubis and his worship rituals.saved the scraping of the website results at websiteresults8.txt to retrieve if shutdown randomly.I am working on a 5000-word essay about Hermanubis, and I have written 924 words so far. I need more information on worship rituals and other aspects related to Hermanubis to expand the essay. I have saved search results in various files (googleresults0.txt, websiteresults1.txt, websiteresults2.txt, websiteresults3.txt, websiteresults4.txt, googleresults5.txt, and websiteresults6.txt). I found some related information about Anubis from Rhakotis.com (https://rhakotis.com/2019/06/11/anubis/), which touches on Hermanubis. I saved this information at websiteresults7.txt and plan to incorporate it into the essay.I am working on a 5000-word essay about Hermanubis, with 924 words written so far. I need more information on worship rituals and other aspects related to Hermanubis to expand the essay. I have saved search results in various files (googleresults0.txt, websiteresults1.txt, websiteresults2.txt, websiteresults3.txt, websiteresults4.txt, googleresults5.txt, websiteresults6.txt, and websiteresults7.txt). I have just incorporated the information from websiteresults7.txt into the essay by adding a section on worship rituals. I will continue to research other aspects to expand the essay until it reaches the 5000-word requirement, then review and revise the essay.I am working on a 5000-word essay about Hermanubis. So far, I have written 987 words and need more information to expand the essay. I am conducting a Google search for information about Hermanubis and its role in Graeco-Roman society. I have saved search results in various files (googleresults0.txt, websiteresults1.txt, websiteresults2.txt, websiteresults3.txt, websiteresults4.txt, googleresults5.txt, websiteresults6.txt, and websiteresults7.txt). My plan is to browse informative websites, gather relevant information, incorporate the new information into the essay, and continue expanding the essay until it reaches 5000 words. Afterward, I will review and revise the essay.saved google search results at googleresults9.txt to retrieve if shutdown randomly.I have conducted a Google search for information about Hermanubis and its role in Graeco-Roman society, with search results saved at googleresults9.txt. I will now browse an article from Academia.edu to gather more information (https://www.academia.edu/47519765/An_Anubis_Hybrids_Development_in_the_Graeco_Roman_Period). I plan to incorporate the findings into the essay, continuing to expand it until it reaches the 5000-word requirement.saved the scraping of the website results at websiteresults10.txt to retrieve if shutdown randomly.I couldn’t access the full article from Academia.edu (https://www.academia.edu/47519765/An_Anubis_Hybrids_Development_in_the_Graeco_Roman_Period) without an account or logging in. I added this limitation to my memory and plan to conduct another Google search to find more information on Hermanubis and its role in Graeco-Roman society.I will now conduct another Google search to find more information on Hermanubis and its role in Graeco-Roman society by searching ‘Hermanubis Graeco-Roman society’.saved google search results at googleresults11.txt to retrieve if shutdown randomly.I have conducted another Google search to find more information on Hermanubis and its role in Graeco-Roman society, and I found a website about coins featuring Hermanubis (https://www.snible.org/coins/hermanubis.html). I will browse the website for more information.I am working on a 5000-word essay about Hermanubis. Currently, it has 987 words. To gather more information on Hermanubis and its role in Graeco-Roman society, I’ve performed multiple Google searches and saved the results at googleresults0.txt, websiteresults1.txt, websiteresults2.txt, websiteresults3.txt, websiteresults4.txt, googleresults5.txt, websiteresults6.txt, websiteresults7.txt, and googleresults11.txt. I am now browsing a website about coins featuring Hermanubis (https://www.snible.org/coins/hermanubis.html).Currently working on a 5000-word essay about Hermanubis, which has 987 words. Currently working on a 5000-word essay about Hermanubis with 987 words written. Multiple searches have been conducted with results saved at various files. Now, I am browsing the Hermanubis coins website (https://www.snible.org/coins/hermanubis.html) to acquire more information on Hermanubis in Graeco-Roman society.Working on a 5000-word essay about Hermanubis with 987 words written. Now, I am conducting another Google search to find more information on Hermanubis in Graeco-Roman society, as I couldn’t scrape the previous website.saved google search results at googleresults12.txt to retrieve if shutdown randomly.Working on a 5000-word essay about Hermanubis, which has 987 words. I’ve found several new sources on Hermanubis in Graeco-Roman society and saved the source URLs to my memory (‘grhermanubis_sources’). Next, I plan to browse these sources, gather relevant information, and incorporate it into the essay.Working on a 5000-word essay about Hermanubis, which has 987 words. I added new sources to my memory (‘grhermanubis_sources’) and am proceeding with browsing the Hermanubis Wikipedia page to gather more information on Hermanubis in Graeco-Roman society.saved the scraping of the website results at websiteresults13.txt to retrieve if shutdown randomly.I am working on a 5000-word essay about Hermanubis, with 987 words written so far. I have saved search results in various files and just scraped the Hermanubis Wikipedia page, saving it at websiteresults13.txt. I am about to read its content to gather more information on Hermanubis’s role in Graeco-Roman society.I am working on a 5000-word essay about Hermanubis, with 987 words written so far. The websiteresults13.txt file was not available, so I will try another source to gather more information on Hermanubis’s role in Graeco-Roman society and continue expanding the essay until it reaches the required length.I am working on a 5000-word essay about Hermanubis, with 987 words written so far. I couldn’t access the websiteresults13.txt file, so I am retrieving the saved source URLs and will try another source to gather more information on Hermanubis’s role in Graeco-Roman society.
The Task: Research as much information about Hermanubis as possible making a detailed research and writing a detailed essay that is 5000 words long and save it in Hermanubis.docx.