Skip to content

ABSL — Agent Behavior

This guide is split into three parts, and you are on Short info. Continue with the tutorial or browse the samples.

ABSL answers: what may an agent do, under what limits, and when must it escalate?

Use it when an agent’s capabilities, guardrails, triggers or memory policy need an explicit contract. Begin with a single capability, an allowed input and a denied input. Separate the declared behavior from the runtime adapter that enforces it. A personality description alone is not a permission boundary.

  • Using personality prose as the only control over privileged tools.
  • Treating every exported contract as compatible with every agent framework.
  • Checking only the agent’s answer instead of the actual tool-call decision.

ABSL is ContextBrew’s Agent Behavioral Specification Language. It packages behavior and governance declarations into an artifact connected to a project’s specifications; it is not an industry-wide agent standard. Anthropic’s effective-agents article supplies background on simple workflows, agents and tool design, rather than an ABSL specification.

A useful contract explains both the allowed task and its boundary. Capabilities state what the agent can attempt; guardrails and escalation rules constrain those attempts; memory policy describes what may be retained. Enforcement depends on the consumer of the generated contract and the capabilities it actually implements. Test a contract with fixed tool-call fixtures before relying on it in a live agent. Parsing a deny rule proves that the declaration is well formed, not that every runtime will obey it.

A system prompt is quick for behavioral guidance but needs external enforcement for hard permissions. Framework configuration can define a specific runtime’s tools; a policy engine can enforce selected decisions. ABSL adds a shared model and export path, with adapter-specific compatibility that must be verified.

Model Captures Use case
DDD Domain What the system is
CBRL Requirements What the system must do
ABSL Agent behavior What an AI agent is allowed to do and how it behaves
  • agent — root
  • personality — prose description of the agent’s voice
  • capability — a discrete behavior the agent can perform (with embedded guardrails)
  • guardrail — discriminated: deny / allow / escalation / budget / rate_limit
  • trigger — event → capability binding
  • memory-policy — scopes (short-term / long-term) with TTLs and consent flags
  • trust-tier — bronze / silver / gold / experimental, with rate limits and approval rules

Stored as models/absl.json. See the absl schema page for the normative JSON Schema and committed sample files.