What is a system prompt?

Definition

It can describe a role, response defaults and permissible tool behavior. An application decides how that guidance is sent and how instruction roles are interpreted.

Long instructions can increase processing work and include irrelevant rules. A concise prompt should still preserve instructions that materially affect results.

ELI5

For example, an application can tell its assistant to answer as a library helper and cite catalogue entries when it recommends books.

A user then asks the question. The role and citation guidance stay in effect across requests through that application.

Does a system prompt grant permissions?

It can describe expected behavior. The application and runtime enforce actual access.

Why keep the prompt concise?

Focused guidance is easier to maintain and can reduce unnecessary context or conflicts.

  1. The headline MINIMAL CODING AGENT HARNESSES on a pure black background.
Definition card for system prompt: What is a system prompt?

A system prompt is an instruction supplied by an application to guide a model’s behavior.