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

Decision Runtime

Decision Runtime (@hazeljs/decision) performs closed-set decide() judgments with confidence and policy. The default provider is hazel-agent. Confidence never means permission — Gatekeeper still authorizes side effects.

01Architecture placement

Decide layer between Run and Govern: Runtime → Decision → Gatekeeper → Tool. See the Decision guide.

02Create a Decision Runtime

typescript
import { createDecisionRuntime } from '@hazeljs/decision';

const runtime = createDecisionRuntime(/* providers + policy */);
const decision = await runtime.decide({ /* closed set */ });