๐ค AI-powered code generation tool for scratch development of web applications with a team collaboration of autonomous AI agents.
AI-powered code generation tool for scratch development of web applications with a team collaboration of autonomous AI agents. This is a research-project, and its primary value is to explore the possibility of autonomous AI agents.
Table of contents
- For User - For Developer - โฑ๏ธ Pomodoro Timer๐ Concept
- Build Team, Build App: Simply organize your team and decide on what to build.
- AI Agent Collaboration: Assemble a group of AI agents and work together to carry out the steps.
๐ณ Getting Started
For User
- Installation
$ pip install gpt-all-star
- Set the
GPT ALL STARenvironment variables
$ export OPENAIAPIMODEL=gpt-4o
$ export OPENAIAPIKEY=<your-openai-api-key>
- Fun
GPT ALL STAR
$ gpt-all-star
For Developer
:bulb: While it's entirely feasible to launch the application on your local machine directly, we strongly recommend using Docker for starting up the application.
- Clone the repository
$ git clone git@github.com:kyaukyuai/gpt-all-star.git
- Edit the
.envfile
$ mv .env.sample .env
# OPENAI or AZURE or ANTHROPIC
ENDPOINT=OPENAI
USE when ENDPOINT=OPENAI
OPENAIAPIMODEL=gpt-4o
OPENAIAPIKEY=<your-openai-api-key>
USE when ENDPOINT=AZURE
AZUREOPENAIAPI_KEY=<your-azure-openai-api-key>
AZUREOPENAIAPI_VERSION=2024-05-01-preview
AZUREOPENAIAPI_MODEL=<your-azure-openai-api-model>
AZUREOPENAIDEPLOYMENT_NAME=<your-azure-openai-deployment-name>
AZUREOPENAIENDPOINT=https://<your-azure-openai-endpoint>.openai.azure.com/
USE when ENDPOINT=ANTHROPIC
ANTHROPICAPIKEY=<your-anthropic-api-key>
ANTHROPIC_MODEL=<your-anthropic-model-name>
LangSmith
LANGCHAINTRACINGV2=true
LANGCHAIN_ENDPOINT=https://api.smith.langchain.com
LANGCHAINAPIKEY=<your-langchain-api-key>
LANGCHAIN_PROJECT=<your-langchain-project>
This is an environment variable to use if you want to manage the code you want to generate with gpt-all-star on GitHub.
GITHUB_ORG=<your-github-org>
GITHUB_TOKEN=<your-github-token>
- Run
docker compose buildanddocker compose up
$ make build
$ make up
- Open the web terminal
port 7681
- Install dependencies
$ poetry install
- Start
GPT ALL STAR
$ poetry run gpt-all-star
$ poetry run gpt-all-star --help
Usage: gpt-all-star [OPTIONS]
โญโ Options โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ โ --step -s [none|default|build|specification|system_design|development Step to be performed [default: StepType.DEFAULT] โ โ |entrypoint|ui_design|healing] โ โ --project_name -p TEXT Project name [default: None] โ โ --japanese_mode -j Japanese mode โ โ --review_mode -r Review mode โ โ --debug_mode -d Debug mode โ โ --planandsolve Plan-and-Solve Prompting โ โ --install-completion [bash|zsh|fish|powershell|pwsh] Install completion for the specified shell. [default: None] โ โ --show-completion [bash|zsh|fish|powershell|pwsh] Show completion for the specified shell, to copy it or โ โ customize the installation. โ โ [default: None] โ โ --help Show this message and exit. โ โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
- Edit the team members
gptallstar/agents.yml file.
๐ด Current Situation
This is a research project and the main focus is currently on validating Client Web Applications in React and ChakraUI using JavaScript. We would like to test other languages and libraries as well and welcome contributions.
๐งโ๐ป๏ธ UI Project
gpt-all-star-ui is a web application that uses gpt-all-star as a backend. It's a simple web application that allows you to use gpt-all-star as a service.
๐ Examples
โฑ๏ธ Pomodoro Timer
- ๐ฌ Instruction:
Pomodoro Timer fully designed by human interface guideline - ๐ป๏ธ GitHub
๐ป Contribution
GPT ALL STAR is open-source and we welcome contributions. If you're looking to contribute, please:
- Fork the repository.
- Create a new branch for your feature.
- Add your feature or improvement.
- Send a pull request.
- We appreciate your input!
poetry lock
poetry install
Virtual Env
poetry shell
Pre-commit hooks
pre-commit install
Packaging
poetry build
Installing Locally
pip install dist/*.tar.gz