Skip to content
Core Concepts

What is System Prompt?

Last updated May 2026

Hidden instructions that define an AI assistant personality, behavior, and constraints.

Definition

A system prompt is a set of instructions given to an AI model before the user conversation begins. It defines the assistant role, personality, knowledge boundaries, formatting preferences, and behavioral constraints. System prompts are typically hidden from the end user and are set by the application developer.

💡 Example

A customer support chatbot might have a system prompt: "You are a helpful support agent for AcmeCorp. Only answer questions about our products. If asked about competitors, politely redirect. Always be professional and concise."

Related concepts

LLM (Large Language Model)

A type of AI trained on massive text datasets to understand and generate human language.

→
Prompt Engineering

The practice of crafting effective instructions to get better results from AI models.

→

Why this matters

System prompts are hidden instructions that define how an AI tool behaves. Understanding them helps you customize AI assistants, build better custom GPTs, and understand why the same model (GPT-4o) behaves differently in ChatGPT vs Microsoft Copilot.

Real-world example

ChatGPT has a system prompt that says "You are a helpful assistant." Custom GPTs have system prompts that define their personality, knowledge, and boundaries. When you use the API, you write your own system prompt — this is how developers build specialized AI products.

API (Application Programming Interface)

A way for developers to programmatically access AI models in their own applications.

→

Explore AI tools

Find tools that use system prompt in practice.

Browse all tools → Back to glossary
What is System Prompt?

A system prompt is a set of instructions given to an AI model before the user conversation begins. It defines the assistant role, personality, knowledge boundaries, formatting preferences, and behavioral constraints. System prompts are typically hidden from the end user and are set by the application developer.

How does System Prompt work in practice?

A customer support chatbot might have a system prompt: "You are a helpful support agent for AcmeCorp. Only answer questions about our products. If asked about competitors, politely redirect. Always be professional and concise."

What should you include in a good system prompt?

A good system prompt defines the AI's role, sets the tone and communication style, specifies output format requirements, establishes boundaries on what the AI should and should not do, and provides any background context needed for the task. Keep it clear and concise rather than overly long.

Can users override or bypass system prompts?

Users sometimes attempt to override system prompts through techniques like prompt injection. Well-designed system prompts include safeguards against this, but no system prompt is completely tamper-proof. Critical safety rules should be enforced through additional layers beyond just the system prompt.

How do system prompts differ across AI platforms?

Each platform handles system prompts differently. OpenAI's API has a dedicated system message role. Claude uses a system parameter. Some tools layer multiple system prompts. Consumer products like ChatGPT and Claude have pre-set system prompts that users cannot modify, while API access gives full control.