Use AIUnderstand AIBuild with AI
Understand AI·Explainer·· 4 min read

What Is a System Prompt? The Hidden Instructions Behind AI Chatbots

A plain-English look at system prompts: the background instructions that shape how a chatbot behaves, what they can do, and what they can't.

When you chat with an AI assistant, you see your messages and its replies. Often there is a third thing you don’t see: a block of text that tells the assistant how to behave. It’s called a system prompt.

Knowing it exists explains a lot. It’s why the same underlying AI can act like a cheerful shop helper in one app and a serious research assistant in another.

The briefing a new employee gets

Imagine you hire a receptionist. Before the first customer walks in, you give them a briefing: “Be polite. Greet people by name. Don’t discuss pricing. If someone is upset, call me.”

The customer never hears that briefing. They just notice that the receptionist is polite and doesn’t talk about pricing.

A system prompt is that briefing. It’s text placed at the start of the conversation, before your first message. The people who build or set up an AI product write it. It might say what the assistant is for, what tone to use, what topics to avoid, or what format to answer in.

The accurate version

A chatbot is built on a language model, which is a program that predicts what text should come next. It doesn’t have a memory of who it is or what job it has. Everything it knows about the current conversation is the text it is given.

So when you send a message, the model is generally handed one long piece of text. That text includes the system prompt, the earlier messages in the chat, and your newest message. The model continues from there. The system prompt is simply the part that comes first and is marked as instructions rather than as something you said.

That means a system prompt is not a separate switch or a different kind of brain. It’s more text. The model has been trained to give extra weight to instructions in that position, but it’s still reading words and predicting a response.

What a system prompt is used for

Companies and developers use system prompts to:

  • Set a role. “You are a friendly assistant for a bookstore.”
  • Set tone and style. Short answers, formal language, a particular reading level.
  • Set boundaries. Topics to avoid or steer away from.
  • Set the format. Answer in bullet points, or in a particular language.
  • Provide background. Information the assistant should know about the product or the user.

Many assistants also let you write your own standing instructions, which work in a similar way. Features like this vary by product, so check what yours offers.

What it can’t do

It’s easy to imagine the system prompt as a strict rulebook. It isn’t.

It’s not a guarantee. Because the model follows instructions as a matter of learned habit, not a hard-coded rule, it can sometimes ignore, misread or be talked around an instruction. Builders who need firm limits usually add other protections beyond the text itself.

It doesn’t add knowledge. Telling an assistant “you are an expert doctor” doesn’t make it one. It may change the style of the answer, not its reliability.

It doesn’t make secrets safe. Text in a system prompt is part of what the model sees, and models can sometimes be coaxed into repeating it. A system prompt isn’t a safe place for passwords or private data.

It can’t be fully checked from the outside. You usually can’t see the system prompt for a product you use. Some companies publish theirs, and many do not. So when an assistant refuses something, or answers in an odd tone, hidden instructions may be part of the reason.

What this means for you

Once you know the briefing exists, a few things make more sense.

  • Different apps feel different even when they run on similar models, because their instructions differ.
  • You can write your own mini briefing. Starting a chat with “Act as a patient tutor. Use simple words. Ask me a question at the end” is a way of setting a role yourself. Most assistants respond well to this, though how they treat your instructions versus the app’s own can vary.
  • Long chats can drift. The model only sees the text it is given. If a conversation gets very long, early instructions can get less attention or fall out of what the assistant can see at all.
  • Be careful with trust. A bot that sounds like it works for you may have been instructed to promote something or to avoid certain topics. A friendly tone doesn’t tell you what the instructions say.

What is well established, and what is debated

Well established: language models take instructions as text, products commonly put instructions at the start of the conversation, and models don’t follow those instructions perfectly.

Less settled: how reliably any particular model will keep to its instructions under pressure, and how much transparency users should get about the instructions behind the tools they use. Reasonable people disagree, and practice differs between companies.

The short version

A system prompt is the private briefing an AI assistant gets before it talks to you. It shapes tone, role and limits, but it’s only text. It can guide an assistant. It can’t make one perfectly obedient, all-knowing or secret-proof.

Related