
System Prompt is a special instruction given to an AI model that sets its overall behaviour, role, and rules for a conversation — separate from, and taking priority over, the user’s messages.
What it means in plain English
While you chat with an AI through normal messages, there is often a hidden system prompt working behind the scenes that shapes how it responds. It might say “You are a helpful customer-support assistant for this company. Be polite, never discuss competitors, and refuse requests outside your role.” The system prompt establishes the assistant’s persona, tone, and boundaries for the whole conversation.
It is a key tool for customising and controlling an AI’s behaviour.
A simple example
A cooking-app chatbot might have a system prompt like “You are a friendly chef assistant. Only answer questions about cooking and recipes. Keep responses short and encouraging.” Every reply is shaped by that instruction, even though you never see it.
Why it matters
System prompts are how developers give an AI its role, personality, and rules, and are an important place where guardrails are defined. Understanding them reveals how the same underlying model can become many different, purpose-built assistants.
Related terms
- Prompt — the user-facing counterpart to a system prompt.
- Guardrails — often implemented via the system prompt.
- Prompt Engineering — includes crafting system prompts.
Frequently asked questions
What is a system prompt?
A system prompt is a special instruction that sets an AI assistant’s role, behaviour, tone, and rules for a conversation, guiding how it responds to the user’s messages.
How is a system prompt different from a user prompt?
The system prompt sets overall behaviour and constraints “behind the scenes,” while user prompts are the individual messages the user sends within those bounds.