technicals

What is a system prompt?

June 1, 2026 · 4 min read

SYSTEM PROMPTA director's note in the actor's pocket.The audience never reads it, yet it governs every line."Tell me a joke."audience · questionthe actorthe note: set by the business · unseen"As a pirate:why did..."spoken replyOne hidden note shapes the tone, role, and rules of every reply — before you say a word.

Definition

A system prompt is the fixed, behind-the-scenes instruction set added to every AI chat that sets the AI’s role, tone, and rules before a customer types anything.

At a glance

Why it matters

The same AI can sound like a stiff lawyer or a friendly shop assistant depending entirely on its system prompt. It is your lever to keep the AI on-brand: greeting customers in your voice, sticking to your products, and politely declining off-topic or risky questions.

System prompt vs. customer question

The system prompt is standing instructions you write (“You are Acme Bakery’s support agent; be warm; never mention competitors”). The user prompt is whatever the customer asks (“Got gluten-free cake?”). The AI reads your instructions first, then answers within those guardrails[5].

Bottom line

A system prompt is the quiet rulebook that makes a generic AI sound like your business, with no code required.

Connects to Computer ScienceLaw

References

  1. See the hidden rules behind AI. The Washington Post www.washingtonpost.com
  2. System Prompts vs User Prompts Design Patterns for LLM Apps. Tetrate tetrate.io
  3. The Difference Between System Messages and User Messages in Prompt Engineering. PromptHub www.prompthub.us
  4. Using the Messages API. Anthropic docs.anthropic.com
  5. Text generation guide. OpenAI developers.openai.com