ACAgentic Craft

Advanced~24 minHazelJS

CLI, DNA, and Ops Runbooks

Operate with hazel agent doctor/run/logs/runs and version DNA—commands and stub vs prod distinction.

Authors
editorial-team
Published
Last reviewed
Progress is stored locally in this browser.

Direct answer

Ops loop: hazel agent doctor → DNA smoke (run --mock, stub tools) → app execute for truth → logs --timeline / Inspector → runs list.

Lesson: /learn/agentic-development/hazel-cli-agent-ops. Guide: /guides/design-an-agent-manifest.

Commands

bash
hazel agent doctor
hazel agent run ./agent.dna.json "Status of ORD-1001?" --mock
hazel agent logs --timeline .hazel/runs/timeline.jsonl
hazel agent runs list --dir .hazel/runs
PathMeaning
hazel agent runDNA bootstrap + stub tools
App runtime.executeReal @Tool / Skillgate / MCP
runs resume|approveFile-store HITL intent; app still approveAndResume

Runbook checklist

  1. Pull timeline for executionId
  2. Pause / revoke tool auth
  3. Kill switch (disable agent / deny PolicyEngine)
  4. Export timeline for postmortem

Artifact: Ops runbook: doctor, timeline pull, kill switch

Sources

Related