GPT Engineer
Type: full-code · Vendor: Anton Osika / community · Language: Python · License: MIT · Status: abandoned · Status in practice: deprecated · First released: 2023-04-30
Early spec-first code-generation CLI: the user writes a natural-language prompt file describing the software, gpte generates the project end-to-end, and -i mode iterates on improvements.
Description. GPT Engineer was one of the original LLM coding agents — a Python CLI that turned a `prompt` file into a generated codebase, with an improvement loop via `gpte <project> -i`. The repo was archived by the owner on 2026-04-22 and explicitly redirects users to aider or to its commercial successor Lovable. Historically significant as the prototypical spec-first single-shot generator: drop in a prompt, watch the AI write and execute the project, then iterate.
Agent loop shape. Spec-first one-shot generation followed by optional improvement passes. Phase 1: read the prompt file, generate the project, execute. Phase 2 (-i): take an existing codebase, ask the model for improvements, apply, repeat. Minimal tool-use surface compared to modern agents — the loop is generate → write files → execute, not a multi-tool ReAct loop.
Primary use cases
- single-shot project generation from a prompt file
- iterative improvement of a generated project via -i flag
- experimenting with pre-prompts and custom agents via the benchmark harness
Key concepts
- Spec file (prompt) → spec-first-agent (docs) — Plain-text natural-language specification of the desired software.
- Improve mode (-i) → spec-driven-loop — Ask the AI to improve an existing project.
- Pre Prompts — Customise agent behaviour via --use-custom-preprompts.
- bench — Benchmark harness for evaluating custom agents.
Patterns this full-code implements —
- ★Code-as-Action Agent
Output of each call is whole files / patches written to disk — the model's emitted code is the action. AI writes and executes the code.
- ★Spec-Driven Loop
Improve mode (gpte -i) iterates on the spec/code until the user is satisfied; the natural-language specification drives the build loop.
- ★Spec-First Agent
The whole product is built around a prompt file describing the software.
- ★★ReAct
Honest downgrade — the loop is generate/execute/improve, not a tool-call ReAct loop. No verbatim names ReAct.
Neighbourhood
Click any neighbour to follow the lineage. Scroll to zoom, drag to pan.