- Category
- AI Agents & Automation
Stress-Test an Agent’s System Prompt
Generate ten stress tests for an agent prompt, identify expected failures, and recommend specific prompt fixes.
By Threads — Published on — Modified on
Prompt template
- Format
- Text Parameterized
- Inputs
- agent_system_prompt (text) · Required
- Outputs
- stress_tests_and_fixes (text)
Replace the ${…} placeholders with your values
before using this prompt. See parameters
and defaults below.
Here is my agent's system prompt:
${agent-system-prompt}
Create 10 stress tests that are likely to expose failures in the agent, including tests involving incomplete data, contradictory conditions, and attempts to derail its instructions. For each test, state the expected error and recommend a concrete change to the system prompt to address it.
Return only a list of test requests and prompt fixes.
Parameters
Replace each placeholder with your own value, or use its default when one is provided.
${agent-system-prompt}
agent-system-prompt
Required
Comments — 0