Stress-Test an Agent’s System Prompt
Generate ten stress tests for an agent prompt, identify expected failures, and recommend specific prompt fixes.
Prompt template
- Format
- Text Parameterized
- Inputs
- agent_system_prompt (text) · Required
- Outputs
- stress_tests_and_fixes (text)
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.
Replace the ${…} placeholders with your values
before using this prompt. See parameters
and defaults below
Parameters
Replace each placeholder with your own value, or use its default when one is provided
${agent-system-prompt}
agent-system-prompt
Required
What you'll create
A concise list challenges missing data, contradictory conditions and instruction derailment, linking expected errors to specific prompt changes.
Frequently asked questions
Does it return a general testing essay?
No. The output is restricted to test requests and prompt fixes.
Comments
Tried this prompt? Share what you made, compare results, or ask a question