A system prompt is the foundational instruction set provided to an AI model at the start of an interaction. It defines the AI's role, behavior, and any specific constraints, guiding its responses throughout the conversation. This prompt ensures consistency, contextual relevance, and alignment with user expectations, effectively shaping the AI's tone, scope, and decision-making processes in user-facing applications.