Prompting
Real situations from building agents - with the answer and why.
- Your prompt is just “write code.” What improves it the most?
- A downstream pipeline needs strict, repeatable JSON from the model.
- You need output in a very specific, unusual format.
- Your app puts stable rules (persona, safety limits, output format) into the same user message as each request’s data.
- Your prompt says "answer in one short sentence" and, three paragraphs later, "explain your reasoning step by step in detail." Outputs are inconsistent.
- «Never mention competitor prices» sits in your system prompt, and it keeps being violated.
More on Way of the Agent
- Course programThe first three modules are free: start in the browser or the app, no card needed.
- Library: guides, skills and promptsReady prompt templates, grouped into collections.
- AI ChroniclesSourced stories from the history of AI.
- ConceptsPlain-language explainers of agent engineering.
- Learn AI agentsApps and courses for learning AI agents, compared honestly.