Define the Agent's Job in One Sentence
Before opening an editor, write down exactly what the agent should do, what triggers it, and what "done" looks like. "Reads a support email, checks order status via our API, and drafts a reply" is specific enough to build. "Helps with customer support" isn't.