The prompt is not a personality sticker
For agents, the system prompt is an operating contract. It tells the model what role it plays, what tools exist, when to use them, how to handle uncertainty, what must be escalated, and what output shape downstream code expects.
A vague system prompt turns tool choice into vibes. A good prompt makes the agent's decisions legible.
State belongs in a stable shape
Do not rely on hidden vibes like “remember the user prefers short answers.” Put stable facts in memory. Put run-specific state in a visible scratchpad or structured run object. Put policy in code and prompt.
The model can reason over messy text, but your executor should not. Use structured fields for pending approvals, budget used, completed steps, and current plan.
Escalation rules must be explicit
Tell the agent exactly when to ask a human: destructive file changes, spending money, sending messages externally, modifying credentials, uncertain high-stakes facts, or exceeding a budget. Then enforce those rules in code.