gpt-engineer
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.2%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: POC-2025
- License: mit
- Language: Python
- Default Branch: main
- Size: 14.9 MB
Statistics
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
gpt-engineer
The OG code genereation experimentation platform!
If you are looking for the evolution that is an opinionated, managed service – check out gptengineer.app.
If you are looking for a well maintained hackable CLI for – check out aider.
gpt-engineer lets you: - Specify software in natural language - Sit back and watch as an AI writes and executes the code - Ask the AI to implement improvements
Getting Started
Install gpt-engineer
For stable release:
python -m pip install gpt-engineer
For development:
- git clone https://github.com/gpt-engineer-org/gpt-engineer.git
- cd gpt-engineer
- poetry install
- poetry shell to activate the virtual environment
We actively support Python 3.10 - 3.12. The last version to support Python 3.8 - 3.9 was 0.2.6.
Setup API key
Choose one of:
- Export env variable (you can add this to .bashrc so that you don't have to do it each time you start the terminal)
- export OPENAI_API_KEY=[your api key]
- .env file:
- Create a copy of .env.template named .env
- Add your OPENAIAPIKEY in .env
- Custom model:
- See docs, supports local model, azure, etc.
Check the Windows README for Windows usage.
Other ways to run:
- Use Docker (instructions)
- Do everything in your browser:
Create new code (default usage)
- Create an empty folder for your project anywhere on your computer
- Create a file called
prompt(no extension) inside your new folder and fill it with instructions - Run
gpte <project_dir>with a relative path to your folder- For example:
gpte projects/my-new-projectfrom the gpt-engineer directory root with your new folder inprojects/
- For example:
Improve existing code
- Locate a folder with code which you want to improve anywhere on your computer
- Create a file called
prompt(no extension) inside your new folder and fill it with instructions for how you want to improve the code - Run
gpte <project_dir> -iwith a relative path to your folder- For example:
gpte projects/my-old-project -ifrom the gpt-engineer directory root with your folder inprojects/
- For example:
Benchmark custom agents
- gpt-engineer installs the binary 'bench', which gives you a simple interface for benchmarking your own agent implementations against popular public datasets.
- The easiest way to get started with benchmarking is by checking out the template repo, which contains detailed instructions and an agent template.
- Currently supported benchmark:
The community has started work with different benchmarking initiatives, as described in this Loom video.
Research
Some of our community members have worked on different research briefs that could be taken further. See this document if you are interested.
Terms
By running gpt-engineer, you agree to our terms.
Relation to gptengineer.app (GPT Engineer)
gptengineer.app is a commercial project for the automatic generation of web apps. It features a UI for non-technical users connected to a git-controlled codebase. The gptengineer.app team is actively supporting the open source community.
Features
Pre Prompts
You can specify the "identity" of the AI agent by overriding the preprompts folder with your own version of the preprompts. You can do so via the --use-custom-preprompts argument.
Editing the preprompts is how you make the agent remember things between projects.
Vision
By default, gpt-engineer expects text input via a prompt file. It can also accept image inputs for vision-capable models. This can be useful for adding UX or architecture diagrams as additional context for GPT Engineer. You can do this by specifying an image directory with the —-image_directory flag and setting a vision-capable model in the second CLI argument.
E.g. gpte projects/example-vision gpt-4-vision-preview --prompt_file prompt/text --image_directory prompt/images -i
Open source, local and alternative models
By default, gpt-engineer supports OpenAI Models via the OpenAI API or Azure OpenAI API, as well as Anthropic models.
With a little extra setup, you can also run with open source models like WizardCoder. See the documentation for example instructions.
Mission
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 learn 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.
Significant contributors
Example
https://github.com/gpt-engineer-org/gpt-engineer/assets/4467025/40d0a9a8-82d0-4432-9376-136df0d57c99
Owner
- Name: POC-2025
- Login: POC-2025
- Kind: organization
- Repositories: 1
- Profile: https://github.com/POC-2025
Citation (citation.cff)
cff-version: 1.0.0
message: "If you use this software, please cite it as below."
authors:
- family-names: Osika
given-names: Anton
title: gpt-engineer
version: 0.1.0
date-released: 2023-04-23
repository-code: https://github.com/gpt-engineer-org/gpt-engineer
url: https://gpt-engineer.readthedocs.io
GitHub Events
Total
- Issue comment event: 1
- Pull request review event: 7
- Pull request review comment event: 3
- Pull request event: 1
- Create event: 3
Last Year
- Issue comment event: 1
- Pull request review event: 7
- Pull request review comment event: 3
- Pull request event: 1
- Create event: 3
Dependencies
- python 3.11-slim build
- gpt-engineer latest
- 189 dependencies
- keyboard ==0.13.5
- mypy 1.3.0 develop
- pre-commit 3.3.3 develop
- pytest >=7.3.1 develop
- pytest-cov ^4.1.0 develop
- ruff >=0.0.272 develop
- tox >=3.0.0 develop
- autodoc_pydantic >=1.8.0 docs
- linkchecker >=10.2.1 docs
- markdown-include >=0.6.0 docs
- myst-nb >=0.17.1 docs
- myst_parser >=0.18.1 docs
- nbsphinx >=0.8.9 docs
- sphinx >=5.0.0 docs
- sphinx-autobuild >=2021.3.14 docs
- sphinx-copybutton >=0.5.1 docs
- sphinx-typlog-theme >=0.8.0 docs
- sphinx_book_theme >=0.3.3 docs
- sphinx_copybutton >=0.5.2 docs
- sphinx_rtd_theme >=1.0.0 docs
- toml >=0.10.2 docs
- black 23.3.0
- dataclasses-json 0.5.7
- datasets ^2.17.1
- langchain >=0.1.2
- langchain-anthropic ^0.1.1
- langchain-community ^0.2.0
- langchain_openai *
- openai ^1.0
- pillow ^10.2.0
- pyperclip ^1.8.2
- python >=3.10,<3.13
- python-dotenv >=0.21.0
- regex ^2023.12.25
- rudder-sdk-python >=2.0.2
- tabulate 0.9.0
- termcolor 2.3.0
- tiktoken >=0.0.4
- toml >=0.10.2
- tomlkit ^0.12.4
- typer >=0.3.2