Prompt-Engineering-Guide
Free🐙 Guides, papers, lessons, notebooks and resources for prompt engineering, context engineering, RAG, and AI Agents.
About Prompt-Engineering-Guide
The Prompt Engineering Guide is a comprehensive resource by DAIR.AI covering prompt engineering, context engineering, RAG, and AI Agents. It includes guides, papers, lessons, notebooks, and datasets to help researchers and practitioners understand LLM capabilities, improve safety, and design robust prompting techniques. The guide covers advanced techniques such as zero-shot, few-shot, chain-of-thought, tree of thoughts, ReAct, and many others, along with model-specific prompting guides for popular models like ChatGPT, Claude, Gemini, and GPT-4. It is open source and welcomes community contributions.
Key Features
Pros & Cons
- Free and open source, accessible to everyone
- Regularly updated with latest research and techniques
- Covers a wide array of models and prompting methods in one place
- Includes practical examples and ready-to-use notebooks
- Community-driven with contribution opportunities
- Primarily a reference guide, not an interactive tool or playground
- May be overwhelming for absolute beginners due to depth and breadth
- Some sections assume prior knowledge of LLMs and prompting fundamentals
Best For
Alternatives to Prompt-Engineering-Guide
cognee
The memory for your AI Agents in 6 lines of code
databend
Data Agent Ready Warehouse : One for Analytics, Search, AI, Python Sandbox. — rebuilt from scratch. Unified architecture on your S3.
awesome-llm-apps
100+ AI Agent & RAG apps you can actually run — clone, customize, ship.
claude-mem
A Claude Code plugin that automatically captures everything Claude does during your coding sessions, compresses it with AI (using Claude's agent-sdk), and injects relevant context back into future ses
deeplake
Deeplake is AI Data Runtime for Agents. It provides serverless postgres with a multimodal datalake, enabling scalable retrieval and training.
anything-llm
The all-in-one AI productivity accelerator. On device and privacy first with no annoying setup or configuration.