The anatomy of an agent

Design the agent before you build it. Answer five questions. Then write seven files.

If you cannot answer a question, you are not ready to build.

Seven components

One zip. Seven files. Each maps to the five questions.

FileAnswersContents
  • instructions.md12Role, voice, tone, refusals, two worked examples
  • skills/1One file per skill: inputs, steps, outputs, evidence rule, gate
  • tools.md3Every connection with read/write scope and fallback
  • manifest.md3Which skill uses which tool. No gaps, no guesses
  • guardrails.md24Each risk, its control, its owner, sign-off
  • memory.md2What is kept, where, how long, who agreed it
  • evals/5Test inputs, expected outputs, pass marks, last score

How it ships

One zip per agent. Bought once, downloaded straight away.

  • The seven components

    Every file above, in plain markdown

  • Adapters

    One-file hooks for Claude Code, Cursor, AGENTS.md tools, and chat bots

  • Samples

    GOV.UK-style inputs so the first run works on day one

  • Your own keys

    Runs in the AI tool you already pay for. Nothing to host.

Unzip into a repo. Say the trigger phrase. Approve each stage.

The intelligence is in the stages and the standards, not the interface.

Download the template (free)