dair-ai/Prompt-Engineering-Guide

🐙 Guides, papers, lessons, notebooks and resources for prompt engineering, context engineering, RAG, and AI Agents.

62
/ 100
Established

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.

No Package No Dependents
Maintenance 16 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 20 / 25

How are scores calculated?

Stars

71,517

Forks

7,638

Language

MDX

License

MIT

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.