What is a system prompt?

A system prompt is the persistent set of developer-authored instructions sent at the start of every model call to define an AI agent’s role, goals, policy rules, tone, and tool-usage guidelines. Unlike user messages that change each turn, the system prompt stays constant across conversations within a given agent version.

By Sacha Arbonel, Founder and CTOLast updated
  • Also called
  • Instructions
  • Agent instructions

Why does system prompt matter?

Vague system prompts like “be helpful and accurate” give models no clear decision boundary and cannot be verified in evaluations. Specific, testable instructions reduce ambiguity and make failures easy to diagnose and fix.

The system prompt sets the agent’s role, goals, rules, tone and how to use its tools. It applies to every conversation, unlike user messages, which change each time.

Good instructions are specific and testable. “Be helpful” can’t be checked. “Never promise a refund outside the 30-day window” can.

Key characteristics of system prompt

  • Defines job scope, hard policy rules, escalation triggers, and how to handle missing information.
  • Applied consistently across every turn and session pinned to that agent version.
  • Written as concrete, verifiable rules rather than generic advice.
  • Kept focused by moving specialized procedures into reusable agent skills.

Example in practice

How Norilu handles system prompt

Frequently asked questions

Can users override an agent’s system prompt?
Users should not be able to edit it directly, but prompt injection can still try to override its intent—which is why critical permissions and approvals must be enforced outside the prompt.
How long should a system prompt be?
Keep it as short and clear as possible while covering core rules and edge cases. Move long task-specific playbooks or templates into versioned agent skills loaded on demand.

Go deeper