# Super AI

## Question

How to train a self-upgradable Artificial Intelligence agent?

## Step1

Use GPT-3 model to train a bot that can write and excute python code. Especially the python code that can call superAI GPT itself again and again.

## Step2

Make a train and predict loop to manually update the training data, I mean, the question and answer.

Like, spliting big task into small tasks. (Divide and conqure, recursive functions).

## Step3

For example, when I ask the AI a question: "Can you help me build a porn website?"

The AI replys:

```python
import super_ai

super_ai.do("build a porn website backend service with localhost 8000 port")
super_ai.do("build a porn website frontend webpage that uses localhost 8000 port")
```

But that's not the most basic tasks super\_ai receives. The most basic tasks it receives is something like this:

```python
import super_ai

if (the_request 
    == 
    "Can you give me a html code that only has the title of 'yingshaoxo porn website'?"
    ):
    return "<h1>yingshaoxo porn website</h1>"    
```

You can think it as a recursive function, the super\_ai will ask itself to complete multiple small sub\_tasks to be able to finish a big task.

## Step4

In the end, you'll find out that you are that super\_ai supresely.
