Site icon Coding is Love

Experience this AI-Powered library that generates your complete Code Base!

How to build an entire project using AI in minutes? Use this open-source library named gpt-engineer šŸ¤–

How does GPT engineer work?

gpt-engineer is very easy to use. You give instructions on what you want to build. AI analyzes it, asks you for a few more questions for clarification, and then generates a codebase. You can also incrementally build it and improve it by giving more prompts.

Hereā€™s a demo where we build a snake game using gpt-engineer:

https://github.com/AntonOsika/gpt-engineer/assets/4467025/6e362e45-4a94-4b0d-973d-393a31d92d9b

Core features

Project philosophy

Usage

Choose eitherĀ stableĀ orĀ development.

ForĀ stableĀ release:

ForĀ development:

Setup

With an api key that has GPT4 access run:

Run:

Results

Limitations

Implementing additional chain of thought prompting, e.g.Ā Reflexion, should be able to make it more reliable and not miss requested functionality in the main prompt.

Sharing prompts across the projects

You can specify the ā€œidentityā€ of the AI agent by editing the files in theĀ identityĀ folder.

Editing the identity, and evolving theĀ main_prompt, is currently how you make the agent remember things between projects.

Each step inĀ steps.pyĀ will have its communication history with GPT4 stored in the logs folder, and can be rerun withĀ scripts/rerun_edited_message_logs.py.

Road map

Next, Make it bootstrap. Which means: A ā€œgpt engineerā€ prompt should generate all functionality of the gpt-engineer repo itself.

Also read, Build AI-powered apps quickly using this framework by Vercel

Exit mobile version