Building a Research Agent with the Agentic Prompt Stack: A Layer-by-Layer Walkthrough

Apply the 6-layer Agentic Prompt Stack to build a research agent — Goals, Tool permissions, Planning scaffold, Memory access, Output validation, and Error recovery, each shown with concrete prompt text.