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>"

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.

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: Initial command issued to retrieve a simple English Wikipedia article to begin checking for errors. No files written or URLs visited yet.Reviewed the Wikipedia article titled ‘André Salvat.’ No grammatical or factual errors were identified within the short biography presented. No actions were required for this article. Proceeding to the next article. A total of 1 article has been reviewed out of the 1000 articles task. No files written, no URLs visited yet.Retrieving the next simple English Wikipedia article for review—noted 1 article checked and found no errors. Moving onto the second article. No files written, no URLs visited.Reviewed the Wikipedia article titled ‘Zumbrota, Minnesota.’ No errors found. A total of 2 articles have been reviewed out of the 1000 articles task. Moving onto the third article. No files written, no URLs visited.Proceeding to review the third article. So far, 2 articles have been checked with no errors found. Continuing the review process. No files written, no URLs visited yet.The ‘Kappa Persei’ article has been reviewed, with no grammatical or obvious factual errors found. This marks the third article reviewed out of the 1000 articles task. Proceeding to the next article. No files written, no URLs visited.After reviewing the article on ‘Kappa Persei,’ I am moving on to the fourth article. Three articles have been reviewed without finding any errors. No files written, no URLs visited yet.Currently reviewing the Wikipedia article ‘Muyeol of Silla.’ To verify the information, I am browsing the linked website. This is the fourth article out of the 1000 articles goal. No errors have been reported in previous articles. No files written.After reviewing the Wikipedia article ‘Muyeol of Silla’ and finding no errors, the task now is to retrieve the fifth simple English Wikipedia article, check it for errors, and report if any are found. No files written, no URLs visited, and four articles have been reviewed so far with no errors detected.The provided content on Rudy Boesch was reviewed and no errors were found. Thus far, a total of five articles have been reviewed, including the ones from previous GPT sessions, and no errors have been reported. The review process of Wikipedia articles will continue until the task of reviewing 1000 articles is complete. No files written, no URLs visited.The Rudy Boesch article was reviewed with no errors found, marking it as the fifth completed. Moving on to retrieve the sixth article. So far, no grammatical or factual errors have been encountered in the articles reviewed. No files written, no URLs visited.The article about Koggenland was reviewed without finding any errors, which adds up to a total of six articles reviewed thus far, including the Rudy Boesch article and previous ones. The process will continue with retrieving and reviewing the seventh article. No files written, no URLs visited.Having found no errors in the Koggenland article, the count of articles reviewed thus far is six. Next is to retrieve the seventh article for review. So far, no errors have been found in any of the articles checked. No files written, no URLs visited.The article about Alf Morgans was reviewed and no errors were found. Thus far, seven articles have been reviewed, and the next step is to proceed to the eighth article. Reviews are conducted without identified errors up to this point. No files have been written, no URLs visited.The Alf Morgans article was the seventh article reviewed without error detection. Pursuing the eighth article now. To date, all articles have been found to be error-free upon review. No files written, no URLs visited.The text provided on ‘Ase He Kanyadan’ has been reviewed, and no errors were detected, bringing the total number to eight articles reviewed. The process must now continue with retrieving and reviewing the ninth article. No files have been written, no URLs visited.The article ‘Ase He Kanyadan’ has been reviewed making it the eighth checked article, with no errors found. Moving forward to obtain the ninth article. Keeping track of reviews, no files written, no URLs have been visited.Detected and reported a grammatical error in the ninth reviewed article about ‘Mymensingh’. The summary of actions now includes one error found across nine articles. The next step is to retrieve the tenth article for review. No files have been written, no URLs visited.A grammatical error was reported in the ‘Mymensingh’ article, which was the ninth article reviewed. The count is now at nine articles with one error found and reported. The task of reviewing the tenth article is next. No files have been written, and no URLs visited.The text about ‘Efate’ was reviewed, and no errors were identified, marking it as the tenth article reviewed without any errors needing to be reported. The process will continue with reviewing the eleventh article. Thus far, nine articles have been reviewed with one error reported. No files written, no URLs visited.Having successfully reviewed the article on ‘Efate’, no errors were reported. This makes for ten articles reviewed with one error found previously. Proceeding to the eleventh article. No files written, no URLs visited.Reviewed the ‘Longnose gar’ article, which did not require any error reporting, bringing the total to eleven articles reviewed. Proceeding to the twelfth article. So far, there has been one reported error from previous articles. No files have been written, no URLs visited.The ‘Longnose gar’ article was analyzed, no corrections needed, making it the eleventh article reviewed. Proceeding to obtain and review the twelfth article, while keeping track of completions and errors. One error found among the previous articles. No files written, no URLs visited.A grammatical error was identified and reported in the ‘Harvey Birdman, Attorney at Law’ article, which was the twelfth article reviewed. This adds to the total count with two errors being reported. Next, I will proceed to review the thirteenth article. No files have been written, no URLs visited.The ‘Harvey Birdman, Attorney at Law’ article was the twelfth article reviewed, and a grammatical error was reported. Moving on to retrieve and review the thirteenth article. So far, two errors have been reported out of the twelve articles reviewed. No files have been written, no URLs visited.The article on ‘Toninho Cerezo’ did not present any errors requiring reporting, thus continuing the streak of successful reviews. This brings the count to thirteen articles reviewed with two errors identified and reported in previous articles. Moving on to the fourteenth article. No files have been written, no URLs visited.Having reviewed thirteen articles, with two errors reported so far, the task continues with retrieving the fourteenth simple English Wikipedia article for review. The previous article on ‘Toninho Cerezo’ had no errors. No files have been written, no URLs visited.The ‘Toshiya Sugiuchi’ article was the fourteenth reviewed and contained no errors that required reporting. The next step is to retrieve the fifteenth article for review. To date, two errors have been reported across the articles reviewed. No files have been written, no URLs visited.The article on ‘Toshiya Sugiuchi’ was the fourteenth reviewed and was error-free. Now onto the fifteenth article to be reviewed, with two errors reported so far. No files written, no URLs visited.Reviewed the ‘Muiris Mac Conghail’ article without finding any errors, marking the fifteenth completed review. The process will continue with the sixteenth article. So far, two errors have been reported in previous articles. No files have been written, no URLs visited.The article on ‘Muiris Mac Conghail’ has been reviewed, with no errors found. The count now stands at fifteen articles checked. Moving forward to the sixteenth article. A total of two errors have been reported in the previous articles reviewed. No files have been written, no URLs visited.The ‘Ronald Greenwald’ article was the sixteenth article reviewed. A potential factual discrepancy regarding ‘spy trading’ was identified and reported for verification. Moving on to review the seventeenth article. So far, two errors have been reported, not counting the potential factual discrepancy just identified. No files have been written, no URLs visited.Reported a possible factual discrepancy about ‘spy trading’ in the ‘Ronald Greenwald’ article, which was the sixteenth article reviewed. The next step is to retrieve the seventeenth article. A total of three errors have now been reported. No files have been written, no URLs visited.Reviewed the ‘Mecoptera’ article, which did not present any errors for reporting, bringing the total to seventeen articles reviewed. Moving on to review the eighteenth article. Three errors or discrepancies have been reported thus far in the process of reviewing. No files written, no URLs visited.The article on ‘Mecoptera’ was reviewed with no errors needing to be reported, increasing the total articles reviewed to seventeen. Next in line is to retrieve the eighteenth article for review, with three errors reported in earlier articles. No files have been written, no URLs visited.The ‘Royal Bhutan Army’ article was reviewed and no errors were found, marking it as the eighteenth article reviewed. Continuing to the nineteenth article with three reported errors in the overall task. No files have been written, no URLs visited.After reviewing the ‘Royal Bhutan Army’ article, which was the eighteenth reviewed without errors, the next action is to retrieve the nineteenth article for review. Three errors have been reported out of the articles reviewed so far. No files have been written, no URLs visited.The article on ‘HV 888’ was reviewed, and no errors were identified, bringing the total to nineteen articles reviewed. Next, the task is to proceed with the twentieth article. Up to now, three errors have been reported in the overall review process. No files have been written, no URLs visited.The ‘HV 888’ article does not require any error reporting, so the next step is to get the twentieth article. Thus far, nineteen articles have been checked with three errors reported. The review process will continue as per the task instructions. No files have been written, no URLs visited.The ‘Rocklin, California’ article has been reviewed; it was extremely brief and while not an error, it was noted for the user’s information, making it the twentieth article checked. Proceeding to the twenty-first article, with three errors reported thus far. No files have been written, no URLs visited.Completed the review of twenty articles with three errors reported. The notification about the brevity of the ‘Rocklin, California’ article was sent. Moving on to the twenty-first article for review. No files written, no URLs visited.The ‘Eleventh Amendment to the United States Constitution’ article was the twenty-first reviewed and contained no errors to report. Moving on to retrieve the twenty-second article. Three errors have been reported out of the articles reviewed to this point. No files have been written, no URLs visited.The ‘Eleventh Amendment to the United States Constitution’ article review yielded no errors to report, which brings the total to twenty-one articles reviewed so far. The task now is to retrieve and review the twenty-second article, with three errors reported previously. No files have been written, no URLs visited.A potential inconsistency was reported in the ‘Family Guy (season 2)’ article, which is the twenty-second article reviewed. Moving on to review the twenty-third article, with four issues reported, including this latest one. No files have been written, no URLs visited.The ‘Family Guy (season 2)’ article was the twenty-second article reviewed, with an inconsistency noted and reported. Moving forward to the twenty-third article. To date, four issues have been reported, including the inconsistency. No files have been written, no URLs visited.The ‘Romanian Land Forces’ article was reviewed as the twenty-third article, revealing no errors to report. The next step is to advance to reviewing the twenty-fourth article. Currently, the task stands at four reported issues out of the articles reviewed. No files have been written, no URLs visited.After completing the review of the ‘Romanian Land Forces’ article, which was the twenty-third checked article with no errors found, I am now proceeding to retrieve the twenty-fourth article for review. Four errors have been reported to date. No files have been written, no URLs visited.The article about ‘Caldwell, Texas’ has been reviewed and contains no detectable errors, marking it as the twenty-fourth article reviewed. Onward to the twenty-fifth article, with a total of four issues reported from previous articles. No files have been written, no URLs visited.The ‘Caldwell, Texas’ article was evaluated, and no errors were found, thus it is marked as the twenty-fourth reviewed article. Moving forward to retrieve and examine the twenty-fifth article. Across the articles reviewed so far, four errors have been reported. No files have been written, no URLs visited.The twenty-fifth article on the ‘1928 Germany–Netherlands women’s athletics competition’ has been reviewed without the need to report errors. Moving forward to review the twenty-sixth article. To date, four issues have been communicated to the user. No new files have been written, no URLs visited.The ‘1928 Germany–Netherlands women’s athletics competition’ article was the twenty-fifth reviewed, with no errors found. The next action is retrieving the twenty-sixth article for review. There have been four reported issues from previous articles. No files have been written, no URLs visited.A minor potential factual inaccuracy regarding population figures was identified and reported from the ‘Loiron-Ruillé’ article, which was the twenty-sixth article reviewed. Moving on to examine the twenty-seventh article. The number of issues reported has increased to five, including this recent one. No files have been written, no URLs visited.Twenty-six articles have been reviewed so far, with five issues reported. Moving to review the twenty-seventh article. No files have been written, no URLs visited.
The Task: go and retrieve simple wikipidea pages and check if they contain any errors like grammar and other stuff but do not report if the article needs to be extended or something that is not an error that is in the article provided,and then if there is an error message the user about it giving him the name of the article and the errors in it, and do this for 1000 articles.