gpt-engineer-org / gpt-engineer
- четверг, 21 декабря 2023 г. в 00:00:04
Specify what you want it to build, the AI asks for clarification, and then builds it.
GPT-engineer lets you:
For stable release:
python -m pip install gpt-engineer
For development:
git clone https://github.com/AntonOsika/gpt-engineer.git
cd gpt-engineer
poetry install
poetry shell
to activate the virtual environmentWe actively support Python 3.10 - 3.11.
Choose one of:
export OPENAI_API_KEY=[your api key]
.env.template
named .env
Check the Windows README for windows usage.
Other ways to run:
prompt
(no extension) inside your new folder and fill it with instructionsgpte <project_dir>
with a relative path to your folder
gpte projects/my-new-project
from the gpt-engineer directory root with your new folder in projects/
prompt
(no extension) inside your new folder and fill it with instructions for how you want to improve the codegpte <project_dir> -i
with a relative path to your folder
gpte projects/my-old-project
from the gpt-engineer directory root with your folder in projects/
By running gpt-engineer you agree to our terms.
gpte
is recommended for better user experience. However, the earlier default commands gpt-engineer
and ge
are also supported.gptengineer.app is a commercial project for automatic generation of web-apps. It emerged from gpt-engineer and is committed to giving back to the open source community. A portion of gptengineer.app’s revenue will fund a full-time role and infrastructure for maintaining open-source tools for code generation.
You can specify the "identity" of the AI agent by editing the files in the preprompts
folder.
Editing the preprompts
, and evolving how you write the project prompt, is how you make the agent remember things between projects.
You can also automatically copy all preprompts
files into your project folder using the cli parameter --use-custom-prepompts
. This way you can have custom preprompts for all of your projects without the need to edit the main files.
You can also run with open source models, like WizardCoder. See the documentation for example instructions.
The gpt-engineer community mission is to maintain tools that coding agent builders can use and facilitate collaboration in the open source community.
If you are interested in contributing to this, we are interested in having you.
If you want to see our broader ambitions, check out the roadmap, and join discord to get input on how you can contribute to it.
gpt-engineer is governed by a board of long term contributors. If you contribute routinely and have an interest in shaping the future of gpt-engineer, you will be considered for the board.