By Vero SecurityBuilt and funded by Vero Security, the AI Security Engineering platform.Read the charter

Architectural isolation: dual LLM and CaMeL

Architectural defenses keep untrusted content away from the component that plans and calls tools. The dual LLM pattern uses a quarantined model that never gets tool access, and CaMeL extends it with explicit control flow, data flow tracking and capability checks. The design patterns paper catalogs six such patterns with their utility tradeoffs.

Read in this order

  1. ArticleThe Dual LLM pattern for building AI assistants that can resist prompt injection (Simon Willison)Start here: the original dual LLM idea, explained in plain terms.
  2. VideoAI Security with Guarantees ([un]prompted 2026)Introduces architectural guarantees for agent execution. 26 min.
  3. Open sourcecamel-prompt-injection (Google Research)CaMeL's reference code, to see capability checks in practice.

Save your progress

We email you a sign-in link. No password.

By signing in you agree to the terms. The privacy policy explains how we use your details.

Join the AI security engineering community

Free. Roadmap updates, chapters near you, and first word when credentials open.

We’ll email you community updates. Unsubscribe anytime. By sending this you agree to the terms. The privacy policy explains how we use your details.