podqast

AI prompt engineering in 2025: What works and what doesn’t | Sander Schulhoff (Learn Prompting, HackAPrompt)

Sander Schulhoff is the OG prompt engineer. He created the very first prompt engineering guide on the internet (two months before ChatGPT’s release) and recently wrote the most comprehensive study of prompt engineering ever conducted (co-authored with OpenAI, Microsoft, Google, Princeton, and Stanford), analyzing over 1,500 academic papers and covering more than 200 prompting techniques. He also partners with OpenAI to run what was the first and is the largest AI red teaming competition, HackAPrompt, which helps discover the most state-of-the-art prompt injection techniques (i.e. ways to get LLMS to do things it shouldn’t). Sander teaches AI red teaming on Maven, advises AI companies on security, and has educated millions of people on the most state-of-the-art prompt engineering techniques.
In this episode, you’ll learn:

—
Brought to you by:
Eppo—Run reliable, impactful experiments
Stripe—Helping companies of all sizes grow revenue
Vanta—Automate compliance. Simplify security
—
Where to find Sander Schulhoff:

—
Where to find Lenny:

—
In this episode, we cover:
(00:00) Introduction to Sander Schulhoff
(04:29) The importance of prompt engineering
(06:30) Real-world applications and examples
(10:54) Basic prompt engineering techniques
(23:46) Advanced prompt engineering techniques
(29:00) The role of context and additional information
(39:24) Ensembling techniques and thought generation
(49:48) Conversational techniques for better results
(50:46) Introduction to prompt injection
(52:27) AI red teaming and competitions
(54:23) The growing importance of AI security
(01:02:45) Techniques to bypass AI safeguards
(01:05:21) Challenges in AI security and future outlook
(01:18:33) Misalignment and AI's potential risks
(01:25:03) Final thoughts and lightning round
—
Referenced:

Episode page ↗
Also about technology and AI
Every episode about Technology & AI
More from Lenny's Podcast: Product | Career | Growth