What it does
"Prompt engineering" means learning how to word your requests to an AI model so you get better answers. This guide collects lessons, examples, research papers and tools on the topic.
It starts with the basics, such as what a prompt is made of and general tips, then moves on to named techniques like giving examples, asking the AI to reason step by step, and connecting the AI to outside documents. It also covers uses such as generating code or data.
The guide is available as a website in many languages. The same team also sells paid courses, which are separate from this free material.
Who it's for
Anyone who uses AI chatbots and wants better results, plus developers building with AI models.
Can I use it without coding?
Yes. You can read it all on the website. Some notebooks need Python if you want to run the examples. New to this? Start here.
Can I run it?
- Cost
- FreeNothing to pay or sign up for.
- Runs on
- Web browser
- Computer
- An ordinary computer is fine
- API key
- Not needed
Try it
- Open the web version of the guide in your browser.
- Start with the introduction and basics of prompting, then try the techniques.
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?
Before you install
- Only download from the official GitHub page. Copies with similar names exist for many popular projects.
- License (MIT): Very permissive: free to use, change and share, including for business.
- More on staying safe
Where people are talking about it
- Prompt Engineering Guide: Guides, papers, and resources for prompt engineeringHacker News · Feb 2023