Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gpt-engineer-org/gpt-engineer
Specify what you want it to build, the AI asks for clarification, and then builds it.
https://github.com/gpt-engineer-org/gpt-engineer
ai autonomous-agent code-generation codebase-generation codegen coding-assistant gpt-4 gpt-engineer openai python
Last synced: 19 days ago
JSON representation
Specify what you want it to build, the AI asks for clarification, and then builds it.
- Host: GitHub
- URL: https://github.com/gpt-engineer-org/gpt-engineer
- Owner: gpt-engineer-org
- License: mit
- Created: 2023-04-29T12:52:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-28T10:45:09.000Z (9 months ago)
- Last Synced: 2024-05-01T13:44:06.395Z (9 months ago)
- Topics: ai, autonomous-agent, code-generation, codebase-generation, codegen, coding-assistant, gpt-4, gpt-engineer, openai, python
- Language: Python
- Homepage:
- Size: 19.4 MB
- Stars: 50,570
- Watchers: 498
- Forks: 6,584
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Citation: citation.cff
- Codeowners: .github/CODEOWNERS
- Governance: GOVERNANCE.md
- Roadmap: ROADMAP.md
Awesome Lists containing this project
- awesome-generative-ai - GPT Engineer - Specify what you want it to build, the AI asks for clarification, and then builds it. (Agents / Autonomous agents)
- awesome-AI-driven-development - gpt-engineer - Specify what you want it to build, the AI asks for clarification, and then builds it. (Uncategorized / Uncategorized)
- awesome-repositories - gpt-engineer-org/gpt-engineer - Platform to experiment with the AI Software Engineer. Terminal based. NOTE: Very different from https://gptengineer.app (Python)
- awesome-ai-api-projects - gpt-engineer - commit/gpt-engineer-org/gpt-engineer?label=%20) | (AI Agent / Task)
- my-awesome-starred - gpt-engineer-org/gpt-engineer - Platform to experiment with the AI Software Engineer. Terminal based. NOTE: Very different from https://gptengineer.app (Python)
- project-awesome - gpt-engineer-org/gpt-engineer - Platform to experiment with the AI Software Engineer. Terminal based. NOTE: Very different from https://gptengineer.app (Python)
- starred - gpt-engineer-org/gpt-engineer - Specify what you want it to build, the AI asks for clarification, and then builds it. Completely separate team and codebase from the AI Web App builder https://gptengineer.app (Python)
- awesome-agents - gpt-engineer
- awesome-agents - gpt-engineer
- jimsghstars - gpt-engineer-org/gpt-engineer - Platform to experiment with the AI Software Engineer. Terminal based. NOTE: Very different from https://gptengineer.app (Python)
- awesome - gpt-engineer-org/gpt-engineer - Platform to experiment with the AI Software Engineer. Terminal based. NOTE: Very different from https://gptengineer.app (Python)
- awesome-llm-zh - gpt-engineer - engineer 是一个**利用大语言模型(GPT)来自动编写和执行代码的工具**。用户只需要用自然语言描述想要的软件功能,GPT-engineer 就能够自动编写代码并执行,甚至还可以根据用户的需求对代码进行改进。 | (ChatGPT 开发 / Github 热门项目(10k+))
- awesome-ChatGPT-repositories - gpt-engineer - Platform to experiment with the AI Software Engineer. Terminal based. NOTE: Very different from https://gptengineer.app (CLIs)
- awesome_ai_agents - GPT Engineer - GPT-Engineer is an AI-powered tool allowing users to specify software in natural language, automatically generating and executing code, with options for improvement suggestions, and fostering collaboration within the open-source community [github](https://github.com/gpt-engineer-org/gpt-engineer) | [github profile](https://github.com/gpt-engineer-org) | [website](https://gptengineer.app) (Learning / Repositories)
- awesome-software-composers - GPT Engineer - `[Open Source]` Platform to experiment with the AI Software Engineer. Terminal based. (Tools / All tools by category)
- awesome-software-composers - GPT Engineer - `[Open Source]` Platform to experiment with the AI Software Engineer. Terminal based. (Tools / All tools by category)
- AiTreasureBox - gpt-engineer-org/gpt-engineer - 01-07_52794_5](https://img.shields.io/github/stars/gpt-engineer-org/gpt-engineer.svg)|Specify what you want it to build, the AI asks for clarification, and then builds it.| (Repos)
README
# gpt-engineer
[![GitHub Repo stars](https://img.shields.io/github/stars/gpt-engineer-org/gpt-engineer?style=social)](https://github.com/gpt-engineer-org/gpt-engineer)
[![Discord Follow](https://dcbadge.vercel.app/api/server/8tcDQ89Ej2?style=flat)](https://discord.gg/8tcDQ89Ej2)
[![License](https://img.shields.io/github/license/gpt-engineer-org/gpt-engineer)](https://github.com/gpt-engineer-org/gpt-engineer/blob/main/LICENSE)
[![GitHub Issues or Pull Requests](https://img.shields.io/github/issues/gpt-engineer-org/gpt-engineer)](https://github.com/gpt-engineer-org/gpt-engineer/issues)
![GitHub Release](https://img.shields.io/github/v/release/gpt-engineer-org/gpt-engineer)
[![Twitter Follow](https://img.shields.io/twitter/follow/antonosika?style=social)](https://twitter.com/antonosika)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 environmentWe actively support Python 3.10 - 3.12. The last version to support Python 3.8 - 3.9 was [0.2.6](https://pypi.org/project/gpt-engineer/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 OPENAI_API_KEY in .env
- Custom model:
- See [docs](https://gpt-engineer.readthedocs.io/en/latest/open_models.html), supports local model, azure, etc.Check the [Windows README](./WINDOWS_README.md) for Windows usage.
**Other ways to run:**
- Use Docker ([instructions](docker/README.md))
- Do everything in your browser:
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://github.com/gpt-engineer-org/gpt-engineer/codespaces)### 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 ` with a relative path to your folder
- For example: `gpte projects/my-new-project` from the gpt-engineer directory root with your new folder in `projects/`### 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 -i` with a relative path to your folder
- For example: `gpte projects/my-old-project -i` from the gpt-engineer directory root with your folder in `projects/`### 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](https://github.com/gpt-engineer-org/gpte-bench-template) repo, which contains detailed instructions and an agent template.
- Currently supported benchmark:
- [APPS](https://github.com/hendrycks/apps)
- [MBPP](https://github.com/google-research/google-research/tree/master/mbpp)The community has started work with different benchmarking initiatives, as described in [this Loom](https://www.loom.com/share/206805143fbb4302b5455a5329eaab17?sid=f689608f-8e49-44f7-b55f-4c81e9dc93e6) video.
### Research
Some of our community members have worked on different research briefs that could be taken further. See [this document](https://docs.google.com/document/d/1qmOj2DvdPc6syIAm8iISZFpfik26BYw7ZziD5c-9G0E/edit?usp=sharing) if you are interested.## Terms
By running gpt-engineer, you agree to our [terms](https://github.com/gpt-engineer-org/gpt-engineer/blob/main/TERMS_OF_USE.md).## Relation to gptengineer.app (GPT Engineer)
[gptengineer.app](https://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](https://gpt-engineer.readthedocs.io/en/latest/open_models.html) 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](https://github.com/gpt-engineer-org/gpt-engineer/blob/main/ROADMAP.md), and join
[discord](https://discord.gg/8tcDQ89Ej2)
to learn how you can [contribute](.github/CONTRIBUTING.md) to it.gpt-engineer is [governed](https://github.com/gpt-engineer-org/gpt-engineer/blob/main/GOVERNANCE.md) 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