CHAPTER 06 · Prompt Architecture
Prompt Architecture
The prompt is the agent's constitution, written in prose. It defines who the agent is, what rules bind it, and, crucially, the structured protocols it must emit so your code can parse its output. This chapter is about architecting prompts so they're effective, maintainable, and don't rot as the system grows.