01

Invisible instructions

Large language models generate text by continuing the input they are given. When a company builds a chatbot, it does not simply pass your question to the model. It first adds instructions, called a system prompt, which the model reads before your message. This text might say that the assistant should be helpful and polite, describe the current date, list tools it can use and set rules about topics to avoid.

02

What they contain

System prompts can be short or very long. They often describe the assistant's identity and personality, how to format answers, how to handle sensitive topics, when to refuse requests, how to cite sources and how to use tools such as web search or code execution. Businesses building on AI models write their own system prompts so that a customer service bot stays on topic or a tutoring app guides students rather than giving answers.

03

Same model, different behaviour

Because of system prompts, the same underlying model can behave very differently in different products. One company might set a formal, cautious tone for a banking assistant, while another sets a playful tone for a game. A system prompt can make a model act as a translator, a coding assistant or a travel planner. This flexibility is one reason a few large models power thousands of different applications, from banking assistants to homework helpers.

04

Leaked secrets

System prompts were often kept secret, but users found ways to reveal them. In February 2023, shortly after Microsoft launched its Bing chatbot, users used cleverly worded messages to make it reveal its hidden instructions, which showed that its internal codename was Sydney and listed rules it was told to follow. Such leaks showed that system prompts are not a reliable place to hide confidential information.

05

Publishing prompts

Some companies have chosen transparency. In August 2024, Anthropic began publishing the system prompts used in its Claude apps, explaining that it wanted users to understand how Claude was instructed to behave. In May 2025, after its Grok chatbot made inappropriate comments that xAI blamed on an unauthorised change to its system prompt, the company began publishing Grok's prompts publicly.

06

Custom instructions

Many chatbots now let users add their own standing instructions, often called custom instructions or personal preferences, such as asking for shorter answers, a particular tone or information about their job. These are combined with the company's system prompt. Businesses can also create custom versions of assistants for specific tasks, each with its own instructions and knowledge files.

07

Limits of instructions

System prompts are powerful but imperfect. Models do not always follow them exactly, especially with long or conflicting instructions. Users may try to override them with tricks, known as jailbreaks, or attackers may hide instructions in documents and web pages, known as prompt injection. AI companies train models to prioritise developer instructions over conflicting user or third-party text, but this protection is not foolproof.

08

Training versus prompting

System prompts are only one way of shaping AI behaviour. Much of a model's personality and values comes from training, including fine-tuning and reinforcement learning from human feedback, before any system prompt is added. The system prompt then adjusts behaviour for a specific product. Problems that appear in AI behaviour can come from either training or prompting, which is why investigations often examine both, and why companies test changes to system prompts carefully before releasing them.

09

Designing assistants in the Gulf

Gulf governments and companies building AI assistants, such as government service chatbots and Arabic-language assistants, use system prompts to set tone, language preferences, cultural norms and rules about official information. Well-designed instructions can help assistants respond respectfully, switch between Arabic and English and direct users to the right services, while human oversight ensures accuracy.

010

Why it matters

System prompts are one of the most influential but least visible parts of AI products. They shape what millions of people hear from AI every day. Understanding that such instructions exist helps users interpret AI behaviour, and greater transparency about them can build trust and accountability in how AI systems are designed.

FOLLOW THE EVIDENCE

Sources & further reading

Based on company documentation and news reports. Photograph: original AI-generated illustration (Adobe Firefly). Reference organisations do not endorse this website.