Specification overview

A role contract, not a permission grant.

HATS describes portable operational roles. It keeps the role definition, its worker, the active assignment, runtime policy, and evidence distinct so each can be evaluated on its own terms.

Status

Read the version label before making a claim.

v0.1

Current published baseline

HATS v0.1 uses hats.dev/v0.1. Its baseline manifests, schemas, examples, and conformance materials remain available as the current published draft.

v0.2

Proposed review draft

HATS v0.2 uses a distinct wire version and a principal-neutral RoleProfile. It is not a silent replacement for v0.1, a ratified standard, or a claim of broad implementation compatibility.

Use precise language

Schema validation can establish whether a document has the expected shape and local invariants. It does not establish that a runtime applied the role, that an action was authorized, or that an audit record is independently verified.

This site publishes an overview and selected documentation. The canonical repository and machine-readable schemas are not yet publicly available.

Ecosystem

Informative mappings, not certified integrations.

These adapter notes describe possible mappings. They do not establish tested compatibility with a host, provider, or protocol implementation.

Informative adapter

Model Context Protocol

The MCP mapping requests named servers under capability_requests.mcp_servers; the runtime independently decides what to expose.

Informative adapter

Agent2Agent (A2A)

An A2A bridge may carry a DelegationPacket. The target receives a new envelope and does not inherit unrestricted permission.

Informative adapter

OpenTelemetry

Adapter notes suggest custom hats.* trace attributes; they are not claimed as upstream OpenTelemetry GenAI conventions.

Informative adapter

AGENTS.md

An AGENTS.md file may provide repository context, but it is not a Hat and grants no authority, approvals, or audit contract.

Core model

The role, the worker, and the work are different things.

TermPurposeKey boundary
Hat / RoleProfileA versioned definition of a job: mission, duties, instructions, materials, requested authority, outputs, and continuity.It is not the worker and it does not create permission.
PrincipalThe human, AI, service, workflow, robot, or hybrid worker associated with a role.Presentation guidance does not establish identity or authority.
RoleAssignmentA published role pinned to a principal, organization or context, and a period.An assignment may exist without an active session.
ActivationPlanAn authorized host’s execution-specific role projection and loading plan.A plan is different from a general role definition.
ApplicationReceiptAn attributed report about applying an exact plan and its components.A receipt is an issuer assertion, not activation by itself.
ApprovalRequest / HandoffRecordRecords for a bound approval decision or a transfer or delegation event.They must be connected to active authority and runtime state.

Scope

What HATS standardizes, and what remains external.

Within the specification

  • Portable role documents and their versioned identity.
  • Role, assignment, activation, approval, handoff, material, and memory boundaries.
  • Schema and document-level conformance requirements.
  • Guidance for enforcement, audit, and runtime evidence claims.

Outside the specification

  • Authentication, account provisioning, and user-interface choices.
  • Actual authorization grants, credential brokering, and secret storage.
  • Database, object-storage, and tenant-boundary enforcement.
  • A universal runtime, installed integration, or implementation certification.

Reading path

Move from concept to detail.

Concepts

See the separation between persona, role, policy, gateway, and audit.

Read concepts →

Format

Learn the v0.1 and proposed v0.2 document shapes and pinning rules.

Read format →

Conformance

Understand what document checks prove and what requires runtime evidence.

Read conformance →