Automated Red Team Pipeline
Threat model first, then manual sessions, then automated scans with garak, promptfoo and PyRIT. How to find jailbreaks, data leaks and unsafe tool calls, fix them in the architecture, and keep them fixed in CI.
Attacker LLM generates adversarial prompts automatically
Hiring a locksmith to try to break into your house — professional, systematic testing.
We use an LLM to automatically generate attack prompts against our AI system.
> Attacker model: configured > Target: production chatbot > Categories: jailbreaks, injection, exfiltration
Attacker LLM generates adversarial prompts automatically
Hiring a locksmith to try to break into your house — professional, systematic testing.
We use an LLM to automatically generate attack prompts against our AI system.
> Attacker model: configured > Target: production chatbot > Categories: jailbreaks, injection, exfiltration
Continue reading
All Prompt Engineering articles →Meta-Prompting: Letting a Model Tune Your Prompts
From a one-off rewrite to refinement loops on failures, candidate search and compiled DSPy programs. How to optimise prompts against a metric without overfitting, and how to review what the optimiser produces.
Tree-of-Thought: Search Over Reasoning Paths
Propose several next steps, judge the partial states, keep the best and expand them. How to build a Tree-of-Thought search, why the evaluator decides everything, and when a reasoning model makes it unnecessary.
Constrained Generation: Beyond Hope-Based Parsing
Enforce output structure at the token level with grammars and token masks — how it differs from native JSON mode, and when the strictness costs you reasoning quality.
Discussion
Sign in to share your feedback and join the discussion.

