close
breadcrumb right arrowGlossary
breadcrumb right arrowSystem Prompt
System Prompt

Every AI model call actually receives two layers of instruction: a system prompt set by the business deploying it, defining the assistant's role, tone, boundaries, and what it should never do, and the user's own message on top of that. The system prompt is invisible to the end user but shapes every response underneath it.

A well-written system prompt is what turns a general-purpose foundation model into something that behaves like a specific company's assistant: it references house terminology, follows a defined escalation policy, and stays within a scoped set of allowed actions, rather than answering as a generic, unbranded AI.

Frequently Asked Questions

Can a user see or change the system prompt?

Not directly in a well-designed deployment. The system prompt is set by whoever built the agent, and the user's own messages are layered on top of it, not able to override its core instructions, though a sufficiently clever prompt injection attempt tries to do exactly that.

What does a good system prompt typically include?

The assistant's role and scope, tone and style guidance, explicit boundaries on what it shouldn't do or discuss, and instructions for when to escalate to a human rather than answer directly.

How is a system prompt different from fine-tuning?

A system prompt is instructions given at the moment of each request, easy to update instantly. Fine-tuning actually retrains the model's underlying weights on new examples, a slower, more expensive process that changes the model itself rather than just the instructions given to it.

Why can't a system prompt guarantee an AI agent never misbehaves?

Because a model's response is still probabilistic reasoning over its instructions and the input it receives, a prompt injection attempt hidden in untrusted content can sometimes override or confuse those instructions, which is why access controls and least-privilege scoping matter as a second layer of defense, not the system prompt alone.

Does every AI agent use the same system prompt for every task?

Not necessarily, more sophisticated agents dynamically construct or swap system prompts depending on the specific task, channel, or user context, rather than relying on one static, all-purpose set of instructions for everything.

How long can a system prompt be?

It's constrained by the model's overall context window like everything else in a request, so very long system prompts leave less room for the actual conversation or retrieved documents, a real design tradeoff for complex enterprise deployments.