Skip to content
yxwan123Public

About

Generating Full-Stack Web Applications from Requirements Via Multi-Agent Test-Driven Development

Resources

Stars

13 stars

Watchers

0 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

Repository files navigation

Automatically Generating Web Applications from Requirements Via Multi-Agent Test-Driven Development

 

Deprecated

This repo is deprecated; please visit the latest repo here

Setup and Installation

Note: macOS is currently the only supported OS.

  1. Clone the repository

  2. Create a conda environment and install Python dependencies:

    conda create -n TDD python=3.12.11
    conda activate TDD
    pip install -r requirements.txt
  3. Install Playwright:

    playwright install chromium --with-deps
  4. Install Node.js

    1. Visit the Node.js Download Page
    2. Download the "LTS" (Long Term Support) version
    3. Run the installer, accepting the default settings
    4. Verify Node.js is properly installed:
      1. Open Terminal
      2. Type this command:
        echo $PATH
      3. Look for /usr/local/bin in the output
  5. Install Package Manager (pnpm):

    cd bolt.diy
    npm install -g pnpm

    If you some permission errors on this step, you may try sudo:

    cd bolt.diy
    sudo npm install -g pnpm
  6. Install Project Dependencies:

    pnpm install

Configuring API Keys and Providers

Set API keys and base URLs in the bolt.diy/.env.local file.

  • If you want to use ChatGPT-4.1, you need to set the following environment variables: OPENAI_API_KEY
  • If you want to use Claude-4-Sonnet, you need to set the following environment variables: ANTHROPIC_API_KEY
  • If you want to use Qwen2.5-VL or Deepseek-V3.1, you need to set the following environment variables: TOGETHER_API_BASE_URL,TOGETHER_API_KEY

Start the Application

  1. Start the development agent server:

    cd bolt.diy
    pnpm run dev
    • Open the application by accessing the URL shown in the terminal with a local browser
    • It's strongly suggested to use Google Chrome Canary to access the application.
    • You must keep the browser window open throughout development.
    • Refresh if you encounter a blank page.
  2. Start the client:

    cd ../client
    python app.py

    Then, access the client webpage with your browser by accessing the URL shown in the terminal.

About

Generating Full-Stack Web Applications from Requirements Via Multi-Agent Test-Driven Development

Resources

Stars

13 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages