---
title: "Discussion on \"System, User, Tool: the Real Prompt Hierarchy\" | Hashnode"
description: "Discussion on \"System, User, Tool: the Real Prompt Hierarchy\". Every LLM call has three kinds of messages: system, user, and tool. They disagree all the time. Here is who wins, why, and how to design prompts that don't get overridden by the next user turn."
url: "https://hashnode.com/posts/system-user-tool-prompt-hierarchy/69dc3d24845aea642045bb99"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [System, User, Tool: the Real Prompt Hierarchy](https://ai-zero-to-hero.hashnode.dev/system-user-tool-prompt-hierarchy?utm_source=hashnode&utm_medium=feed)

Every LLM call has three kinds of messages: system, user, and tool. They disagree all the time. Here is who wins, why, and how to design prompts that don't get overridden by the next user turn.

Apr 13 · 10 min read · ai-zero-to-hero.hashnode.dev  
Read the article

-   [#developers](https://hashnode.com/tag/developers)
-   [#engineering](https://hashnode.com/tag/engineering)
-   [#llm](https://hashnode.com/tag/llm)
-   [#prompts](https://hashnode.com/tag/prompts)
-   [#system-prompt](https://hashnode.com/tag/system-prompt)

## Written by

[Rahul Sehrawat](https://hashnode.com/@rahulseh1998)

@rahulseh1998

  
[View profile](https://hashnode.com/@rahulseh1998)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
