Skip to content

ABSL — Samples

These are the samples for the ABSL — Agent Behavior guide. See also Short info and the tutorial.

Define a helper that can read a public FAQ and cannot change reservations.

  1. Name the lookup capability and the source it may read.
  2. Give it a fixture request asking for the cancellation policy. Expect an answer using that source.
  3. Give it a fixture tool call attempting to cancel a booking. Expect denial or declared escalation before any write occurs.
  4. Record which adapter evaluated the call and what it returned.

The contract makes the boundary understandable. A verified adapter run provides enforcement evidence; the helper merely saying “I would not do that” does not.

These four exercises are lesson briefs. Their dedicated CtxBazaar recipes and browser launch actions are planned; see Learning with models for available downloads and the meaning of each result.

Exercise Try this Expected observation
Read-only helper Declare a documentation lookup capability with no write capability. An allowed lookup and a proposed write are clearly distinguishable test fixtures.
Escalate a risky action Declare that a destructive operation needs approval. The expected outcome is escalation; a policy fixture must show that the runtime does not execute first.
Bounded memory Set a memory scope and retention policy for a support agent. Explain which information may persist and which must expire.
Budget boundary Describe a capability with a resource limit. Compare a within-budget fixture with one requiring rejection or escalation in a verified adapter.