Skip to main content
Advancedhow it works Verified ~9 min

How do you make an agent with tools safe in production?

Source: OWASP Top 10 for LLM Applications 2025: LLM06 Excessive Agency

Quick answerFree

Assume the model can be wrong or manipulated. Prompt injection can be direct, or indirect through retrieved documents, logs or web pages, so treat that content as untrusted data and mark it as such.

Detailed answer· ~380 words

Pro

Unlock the full answer with Pro

Get a ~380-word model answer, 5 key points, a visual explainer, 5 common mistakes and 5 follow-ups, plus 28 more Generative AI questions.

Key points· 5 points

Pro
Unlock with Pro

Visual explainer· animated, step by step

Pro
Unlock with Pro

Common mistakes· 5

Pro
Locked

Best practices· 5

Pro
Locked

Likely follow-ups· 5 questions

Pro
Unlock with Pro

+ 28 more Generative AI questions in Pro, each with the full answer.

Discussion