Prompt Engineering for LLMs: The Art and Science of Building Large Language Model–Based Applications
I haven't read these all the way through myself but I've seen enough of them that I'm confident suggesting them:
- Prompt Engineering for LLMs by John Berryman and Albert Ziegler: https://www.amazon.com/Prompt-Engineering-LLMs-Model-Based-A...
- AI Engineering by Chip Huyen, which I recommend based on the strength of this extract about "agents": https://huyenchip.com/2025/01/07/agents.html