dair-ai/Prompt-Engineering-Guide
🐙 Guides, papers, lessons, notebooks and resources for prompt engineering, context engineering, RAG, and AI Agents.
Covers advanced prompting methodologies including Chain-of-Thought, Tree of Thoughts, ReAct, and Retrieval Augmented Generation with practical notebooks demonstrating each technique. Structured as a multi-language curriculum with dedicated sections on model-specific behavior (GPT-4, LLaMA, Mistral), application patterns (function calling, code generation, data synthesis), and a curated Prompt Hub with task-specific templates. Complements the web platform with downloadable guides, research papers, and video lectures designed for both researchers optimizing LLM capabilities and developers building production systems.
71,517 stars. Actively maintained with 1 commit in the last 30 days.
Stars
71,517
Forks
7,638
Language
MDX
License
MIT
Category
Last pushed
Mar 11, 2026
Commits (30d)
1
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/dair-ai/Prompt-Engineering-Guide"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
promptfoo/promptfoo
Test your prompts, agents, and RAGs. Red teaming/pentesting/vulnerability scanning for AI....
thunlp/OpenPrompt
An Open-Source Framework for Prompt-Learning.
bigscience-workshop/promptsource
Toolkit for creating, sharing and using natural language prompts.
promptfoo/promptfoo-action
The GitHub Action for Promptfoo. Test your prompts, agents, and RAGs. AI Red teaming,...
LearnPrompt/LearnPrompt
永久免费开源的 AIGC 课程, 目前已支持Prompt Engineering, ChatGPT, Midjourney, Runway, Stable Diffusion,...