Skip to content

ZAR-Zig-Agent-Runtime Documentation

Full documentation for ZAR-Zig-Agent-Runtime, the Zig runtime port of OpenClaw.

Status Snapshot

  • RPC surface in Zig: 175 methods
  • Pinned tri-baseline parity gate:
  • Go baseline (v2.14.0-go): 134/134
  • Original OpenClaw baseline (v2026.3.13-1): 100/100
  • Original OpenClaw beta baseline (v2026.3.13-beta.1): 100/100
  • Union baseline: 141/141 (MISSING_IN_ZIG=0)
  • Gateway events union baseline: 19/19 (UNION_EVENTS_MISSING_IN_ZIG=0)
  • Latest upstream release snapshot (docs drift gate reference):
  • Original OpenClaw baseline (v2026.3.13-1): 100/100
  • Original OpenClaw beta baseline (v2026.3.13-beta.1): 100/100
  • Union baseline: 141/141 (MISSING_IN_ZIG=0)
  • Latest local validation: 352/352 main tests + 298 passed / 1 skipped bare-metal host tests
  • Latest published edge release tag: v0.2.0-zig-edge.29
  • License posture: repo-wide GPL-2.0-only with Linux-style SPDX headers on repo-owned source and script files
  • Toolchain lane: Codeberg master is canonical; adybag14-cyber/zig provides rolling latest-master and immutable upstream-<sha> Windows releases for refresh and reproducibility.
  • Recent FS1 progress (2026-03-06):
  • runtime recovery posture surfaced in status, doctor, doctor.memory.status, agent.identity.get, and maintenance RPCs
  • doctor.memory.status now exports the Go-visible health envelope
  • agent.identity.get now exports stable startedAt and gateway authMode
  • status now exports Go-visible summary keys additively

Documentation Map

  • Getting started and local development workflow
  • Architecture and runtime composition
  • Package publishing, registry configuration, and install fallbacks
  • Full feature coverage by domain
  • Strict FS2 provider/channel matrix
  • Strict FS3 memory/knowledge matrix
  • Strict FS4 security/trust matrix
  • Strict FS5 edge/wasm/finetune matrix
  • RPC method family reference
  • Security, diagnostics, and remediation model
  • Browser/auth integration model (Lightpanda-only)
  • Telegram command and polling behavior
  • Memory and edge capability surfaces
  • CI/release flows and deployment operations
  • GitHub Pages publishing workflow
  • FS5.6 repo-wide license refresh