asv/labs
ALL HOW-TO GUIDES

A PRACTICAL FIELD GUIDE

Anatomy of a reliable agent prompt

Turn an attractive idea into an operating contract an agent can follow, test, and safely stop.

01

Start with the job, not the persona

State the result, the boundaries, and the source of truth before adding voice. A role can focus behavior; it cannot replace permissions or evidence.

02

Name the six working parts

  1. Intent — the outcome and the definition of done.
  2. Inputs — accounts, records, time range, and missing setup choices.
  3. Guardrails — untrusted-content rules, sensitive-data limits, and stop conditions.
  4. Actions — what may be read, drafted, or changed, and what needs exact approval.
  5. Output — the format, citations, uncertainty, and action log.
  6. Test — one supervised example with acceptance criteria.
03

Test the edges

Use a normal case, a missing-source case, and an instruction hidden inside retrieved content. A reliable agent should complete the first, fail closed on the second, and flag the third as untrusted.

Evidence note: a fluent answer is not proof of a correct source, permitted action, or successful write. Ask for those separately.

ASV Labs · Source content preserved from the existing resource library.

Choose another guide
RESOURCE INSPECTOR