[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 

Topics: AI

See KnowBe4 Defend™ in Action

Learn how Defend™ strategically enhances Microsoft 365's native security to catch the threats Secure Email Gateways (SEGs) miss.

Request a Demo

Secure the Digital Workforce: Human + AI

KnowBe4 empowers the modern workforce to make smarter security decisions every day. Trusted by more than 70,000 organizations worldwide, KnowBe4 is the pioneer of digital workforce security, securing both AI agents and humans. The KnowBe4 Platform provides attack simulation and training, collaboration security, and agent security powered by AIDA (Artificial Intelligence Defense Agents) and a proprietary Risk Score. The platform leverages 15 years of behavioral data to combat advanced threats including social engineering, prompt injection, and shadow AI. By securing humans and agents, KnowBe4 leads the industry in workforce trust and defense.