Skip to main content

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.

Project description

gpt-all-star

PyPI License: MIT

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.

gpt-all-star-demo

Table of contents

๐Ÿ› 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.
    1. Choose the right ๏ฝŒeader for each step.
    2. Leaders create a plan of action for each step.
    3. Work with team members to complete every task in the action plan.

gpt-all-star-concept

๐Ÿณ Getting Started

For User

  1. Installation
$ pip install gpt-all-star
  1. Set the GPT ALL STAR environment variables
$ export OPENAI_API_MODEL_NAME=gpt-4-turbo-preview
$ export OPENAI_API_KEY=<your-openai-api-key>
  1. 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.

  1. Clone the repository
$ git clone git@github.com:kyaukyuai/gpt-all-star.git
  1. Edit the .env file
$ mv .env.sample .env
# OPENAI or AZURE
ENDPOINT=OPENAI

# USE when ENDPOINT=OPENAI
OPENAI_API_MODEL_NAME=gpt-4-1106-preview
OPENAI_API_KEY=<your-openai-api-key>

# USE when ENDPOINT=AZURE
AZURE_OPENAI_API_KEY=<your-azure-opnai-api-key>
AZURE_OPENAI_ENDPOINT=https://<your-azure-openai-endpoint>.openai.azure.com/
AZURE_OPENAI_DEPLOYMENT_NAME=<your-azure-openai-deployment-name>

# LangSmith
LANGCHAIN_TRACING_V2=true
LANGCHAIN_ENDPOINT=https://api.smith.langchain.com
LANGCHAIN_API_KEY=<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>
  1. Run docker compose build and docker compose up
$ make build
$ make up
  1. Open the web terminal port 7681

Open: http://localhost:7681

  1. Install dependencies
$ poetry install
  1. 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|improvement|healing]                                                                               โ”‚
โ”‚ --project_name        -p      TEXT                                                         Project name [default: None]                                โ”‚
โ”‚ --japanese_mode       -j                                                                   Japanese mode                                               โ”‚
โ”‚ --review_mode         -r                                                                   Review mode                                                 โ”‚
โ”‚ --debug_mode          -d                                                                   Debug mode                                                  โ”‚
โ”‚ --plan_and_solve                                                                           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.                                 โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
  1. Edit the team members

If you want to change the team members, edit the gpt_all_star/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.

๐Ÿ”Ž Examples

โฑ๏ธ Pomodoro Timer

  • ๐Ÿ’ฌ Instruction: Pomodoro Timer fully designed by human interface guideline
  • ๐Ÿ’ป๏ธ GitHub

Export-1707059574807

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gpt_all_star-0.0.6.tar.gz (35.0 kB view details)

Uploaded Source

File details

Details for the file gpt_all_star-0.0.6.tar.gz.

File metadata

  • Download URL: gpt_all_star-0.0.6.tar.gz
  • Upload date:
  • Size: 35.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for gpt_all_star-0.0.6.tar.gz
Algorithm Hash digest
SHA256 4fe47336ee63f45a21c1b29c9a25742b364e34abc9e0c51aa6024c31f15c86b9
MD5 eeb254a5985da6d9e94a82a37fa10fca
BLAKE2b-256 0e9bd6f5f73ca75d0dd6de2ac59bb3992b992f652b2a1f6a79181d6b527c3c01

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page