AI Agent System Prompt Prompt
Write role, boundaries, tool-use rules and failure handling for an AI agent.
Prompt
Write a system prompt for {{agent name}}.
Responsibility: {{responsibility}}
Available tools: {{tools}}
Prohibitions: {{prohibitions}}
Include:
1. Role and goal.
2. Workflow: what to do first and next.
3. Tool-selection rules and pre-call checks.
4. When to ask the user for confirmation.
5. Fallback when it fails or lacks information.
6. Output format.
7. Three test cases: normal, edge and unauthorized.
Make rules executable; avoid vague words like try or appropriately.Variables to replace
Example output
Prohibition: never send email, modify the database or trigger paid calls without confirmation.
How to use it
List confirmation-required actions explicitly; vague caution does not work.
Recommended tools
Related prompts
RAG evaluation prompt for Embodied AI
A rAG evaluation template for embodied-AI and humanoid teams, addressing scarce data and unclear deployment scenarios and delivering evaluation table + metrics + improvements.
Human-in-the-loop prompt for Skincare
A human-in-the-loop template for skincare brands and skin clinics, addressing hard-to-explain ingredients and trust issues and delivering approval points + flow + UI fields.
System prompt prompt for Restaurants
A system prompt template for restaurant owners and operations managers, addressing platform dependence and squeezed margins and delivering system prompt + variables + test cases.