Skip to content

natnew/Awesome-Prompt-Engineering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

216 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
layout title description nav_order
default
Home
The ultimate guide to prompt engineering, context engineering, and AI agents.
1

Awesome-Prompt-Engineering

Awesome All Contributors GitHub last commit GitHub Repo stars GitHub forks Maintained Status Release Status License Language

Prompt engineering is the foundational practice of crafting effective instructions to guide AI models toward accurate, useful, and reliable outputs. As AI systems have evolved, prompt engineering has expanded into context engineering—the broader discipline of architecting the full information environment that shapes model behaviour, including system prompts, conversation history, retrieved knowledge, tool definitions, and memory.

Whether you're writing your first prompt or orchestrating complex multi-agent systems, understanding how to communicate effectively with AI models remains essential. This repository provides resources spanning fundamental prompting techniques through to advanced context engineering strategies for production AI applications.

Effective prompt and context engineering requires understanding natural language processing, model capabilities, and user needs. As AI becomes increasingly integrated into scientific discovery, agentic systems, and enterprise applications, these skills are critical for developers, researchers, and AI practitioners. Star, watch, and share this repository to stay current with evolving best practices.🔥


Contents

Name Description URL
Introduction Timeline of AI from foundations to frontier models. Context for how we got here. GitHub
Basic Prompting Core techniques: prompt structure, roles, delimiters, output formatting, constraints. GitHub
Intermediate Prompting Reasoning techniques: few-shot, chain-of-thought, self-consistency, structured reasoning. GitHub
Advanced Prompting Agentic patterns: ReAct, tool use, prompt chaining, self-reflection, meta-prompting. GitHub
Multi-Modal Prompting Visual AI: text-to-image, image analysis, video generation, model-specific syntax. GitHub
AI Agents Building autonomous systems: patterns, orchestration frameworks, tools, memory, debugging. GitHub
AI Tools Comprehensive guide to tools for building, deploying, evaluating, and governing AI. GitHub
Deep Learning Guide LLM-relevant concepts: transformers, attention, training, tokenization, inference. GitHub
Articles Curated reading list organized by topic: agents, RAG, evaluation, safety, production. GitHub
Resources Learning resources: courses, papers, communities, podcasts, newsletters by role. GitHub
Talks/Slides Presentations and discussions on AI topics from researchers and practitioners. GitHub
FAQ Answers to common questions about LLMs, prompting, agents, RAG, and production. GitHub
AI Cheat Sheet Quick reference: prompt patterns, API parameters, token estimation, cost optimization. GitHub
Glossary 148 terms and definitions covering LLMs, agents, safety, and context engineering. GitHub
Ethical Charter Community values: human-centeredness, fairness, transparency, safety, accountability. GitHub

Context Engineering: The Evolution of Prompt Engineering

The field has evolved from crafting individual prompts to architecting complete context systems. Context engineering encompasses everything that shapes model behaviour at inference time.

Core Concepts

  • System Prompts — High-level instructions that define model behaviour, persona, and constraints
  • Few-Shot Examples — Demonstrating desired input-output patterns through curated examples
  • Chain-of-Thought — Encouraging step-by-step reasoning for complex problems
  • Retrieved Context (RAG) — Dynamically injecting relevant knowledge from external sources
  • Tool Definitions — Specifying available actions and their schemas for agentic systems
  • Memory Management — Handling conversation history and long-term state effectively

Recommended Reading


Modern Tools & Frameworks

Prompt Management & Versioning

  • PromptLayer — Version control, logging, and analytics for prompts
  • Agenta — Open-source platform for prompt testing with side-by-side LLM comparisons
  • Langfuse — Open-source LLM engineering platform with prompt management
  • Helicone — Lightweight prompt logging and analytics

Development Frameworks

  • LangChain — Framework for building applications with LLMs
  • LangSmith — Debugging, testing, and monitoring for LLM applications
  • Haystack — Framework for building NLP and RAG pipelines
  • DSPy — Programmatic prompting and optimization framework

Testing & Evaluation

  • Promptfoo — Open-source prompt testing and evaluation
  • TruLens — Feedback and evaluation for LLM applications
  • Weave — Trace-based debugging and scoring from Weights & Biases
  • Maxim AI — Systematic evaluation and benchmarking platform

Safety & Guardrails

  • Guardrails AI — Define schemas and constraints for model outputs
  • NeMo Guardrails — NVIDIA's toolkit for LLM safety
  • Rebuff — Prompt injection detection and prevention
  • Lakera Guard — Real-time protection against prompt attacks

Announcements 👀

Watch this repository to keep up-to-date with the latest updates and announcements.
Topic Description Date URL
📘eBook eBook published 17th April 2023 URL
📘eBook eBook published 28th April 2023 URL
💻Website Website is live 2nd May 2023 URL
📄New Page Ethical Charter 14th May 2023 URL
🔄Update Context Engineering section added January 2026 URL
🤖New Page AI Agents guide January 2026 URL
🧠New Page Deep Learning for LLMs guide January 2026 URL
📚Update Glossary expanded to 148 terms January 2026 URL
📋New Page AI Cheat Sheet January 2026 URL
❓New Page FAQ updated with modern questions January 2026 URL
🎤Update Talks/Slides updated with LLM-era content January 2026 URL

Guides and Learning Resources


Additional Resources

Join the Artificial Intelligence First newsletter today. You'll be kept informed about open source frameworks, carefully selected tutorials, and articles compiled by experts in artificial intelligence.
Explore Awesome Data Science. A carefully curated list of awesome Data Science resources.

More Awesome Lists


Contributors

Natasha
Natasha

🎨 🐛 💻 🖋 📖 🤔 📆 💬 👀 🛡️ 🔧 🔬
Dea María Léon
Dea María Léon

📖 🔬 💬 🤔 🔬 🖋 🤔
Bartolomeu Rodrigues
Bartolomeu Rodrigues

🤔 📖 🐛
ElitePete
ElitePete

🖋 🤔 💬 🔧
Jaimboh
Jaimboh

🔧 💬 🖋
Konstantine
Konstantine

🖋 🤔

Contributions ⭐

We believe that feedback and suggestions are crucial to improving our content and making it more useful for our readers. That's why we encourage you to share your thoughts with us and let us know what you think about our content.

Your feedback can help us identify areas where we can improve and provide more value to our readers. Whether you have suggestions for new topics, ideas for interactive elements, or feedback on our existing content, we would love to hear from you.

By sharing your thoughts and ideas with us, you can help shape the direction of our GitHub repo page and make it a more valuable resource for the prompt engineering community. So please don't hesitate to reach out and let us know what you think. We're looking forward to hearing from you!

This project follows the all-contributors specification. Contributions of any kind are welcome!

Many thanks to our contributors. Want to contribute? Visit the Workflow documentation here.

License

See the LICENSE file for license rights and limitations (MIT).