Learn AI Math

System Prompt

What is System Prompt?

In one sentence: A system prompt is a set of hidden instructions given to an AI model before the conversation starts, to shape how it behaves.

It works like a job description for the AI. It can set the tone, the rules, the role and what to avoid, such as "You are a friendly math tutor for kids. Never give the final answer right away." Users usually do not see it, but it affects every reply.

What does System Prompt look like?

A customer-support bot's system prompt might tell it to only discuss the company's products and to always be polite.

Why does System Prompt matter?

System prompts are how apps turn a general model into a specific assistant.

Last updated · Fact-checked by The AI Math

Linking to this page from a lesson or article?

Like this explanation? Get one every week.

The AI Math newsletter turns confusing AI news into plain English. No hype, no jargon walls.