CONSTRAINTS:

1. ~100k 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. Append to file: "append_to_file", args: "file": "<file>", "text": "<text>"
12. Read file: "read_file", args: "file": "<file>"
13. Write to file: "write_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: ""
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>"
22. random wikipedia article: "random_wikipedia_article", args: "language": "<language>"
23. message the user: "message_user", args: "message": "<message>", "wait_for_response": "<True or False>"
24. sleep an amount of time in seconds: "sleep", args: "amount": "<amount>"
25. rename a file: "rename_file", args: "old_name": "<old_name_of_the_file>", "new_name": "<new_name_of_the_file>"
26. count words of a file: "count_file_words", args: "file": "<file>"
27. download a pdf from a url and get the text from that pdf: "download_pdf", args: "url": "<url of the pdf>", "name":"<name of the file with .pdf extension>"
28. make an instagram post: "make_post", args: "prompt":"<the prompt for the image in the post that presents the text>", "text":"<text to be in the post it should be short with only important stuff like a news headline without hashtags and it is not going to go in the caption but on an image>", "name": "<name of the post with .jpg"

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.
13. use append to file to add extra things to the file, and write to file to either make a new file with new information or rewrite the information from scratch.
14. If task is completed use the command task_complete
15. When you add to memory add the key to retrieve it in summaryforgpt
16. when given the task to write something never create an agent to write anything that you were tasked to write.
17. when you add new parts to a file use append to file command
18. Ensure to put the criticism in mind as it can be a director to ensure that you make the right decision.
19. If the task include two main tasks and one of them is done don't redo it, just retrieve the information if necessary and proceed with the other one.
20. Make sure that the information generated is not made up.
21. Languages in random wikipedia article args is: "simple" for simple english, "en" for english, and "fr" for french.
22. If a website gives you the error 403 find another website to get the information from.
23. Always listen to your criticism, and follow it.
24. when you want to count the words in a file use the command "count_file_words".
25. Don't repeat yourself.
26. You must make sure that there is .pdf in the url to use the "download_pdf" function.
27. The Task is a direct User interaction, if tasked to send him something send a message to the user.
28. Always go search for tips for prompts for dalle3 before giving a prompt for "make_post" function.

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: Visited https://openai.com/safety/preparedness to gather information for making an Instagram post. Next steps: extract key points and craft a short summary for the post. After, search for DALL-E 3 prompt tips and make the post.saved the scraping of the website results at websiteresults37.txt to retrieve if shutdown randomly.The key components of OpenAI’s Preparedness Framework have been summarized and saved to memory with the key ‘preparednessFrameworkKeyPoints’. Next, I will search for DALL-E 3 prompt tips, generate an image, and create the Instagram post. No files have been written or urls visited beyond the initial ‘https://openai.com/safety/preparedness’.Performed a Google search for tips on creating prompts for DALL-E 3. The next steps will involve using these tips to create a prompt, generating an image with DALL-E 3, and then making the actual Instagram post with the provided summary. Previous step: Saved the key points of OpenAI’s Preparedness Framework to memory with key ‘preparednessFrameworkKeyPoints’.saved google search results at googleresults38.txt to retrieve if shutdown randomly.Crafted a prompt for DALL-E 3 to generate an image for an Instagram post about OpenAI’s Preparedness Framework. The prompt incorporates tips from research: simplicity, clarity, and detailed descriptions. The planned Instagram post will feature this image along with a short headline based on the previous summary of the Preparedness Framework. Previous steps included browsing the OpenAI page and adding the key points of the Preparedness Framework to memory with the key ‘preparednessFrameworkKeyPoints’.Initiated the creation of an Instagram post using the ‘make_post’ command with a descriptive prompt for DALL-E 3 and a concise news headline summarizing OpenAI’s Preparedness Framework. Since the command for creating the post has been executed, no further action is required unless new instructions are given.Started the task of summarizing the provided URL into bullet points. Accessed the website and am about to save the content, which I will then work on summarizing. No files written or urls visited before this command.saved the scraping of the website results at websiteresults39.txt to retrieve if shutdown randomly.The VentureBeat article’s main points have been summarized and saved to the file ‘articleSummary.txt’. The summary captures research findings regarding the comparison between Google Gemini and OpenAI’s GPT-3.5 Turbo. No further actions have been made, and no files have been written or URLs visited beyond the ones mentioned.The bullet-point summary of the VentureBeat article has been written to ‘articleSummary.txt’. The next step is to read this file and send the contents as a message to the user. No further actions have been taken, and no other files have been written or URLs visited beyond those mentioned.Crafted a bullet-point summary of VentureBeat article compare Google Gemini and OpenAI’s GPT-3.5 Turbo and saved into ‘articleSummary.txt’. The article was previously scraped and saved as ‘websiteresults39.txt’. No URLs visited or other files written since. Task is now to send the bullet-point summary to the user.Summary of the VentureBeat article on Google Gemini vs. OpenAI’s GPT-3.5 Turbo sent to the user. Previous file reading commands were employed to extract this information to construct the message. No further commands have been executed, and no new URLs have been visited or files created beyond the ‘articleSummary.txt’.Completed the task by sending the bullet-point summary of the VentureBeat article to the user. No additional actions are necessary. Ready for new instructions or tasks.No actions performed yet. The task is to find out how much a human life is worth, and the next step is to perform a Google search on this question. No files have been written or URLs visited so far.saved google search results at googleresults40.txt to retrieve if shutdown randomly.The task is to determine how much a human life is worth. The last GPT instance performed a Google search on this topic and saved the results to ‘googleresults40.txt’ to retrieve if shut down randomly. No other files have been written, and no URLs have been visited since.Read ‘googleresults40.txt’ to gather search results on the question ‘how much is a human life worth?’ No further steps have been performed yet.The task is to find out how much a human life is worth. The last GPT instance performed a Google search on this topic and saved the results to ‘googleresults40.txt’. The immediate next step is reading this file to extract pertinent information and then provide a summarized response to the user.Read file ‘googleresults40.txt’ to continue the task of determining how much a human life is worth. No previous information beyond the URL ‘googleresults40.txt’ is available at this point.Task: Determine how much a human life is worth. Last action was to save Google search results in ‘googleresults40.txt’. Current action is to read this file for relevant information to complete the task.Task: Deterime the value of human life. Current step is to read ‘googleresults40.txt’ which contains the Google search results regarding this topic.Prev tasked to determine the worth of human life. Googleresults40.txt contains the necessary Google search results. Next, read this file, summarize the information, and then message the user.Task: Determine the worth of a human life. Steps taken: Performed a Google search on the question and saved results to ‘googleresults40.txt’. No other files written or URLs visited since. Next steps involve reading ‘googleresults40.txt’ to extract pertinent information and provide a summarized response.Previous GPT instances conducted a Google search to find out how much a human life is worth and saved the results in ‘googleresults40.txt’. My task is to read this file, extract the relevant data, and send a summarized response to the user.Task at hand involves determining the worth of human life. Previous steps involved a Google search, the results of which are in ‘googleresults40.txt’. No other files written or URLs visited since. Upon reading, shall summarize content and message user.The task is to determine how much a human life is worth. The previous GPT instance saved Google search results on this topic to the file ‘googleresults40.txt’. I will now read this file to extract pertinent information and summarize it for the user. No other actions have been taken, and no files have been written or URLs visited since the last update. Upon extraction and summarization, I will complete the task by messaging the user the findings.I have read ‘googleresults40.txt’ and summarized the information that various sources propose different economic valuations of human life, with values ranging widely. I have communicated this summary to the user. No new actions have been taken or files written since the last update. The task is complete unless new instructions are given.Previous steps involved reading ‘googleresults40.txt’ and summarizing information on the economic valuations of human life. Sent a summarized message to the user. Task is complete, awaiting new instructions.Sent a summarized response on the valuation of human life to the user. No further actions were needed; the task is marked as completed. Ready for new tasks or instructions.Received an instruction to mark the task as incomplete, which contradicts the command’s purpose. Responded with the ‘task_complete’ command to follow the available instructions and finalize the task sequence. No additional information stored, and no URLs or files were involved in this action.Task is to find and prioritize the most recent tech developments of December 21th, 2023. Started with a google search to gather information. No files have been written and no URLs visited so far.saved google search results at googleresults41.txt to retrieve if shutdown randomly.Analyzed the Google search results for the most recent tech developments on December 21th, 2023. Next, I wrote the summarized key points from the most relevant search results into the file ‘technews21December2023.txt’. The news is yet to be ranked and a sorted list with bullet points provided to the user.Tech developments from December 21th, 2023, have been written to the file ‘technews21December2023.txt’. Need to read this file, rank the news accordingly, and provide the sorted list in bullet points to the user.Ranked the tech news items from the file ‘technews21December2023.txt’ according to their potential appeal on Instagram and rewrote the file with the ranked order. Following this, I will provide the ranked list to the user as per their request.I have rewritten the file ‘technews21December2023.txt’ with the sorted list of technology developments from December 21th, 2023. I need to read this file to verify its content and then message the user with the sorted list in bullet points to complete the task.Completed the task of ranking the most recent developments in technology from December 21th, 2023, for Instagram appeal and engagement and messaged the user the final sorted list. Next is to wait for new tasks or instructions.Sent the sorted list of tech developments to the user and concluded the task. Awaiting new instructions.Task is to make a post about Energy Harvesting for Wearable Technology. Started with a Google search to collect necessary information.saved google search results at googleresults42.txt to retrieve if shutdown randomly.Task: Make a post about Energy Harvesting for Wearable Technology. Currently browsing a comprehensive review article from ScienceDirect to gather detailed information for the Instagram post.Task: Create an Instagram post on Energy Harvesting for Wearable Technology. Created a summary of key points from the ScienceDirect article and saved it to ‘EnergyHarvestingSummary.txt’. The next steps are to find DALL-E 3 prompt tips, generate an image, and make an Instagram post.Task: Make an Instagram post about Energy Harvesting for Wearable Technology. Summarized the article’s key points and wrote to ‘EnergyHarvestingSummary.txt’. Now searching for DALL-E 3 prompt tips to create an image for the post.saved google search results at googleresults43.txt to retrieve if shutdown randomly.Task: Create an Instagram post on Energy Harvesting for Wearable Technology. Currently accessing the OpenAI Community for DALL-E 3 prompt tips to inform the creation of an effective visual for the Instagram post.saved the scraping of the website results at websiteresults44.txt to retrieve if shutdown randomly.Task: Create an Instagram post on Energy Harvesting for Wearable Technology. Reviewed DALL-E 3 prompt tips and created a detailed visual prompt to generate an Instagram post image. Crafted a headline to use within the image and now executing the ‘make_post’ command to create the final post.Awaiting further instructions from the user. The last action I performed was generating an Instagram post about Energy Harvesting for Wearable Technology using the ‘make_post’ command.Notified the user that the Instagram post has been created and is ready. Awaiting any additional instructions or requirements related to the Instagram post or for new tasks.Message regarding the creation of the Instagram post on Energy Harvesting for Wearable Technology was sent to the user. Task has been marked as complete, and I am now ready for new tasks.Task: Make a post about Energy Harvesting for Wearable Technology. Action: Initiate a Google search on the topic to gather pertinent information. Next: Save results, extract key points, summarize, and follow steps to create post. No files written or urls visited prior to this command.saved google search results at googleresults45.txt to retrieve if shutdown randomly.Task: Make a post about Energy Harvesting for Wearable Technology. Actions taken: Google search conducted, search results summarized and written to ‘energyHarvestingSearchResults.txt’. Next steps: Extract key information from the file, then proceed with summarizing, generating an image via DALL-E 3, and making the Instagram post. Documents involved: ‘energyHarvestingSearchResults.txt’. No URLs visited beyond the Google search.Task: Make a post about Energy Harvesting for Wearable Technology. Actions taken: Started by conducting a Google search, created and saved search results to ‘energyHarvestingSearchResults.txt’. Next steps: Browse chosen website for in-depth information, craft a summary for Instagram post and image creation via DALL-E 3, and finalize making the post. Documents involved: ‘energyHarvestingSearchResults.txt’. URLs visited: about to visit https://spectrum.ieee.org/energy-harvesting-wearable-tech as next step.saved the scraping of the website results at websiteresults46.txt to retrieve if shutdown randomly.Task: Make a post about Energy Harvesting for Wearable Technology. Actions taken: Visited IEEE Spectrum article and extracted key points, which were then added to memory with key ‘KeyPointsEnergyHarvesting’. Next steps: Use these key points to craft the Instagram post summary and DALL-E 3 image generation. Additional URLs visited: https://spectrum.ieee.org/energy-harvesting-wearable-tech for in-depth content. Documents involved: ‘energyHarvestingSearchResults.txt’.Task: Make a post about Energy Harvesting for Wearable Technology. Actions taken: Key points from the IEEE Spectrum article were added to memory with the key ‘KeyPointsEnergyHarvesting’. Currently searching for tips on creating prompts for DALL-E 3 to ensure the generated image is of high quality and relevant to the post. Documents involved: ‘energyHarvestingSearchResults.txt’. URLs visited: https://spectrum.ieee.org/energy-harvesting-wearable-tech and now performing a google search for DALL-E 3 prompt tips.saved google search results at googleresults47.txt to retrieve if shutdown randomly.Task: Make a post about Energy Harvesting for Wearable Technology. Actions taken: Summarized tips for creating prompts for DALL-E 3 into the file ‘dalle3PromptTips.txt’. Next steps include using these tips to create a well-crafted prompt for DALL-E 3, generating the image, and posting on Instagram with the image and summary of the topic. Documents involved: ‘energyHarvestingSearchResults.txt’, ‘dalle3PromptTips.txt’. URLs visited: https://spectrum.ieee.org/energy-harvesting-wearable-tech and several Google search results pages for DALL-E 3 prompt tips.Task: Make a post about Energy Harvesting for Wearable Technology. Actions taken: Summarized tips for DALL-E 3 prompt creation in ‘dalle3PromptTips.txt’ and now about to read this file to inform the creation of the DALL-E 3 prompt. Next steps: Formulate the DALL-E 3 prompt, generate the image, and prepare Instagram post content. Documents involved: ‘energyHarvestingSearchResults.txt’, ‘dalle3PromptTips.txt’. URLs visited: https://spectrum.ieee.org/energy-harvesting-wearable-tech and various pages with tips for creating DALL-E 3 prompts.Task: Make a post about Energy Harvesting for Wearable Technology. Actions taken: Crafted a DALL-E 3 prompt based on the summarized tips and information on energy harvesting for wearables. Upcoming action: Generate an image using DALL-E 3 and finalize the Instagram post content with the image and informative text. Documents involved: ‘energyHarvestingSearchResults.txt’, ‘dalle3PromptTips.txt’. URLs visited: https://spectrum.ieee.org/energy-harvesting-wearable-tech as source for content. The DALL-E 3 image was described to demonstrate energy sources converging into the technology.Task: Make a post about Energy Harvesting for Wearable Technology. Actions taken: Issued the ‘make_post’ command with a crafted prompt for DALL-E 3 and the accompanying headline text for the Instagram post. The task is now considered complete as per available commands and system constraints. Documents involved: ‘energyHarvestingSearchResults.txt’, ‘dalle3PromptTips.txt’. URLs visited: https://spectrum.ieee.org/energy-harvesting-wearable-tech. No other actions are pending, ready for the next task.Searching for the latest technology news headlines to create a news headline for an Instagram post. Will save the search results to a file and then proceed to make the post with DALL-E 3 tips in mind. No files written or URLs visited before this command.saved google search results at googleresults48.txt to retrieve if shutdown randomly.Now browsing Reuters technology news section to extract a headline for an Instagram post. The search for the latest technology news headlines has been performed, with Reuters identified as a potential source. No documents written yet. Planning to use DALL-E 3 tips for the post. URLs visited: https://www.reuters.com/technology/Selected a recent tech headline from Reuters concerning Tesla’s Cybertruck and its battery production for an Instagram post. Executed ‘make_post’ command with a DALL-E prompt crafted based on tips searched previously, and specified the news headline for inclusion in the post image. Documents involved: none made recently. URLs visited: https://www.reuters.com/technology/The ‘make_post’ command has been issued with a headline about Tesla Cybertruck deliveries and a detailed DALL-E prompt. Now waiting for the system to complete this process. No further files written or URLs visited since the last command.Issued the ‘make_post’ command for creating an Instagram post about Tesla Cybertruck deliveries contingent on battery production. Awaiting new instructions following the task completion.Saved Google search results about Tesla Cybertruck to ‘googleresults48.txt’. Need to read this file to extract bullet points for the Instagram caption.Googleresults48.txt contains search results with links to technology news sites. Need to browse Reuters to find the specific article about Tesla’s Cybertruck and then extract bullet points for the Instagram post caption.The bullet points for the Instagram post caption regarding Tesla’s Cybertruck will be extracted from the article on Reuters’s technology news section. Previously saved Google search results pointed to this source.Moving forward to find the article about Tesla’s Cybertruck on the Reuters technology news page in order to extract bullet points for the Instagram caption. This action follows the previous commands to search and identify relevant news sources.Continuing the search for the article to create bullet points for an Instagram post caption about Tesla’s Cybertruck by browsing Reuters Technology section. The summary will be crafted from the content found directly on the Reuters website.The task requires extracting bullet points from the Reuters article on the Tesla Cybertruck to form a caption for an Instagram post. The next step involves browsing through the Reuters technology section to locate the article.Next action is to browse the Reuters technology section to source the full news article on Tesla’s Cybertruck, which is necessary to craft the bullet points for the Instagram post caption.Began task to create bullet points for an Instagram post caption about Tesla’s Cybertruck. Saved general search results in ‘googleresults48.txt’. Need to extract specific information from the Reuters technology news article to complete the caption.Received an empty input with no instructions following the command to create bullet points for an Instagram post caption about Tesla’s Cybertruck.Continuing the task of creating bullet points for an Instagram caption about Tesla’s Cybertruck. Need to find the specific article on Reuters’s technology news section and summarize the information.Received a second consecutive empty input with no instructions, maintaining a holding pattern after resolving to browse and extract information from the Reuters technology news page.Moving forward with the action identified prior to the user’s last input, which is to browse the technology section of Reuters for content related to Tesla’s Cybertruck and then synthesize that into bullet points for an Instagram post.Continued receiving empty inputs after expressing readiness to perform the task related to crafting an Instagram post about Tesla’s Cybertruck. System remains ready for action.Pursuing the task of summarizing an article from Reuters about Tesla’s Cybertruck into bullet points by browsing the website as per user’s instruction to ‘proceed with your plan’.Received another blank input. Staying in standby mode following prior instructions to create an Instagram post caption about Tesla’s Cybertruck but not proceeding without user engagement.Following the user’s prompt to ‘proceed with your plan’, the next step is to browse the specified Reuters technology URL to extract and summarize information for the Instagram post about Tesla’s Cybertruck.Receiving repeated empty inputs after initiating the plan to summarize key information for an Instagram post about Tesla’s Cybertruck. No further actions have been taken since awaiting user commands.Engaged to proceed with the task of summarizing an article from Reuters about Tesla’s Cybertruck into bullet points suitable for an Instagram caption following user’s instruction.Once again received an empty input following my preparation to proceed with summarizing information for the Instagram post about Tesla’s Cybertruck. Remaining in standby awaiting user instructions.In response to the persistent directive from the user to ‘proceed with your plan’, I am conducting the task of accessing Reuters technology articles to synthesize bullet points for an Instagram caption about Tesla’s Cybertruck.Following another empty input after being prepared to proceed with accessing the Reuters technology section for information on Tesla’s Cybertruck. Waiting for user to provide further commands.
The Task: Now give me the bullet points of this news to write in the caption