New: Decision Runtime — closed-set judgments for Agent OS. Read the guide →
HazelJS LogoHazelJS

AI Agent Governance

AI agent governance is how organizations control what agents may intend, decide, and do. HazelJS chains Skillgate (capabilities), Decision Runtime (closed-set choices), Gatekeeper (authorization), and timelines (audit).

01What it is

Governance is the policy path from intent to side effect. HazelJS makes that path explicit so “the model wanted to” never silently becomes “the tool ran.”

Agent
 ↓
Intent
 ↓
Policy / Decision
 ↓
Authorization (Gatekeeper)
 ↓
Tool
 ↓
Audit (timelines)

02Problem it solves

  • OpenAPI dumps expose write paths agents should never see
  • Soft prompt rules are not enforceable authorization
  • Approvals need durable queues, not Slack DMs that vanish on crash
  • Auditors need timelines that show allow / deny / require-approval outcomes

03How you use it today

  • Skillgate — curated skills from OpenAPI/modules; read/write/approval classes
  • Decision Runtime — closed-set decide(); confidence informs policy, never grants permission
  • Gatekeeper — allow / deny / require-approval before tool execution
  • DNA policies — packaged with the agent contract
  • Timelines / logs — JSONL run history via hazel logs

04Where it sits in the stack

Governance wraps the runtime’s tool path. Related commercial page: AI agent security. Entity pages: Skillgate, Gatekeeper, Decision Runtime.

05Boundaries

  • Confidence never means permission — Gatekeeper still authorizes
  • Governance is not a hosted GRC suite or SOC2 product claim
  • Prompt-injection “immunity” is not claimed

06FAQ

Skillgate vs Gatekeeper?
Skillgate curates what capabilities exist. Gatekeeper authorizes each call (allow / deny / require-approval).
Can Decision Runtime approve a refund?
It can recommend a closed-set option. Gatekeeper + HITL still authorize the side effect.
Where is the narrative article?
AI agent governance explained.

07Skillgate registration

typescript
import { Skillgate } from '@hazeljs/skillgate';
import { ToolRegistry } from '@hazeljs/agent';

const gate = Skillgate.fromOpenApi(spec, {
  // classify read / write / approval
});
gate.register(new ToolRegistry(), 'api-concierge');