This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| how_to_structure_system_prompts [2026/03/25 15:41] – Move from architecture: namespace to flat agent | how_to_structure_system_prompts [2026/03/31 01:26] (current) – SEO: add target search terms agent | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== How to Structure System Prompts ====== | + | ====== How to Write and Structure System Prompts ====== |
| - | System prompts are the foundation of AI agent behavior. | + | System prompts are the foundation of AI agent behavior. |
| ===== Anatomy of an Effective System Prompt ===== | ===== Anatomy of an Effective System Prompt ===== | ||
| Line 325: | Line 325: | ||
| - **Match format to model**: XML tags for Claude, markdown for GPT. | - **Match format to model**: XML tags for Claude, markdown for GPT. | ||
| - **Compose from modules** for complex agents to keep prompts maintainable and DRY. | - **Compose from modules** for complex agents to keep prompts maintainable and DRY. | ||
| - | |||
| - | ===== References ===== | ||
| - | |||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| ===== See Also ===== | ===== See Also ===== | ||
| Line 340: | Line 332: | ||
| * [[how_to_choose_chunk_size|How to Choose Chunk Size]] — Optimize RAG for your prompts | * [[how_to_choose_chunk_size|How to Choose Chunk Size]] — Optimize RAG for your prompts | ||
| + | ===== References ===== | ||