### Answer
In a multi-prompt agent, the
general prompt (system prompt) and the
state prompt (starting node in the node tree) serve different purposes: [(1) ](
)
General Prompt:
- Appended to the system prompt no matter what state the agent is in
- Applies globally across all states
- System prompt (with state) = general prompt + state prompt
State Prompt (Starting Node) :
- Specific instructions for that particular conversation phase [(2) ](
)
- Each state in a multi-prompt agent includes its own focused prompt
- Only active when the agent is in that specific state
The key difference is scope: the general prompt provides overarching instructions that apply throughout the entire conversation, while each state prompt (including your starting node) contains focused instructions specific to that conversation phase. This separation allows for better control over dialogue paths and ensures the agent receives relevant context for each stage of the interaction.