All Repos
RAG & RetrievalMDXMIT

Prompt-Engineering-Guide

dair-ai/Prompt-Engineering-Guide ยท Updated

๐Ÿ™ Guides, papers, lessons, notebooks and resources for prompt engineering, context engineering, RAG, and AI Agents.

dair-ai/Prompt-Engineering-Guide is a MDX repository in the RAG & Retrieval category with 79,647 stars and 8,740 forks on GitHub, released under the MIT license, last updated 7mo ago.

#agent#agents#ai-agents#chatgpt#deep-learning#generative-ai#language-model#llms
View on GitHub 80kGitHub stars

How to install Prompt-Engineering-Guide in your AI client

Setup for Claude Code, Claude Desktop, Cursor, Codex, Windsurf, Cline and VS Code โ€” copy-paste ready.

How to install Prompt-Engineering-Guide in Claude CodeAnthropic's agentic CLI

  1. Clone & open

    bash
    git clone https://github.com/dair-ai/Prompt-Engineering-Guide.git
    cd Prompt-Engineering-Guide
    claude
  2. Let Claude read it

    Ask โ€œ/initโ€ to generate a CLAUDE.md, then have Claude explain, run, or extend the codebase. It reads files on demand.

Documentation

Full README

Prompt Engineering Guide

Sponsored by    

Prompt engineering is a relatively new discipline for developing and optimizing prompts to efficiently use language models (LMs) for a wide variety of applications and research topics. Prompt engineering skills help to better understand the capabilities and limitations of large language models (LLMs). Researchers use prompt engineering to improve the capacity of LLMs on a wide range of common and complex tasks such as question answering and arithmetic reasoning. Developers use prompt engineering to design robust and effective prompting techniques that interface with LLMs and other tools.

Motivated by the high interest in developing with LLMs, we have created this new prompt engineering guide that contains all the latest papers, learning guides, lectures, references, and tools related to prompt engineering for LLMs.

๐ŸŒ Prompt Engineering Guide (Web Version)

๐ŸŽ‰ We are excited to launch our new prompt engineering, RAG, and AI Agents courses under the DAIR.AI Academy. Join Now!

The courses are meant to compliment this guide and provide a more hands-on approach to learning about prompt engineering, context engineering, and AI Agents.

Use code PROMPTING20 to get an extra 20% off.

Happy Prompting!


Announcements / Updates

  • ๐ŸŽ“ We now offer self-paced prompt engineering courses under our DAIR.AI Academy. Join Now!
  • ๐ŸŽ“ New course on Prompt Engineering for LLMs announced! Enroll here!
  • ๐Ÿ’ผ We now offer several services like corporate training, consulting, and talks.
  • ๐ŸŒ We now support 13 languages! Welcoming more translations.
  • ๐Ÿ‘ฉโ€๐ŸŽ“ We crossed 3 million learners in January 2024!
  • ๐ŸŽ‰ We have launched a new web version of the guide here
  • ๐Ÿ”ฅ We reached #1 on Hacker News on 21 Feb 2023
  • ๐ŸŽ‰ The First Prompt Engineering Lecture went live here

Join our Discord

Follow us on Twitter

Excerpt โ€” the full document is on GitHub.

More RAG & Retrieval repositories

Catalog data refreshed . Something wrong? Report it.