AI codingMITPythonArchived

gpt-engineer

CLI that generates and improves whole codebases from a prompt.

Stars
54.9K
Forks
7.3K
Open issues
70
Last commit
2025-05-14

Live from the GitHub API · updated 2026-11-30

What is gpt-engineer?

gpt-engineer was one of the first tools to generate a complete project from a natural-language spec. You write a prompt file, the agent writes the code, and an improve mode edits existing code. It remains a simple, hackable reference for code-generation agents.

Key features

  • Generate a project from a prompt file
  • Improve mode for existing code
  • Works with OpenAI, Anthropic and local models
  • Benchmarking tools

System requirements

Platforms
Windows · macOS · Linux · Docker
Python
3.10–3.12

How to install gpt-engineer

Summarized from the project’s README. Projects change quickly — check the GitHub page for the latest instructions.

pip

  1. 1
    Install and set OPENAI_API_KEY.
    pip install gpt-engineer
  2. 2
    Create a folder with a file named prompt, then run.
    gpte projects/my-new-project

Strengths

  • Very simple workflow
  • MIT license

Limitations

  • Less capable than newer agentic tools

gpt-engineer alternatives compared

SoftwareStarsLicensePlatformsVRAM
gpt-engineer

CLI that generates and improves whole codebases from a prompt.

54.9KMIT—
Aider

AI pair programming in your terminal, with automatic git commits.

50.3KApache-2.0—
MetaGPT

Multi-agent framework that simulates a software company.

71.5KMIT—
bolt.diy

Open-source Bolt.new: prompt, run and deploy full-stack web apps in the browser.

20.2KMIT—
OpenHands

Open platform for autonomous software development agents.

94.6KMIT—
Continue

Open-source AI code assistant for VS Code and JetBrains.

36.6KApache-2.0—

FAQ

Is gpt-engineer free?

Yes — gpt-engineer is open-source software released under the MIT license. Check the license (and any model weight licenses) before commercial use.

Does gpt-engineer run on Windows, Mac and Linux?

gpt-engineer supports: Windows, macOS, Linux, Docker.

How do I install gpt-engineer?

1. Install and set OPENAI_API_KEY. 2. Create a folder with a file named prompt, then run.

What are the best gpt-engineer alternatives?

Popular alternatives include Aider, MetaGPT, bolt.diy, OpenHands. See the comparison table on this page.