#3838th of 65 in Learning and cookbooks

prompt-engineering-guide

Written guide to prompt engineering techniques, with papers, notebooks and example prompts

Stars
79.7k
License
MIT
Last commit
Mar 2026
Language
MDX
Stars, last 29 weeks+7,369
10 Apr 2026: 72,361 stars17 Apr 2026: 72,701 stars24 Apr 2026: 73,051 stars1 May 2026: 73,388 stars8 May 2026: 73,673 stars15 May 2026: 73,962 stars22 May 2026: 74,238 stars29 May 2026: 74,470 stars5 Jun 2026: 74,776 stars12 Jun 2026: 75,045 stars19 Jun 2026: 75,264 stars26 Jun 2026: 75,535 stars3 Jul 2026: 75,733 stars10 Jul 2026: 75,912 stars17 Jul 2026: 76,277 stars24 Jul 2026: 76,519 stars31 Jul 2026: 76,818 stars7 Aug 2026: 77,021 stars14 Aug 2026: 77,196 stars21 Aug 2026: 77,421 stars28 Aug 2026: 77,643 stars4 Sept 2026: 77,821 stars11 Sept 2026: 78,048 stars18 Sept 2026: 78,312 stars25 Sept 2026: 78,515 stars2 Oct 2026: 78,708 stars9 Oct 2026: 78,911 stars16 Oct 2026: 79,217 stars23 Oct 2026: 79,490 stars30 Oct 2026: 79,730 stars

72,361 on 10 Apr 202679,730 on 30 Oct 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

A documentation site and source repository covering prompting techniques (zero-shot, few-shot, chain-of-thought, ReAct, RAG), applications such as function calling and data generation, and model-specific notes. It also links to papers, datasets, a one-hour lecture and a Jupyter notebook. The site is built with Nextra and runs locally with Node 18+ and pnpm.

Who it is for: Developers and researchers learning prompting techniques for LLMs

Strengths

  • Covers many named techniques, each with its own page and linked papers
  • Includes a lecture video, slides and a runnable notebook
  • Translated into 13 languages, per the README
  • Can be built locally with Node and pnpm to check changes

Weaknesses

  • Mostly prose and links; little runnable code beyond one lecture notebook
  • README promotes paid DAIR.AI Academy courses and services
  • Model pages cover older models such as GPT-4, Mixtral and Phi-2
  • No tagged releases; the web version is the maintained copy

What it needs

  • no GPU
  • Needs Node >=18, pnpm
  • port 3000

Quick answers

Is prompt-engineering-guide open source?

Yes. Its code is on GitHub under the MIT license.

Does prompt-engineering-guide need a GPU?

No, it runs without one.

Also in Learning and cookbooks

See all 65
Also in Learning and cookbooks
RankProjectScore
1ai-engineering-from-scratchHands-on AI engineering curriculum with 542 lessons across 20 phases76.2k starsMIT89 out of 100
2generative-ai-for-beginners21-lesson course on building generative AI apps in Python and TypeScript122.7k starsMIT81 out of 100
3rag_techniquesCollection of 42 runnable notebooks implementing RAG techniques30.2k starscustom license79 out of 100
#4cs249r_bookOpen textbook and course materials for machine learning systems engineering29.8k starscustom license79 out of 100
#5ai-agents-for-beginners18-lesson course on building AI agents with Microsoft Agent Framework78.6k starsMIT78 out of 100