[New Whitepaper] Best Security Practices for AI Prompting and Building Agent Systems

Stu Sjouwerman | Jul 27, 2025

Stu TestBob Fabien wrote on X: "While some are still paying over a grand for AI courses, the biggest players are giving away high-value resources at no cost. From prompt engineering to agent frameworks, it is all here."

And here is a little present from me to you. I grabbed the new Agent Mode of OpenAI and told it to create an Exec Summary of the best practices in all the below guides and documents. Then I ran an edit over it for readability and completeness.  I also included Case Study: Building a Cybersecurity Incident Classifier. 

Hoping this saves you a bunch of time. Here is it as a 21-page PDF, great for your next Lunch & Learn. Enjoy!

https://www.knowbe4.com/hubfs/AI_best_practices_summary_V3.pdf

 

These are the original resources: 

Prompt Engineering for LLMs. Prompt structures. Real use cases. LLM integration:
https://shorturl.at/JmCWH
Google Prompting Guide. Gemini tips. Role-based prompts. Workspace strategies:
https://shorturl.at/Im7xK
OpenAI Guide to Agents. Agent architecture. Use cases. Best practices.
https://shorturl.at/EwdZG
OpenAI on AI in the Enterprise. Adoption steps. Strategic roadmap. Use case design:
https://shorturl.at/GWeH2
Google Agent Companion Whitepaper. AI agent flow. Evaluation metrics. Real-world examples:
https://shorturl.at/hW2ak
Anthropic Agent Framework. Claude agents. Prompt flow. Iteration logic:
https://lnkd.in/dbyUHwGD
Anthropic Coding Best Practices. Secure structure. Prompt injection safety. Clean output:
https://lnkd.in/dE2BQ93t

And while we are talking AI, our Defend product is a fantastic agent you can use with M365 to filter out the most sophisticated phishing attacks. Keep reading and get your demo.

Warm regards,

Stu 


Stop Advanced Phishing Attacks with KnowBe4 Defend

KnowBe4 Defend takes a new approach to email security by addressing the gaps in M365 and Secure Email Gateways (SEGs). Defend helps you respond to threats quicker, dynamically improve security and stop advanced phishing threats. It reduces admin overhead, enhances detection and engages users to build a stronger security culture.

Image UpdatedWith KnowBe4 Defend you can:

  • Reduce risk of data breaches by detecting threats missed by M365 and SEGs
  • Free up admin resources by automating email security tasks
  • Educate users with color-coded banners to turn risks into teachable moments
  • Continuously assess and dynamically adapt security detection reducing admin overhead
  • Leverage live threat intelligence to automate training and simulations

Request a Demo

PS: Don't like to click on redirected buttons? Cut and paste this link in your browser:

https://www.knowbe4.com/products/defend-demo

Topics: AI



Subscribe to Our Blog


Gartner Magic Quadrant




Get the latest insights, trends and security news. Subscribe to CyberheistNews.