ABSL — Tutorial
This is the tutorial part of the ABSL — Agent Behavior guide. See also Short info and samples.
Before you begin
Section titled “Before you begin”Choose one useful agent capability and one action it must not perform. Use fictional data and fixed tool-call examples while learning.
Understand the model
Section titled “Understand the model”Give the capability a clear boundary
Section titled “Give the capability a clear boundary”A documentation helper may search product material and summarize an answer. That useful task does not imply permission to edit account settings or delete a document. A behavior contract helps name the capability, the inputs it accepts and the limits that surround it. Personality can shape how the answer is written, while permission rules govern what actions may be attempted.
Triggers describe when a capability is requested. Memory policy describes which information can persist and under what conditions. Trust tiers and guardrails express limits or escalation rules. These declarations belong together because a seemingly harmless task can change its risk when it acquires persistence, broad tools or an automatic trigger.
Check the runtime that consumes the contract
Section titled “Check the runtime that consumes the contract”An exported contract needs a compatible consumer. Ask where a denied tool call is intercepted, how approval is represented and whether the action can happen before that decision. A prose instruction asking the agent to be cautious is different from an enforcement point that refuses a call.
Use small fixtures to make the distinction visible. An allowed lookup should succeed through the selected adapter; a write attempt should receive the declared denial or escalation outcome. Keep the expected decision separate from the agent’s self-report. A parsed guardrail demonstrates that the file can express the rule. Evidence that the chosen runtime enforces the rule comes from a test of that actual path.
Visual walkthrough
Section titled “Visual walkthrough”A helpful agent reaches a permission boundary. A lookup request passes through one allowed tool; a cancellation request reaches a labelled guardrail and is refused before a write.
Pause and predict: Where must the denial happen for the booking to remain unchanged?
This is the text storyboard for a proposed short illustrated film. The written walkthrough and exercises are available now; a published movie will be added after its scenes, captions and model references have been reviewed.
Import / export
Section titled “Import / export”ABSL imports CrewAI YAML as a strict superset — existing CrewAI agent definitions come in as-is and the extra ABSL vocabulary (trust tiers, memory policy) extends them. Outbound, an ABSL model exports as an agent suite: the agent card, system prompt, MCP tool declarations, guardrail code, red-team spec, and observability config — plus CrewAI YAML for the reverse direction. The per-format toolkit applies: ctxbrew absl validate|export|import|stats|diff. Details: Import & Export.
