Trinity S³AI

Vibecoding 19: an answer with a shape

Three kinds of agent reply, how many arguments each needs, and the check a program runs before it acts on one. Lesson 19 of the Vibecoding from zero course.

A reply on its way in

  1. Read the kind
  2. Is the kind 0, 1 or 2?
  3. Count the arguments
  4. Enough: act. Too few: refuse
Reply kinds and what each needs
KindArguments neededVerdict on a reply with none
0 say0Accepted
1 ask1Refused
2 call a tool1Refused

The program checks the shape first, so a half-formed answer never runs.