Glossary / Prompting & Context

System Prompt

Higher-level instruction that shapes how an AI should behave before the user asks anything.

Updated July 2, 2026

A system prompt is a higher-level instruction that shapes how an AI behaves before you ask anything. A normal prompt is what you ask right now; the system prompt sits above the task, telling the AI its role, what rules matter, and how to interpret everything that follows. You usually won’t see it: the product has one, your organization may add one, and a project may add project instructions. In agent tools like Claude Code you feel it through behavior, like asking before risky actions.

Consider hiring someone with a job description. Before you hand them today’s task, you tell them the job: you’re the office manager, you protect client confidentiality, you write in this tone, you don’t send anything without approval.

Why you care

AI follows all the instructions it has, and some carry more authority than others. If the system prompt says never reveal secrets and a user prompt says print the API key, the higher-level instruction should win. That’s why system prompts tie into guardrails. A system prompt is language rather than a wall, so good systems pair it with permissions, review, and human judgment. It sets the working posture before the work begins.