Gizzi Core

Gizzi Core (@allternit/gizzi-core) is the shared primitive library that underpins Gizzi Code and the Allternit agent runtime. It bundles brand constants, an in-memory event bus, .gizzi/ workspace management, semi-formal verification helpers, and Ink-based UI boot components. The package is fully type-checked and ships with an integration test suite.

Overview

Use Gizzi Core when you are building:
  • A custom CLI or surface on top of Gizzi Runtime.
  • A local agent workspace that persists identity, memory, and conventions across sessions.
  • A plugin or tool that needs to publish and subscribe to runtime events.
  • A verification pipeline that combines empirical testing with logical reasoning.

Installation

If you are working inside the Allternit monorepo, import it as a workspace dependency:

Usage

Brand constants

Centralized product copy and identifiers keep all surfaces consistent.

Event bus

Publish and subscribe to typed events across decoupled components.

Workspace management

Initialize and read the .gizzi/ directory, the flat OpenClaw-compatible agent identity format used by Gizzi Code.
Workspace.init creates the following files when they do not already exist:

Verification

Register verifiers and run empirical or semi-formal checks.

UI boot banner

ShimmeringBanner is an Ink/React component used for the Gizzi Code boot animation.

Exported modules

Type-check, test, and build

Error handling

Most methods return Promise and throw standard Node.js errors (ENOENT, EACCES) or internal verification errors. The event bus catches subscriber errors, logs them, and continues notifying remaining subscribers.
  • Gizzi Runtime — the execution engine that consumes these primitives
  • Gizzi Code CLI — the terminal surface built on Gizzi Core
  • CommRails — the agent communication substrate
  • Skills — capability registry used by Gizzi Runtime