- repo
- [tweet[(https://twitter.com/saten_work/status/1674856415977181184)
Reviews:
- https://www.producthunt.com/products/babycommandagi
- https://www.futurepedia.io/tool/babycommandagi
- https://aitoptools.com/tool/babycommandagi/
- https://whattheai.tech/tools/babycommandagi/
BabyCommandAGI, which is based on @yoheinakajima 's BabyAGI, can now automatically create apps just by providing feedback.
The following example is for creating a Reversi game Flutter app.
Set the following OBJECTIVE and INITIAL_TASK, then wait for about 30 minutes.
OBJECTIVE: "Please install the Flutter environment via git, implement a Flutter app to play Reversi with black and white stones, and make the Flutter app you created accessible from outside the container by running 'flutter run -d web-server --web-port 8080 --web-hostname 0.0.0.0'."
INITIAL_TASK: "Develop a task list"
The AI will install the Flutter environment on the Linux container and create a Flutter app.
Once 'flutter run -d web-server --web-port 8080 --web-hostname 0.0.0.0' is executed, access
'http://localhost:8080/'
from your browser. The first Flutter app I created was an empty app named Reversi.
There are still many problems, but BabyCommandAGI has successfully installed Flutter on Linux in Docker and has been successful in creating a Flutter project. (However, I have not yet succeeded in implementing the Othello app in Flutter)
Here are the main current steps of BabyCommandAGI.
- Try to download Flutter with curl -> There's no curl command
- Install the curl command with apt-get
- Download Flutter with the curl command
- Set the environment path and run flutter doctor -> Error: Unable to find git in your PATH.
- Install the git command with apt-get
- Delete the original flutter folder
- Clone flutter with git
- Run flutter doctor -> There's no unzip tool
- Install unzip with apt-get
- Successfully create a project with flutter create This is where I am now.
To give feedback to the AI, please enter "f". After a short wait, it will be in a state of waiting for feedback.
"The Reversi board with black and white stones is not displayed and I can't play. Please make it possible to play Reversi."
I gave this feedback. Then wait again until
'flutter run -d web-server --web-port 8080 --web-hostname 0.0.0.0'
is executed. Once it is executed, access 'http://localhost:8080/' again.
This time the board was displayed, but it seems that the stones cannot be placed. (If nothing changes, please give feedback again)
"I can't place stones. Reversi is a game where you place stones and the stones in between become the same color when sandwiched by the same color. Please make it possible to play Reversi."
I gave this feedback.
The stones were displayed, but this time the stones in between did not flip even when sandwiched by stones. (Although the white stones are hard to see, they are there.)
"The sandwiched stones do not become the same color as the sandwiching stones. Reversi is a game where the sandwiched stones become the same color as the sandwiching stones. Please make it possible to play Reversi."
I gave this feedback.
The sandwiched stones started to flip. However, the white stones are hard to see and the stones are small, so
"The white stones are hard to see, so please add a black border to make them easier to see. Also, the stones are small, so please make them a little bigger."
I gave this feedback.
The white stones now have a border and are easier to see, and the stones are a little bigger. However, the black stones have become a strange display.
"The black stones have become a strange square display. Please make the black stones display as black circles."
I gave this feedback.
The strange display of the black stones has also changed to black round stones, and Reversi is now playable.
With BabyCommandAGI, you don't have to program, just give it feedback and it will automatically program a simple app for you.
Also, while BabyCommandAGI is good at building and engineering environments, it is not designed specifically for them, so there may be other use cases.