Loa Hounfour banner
0xHoneyJar 0xHoneyJar

Loa Hounfour

AI community

Description

a schema-only protocol library defining the wire format for services that need typed, validated contracts between AI agents, gateways, and runtimes.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

@0xhoneyjar/loa-hounfour

[![Version](https://img.shields.io/badge/version-8.5.2-blue.svg)](CHANGELOG.md) [![License](https://img.shields.io/badge/license-AGPL--3.0-green.svg)](LICENSE.md) [![Schemas](https://img.shields.io/badge/schemas-234-purple.svg)](SCHEMA-CHANGELOG.md)

Documentation current as of v8.5.2

Constitutional protocol contracts for an AI agent economy. TypeBox schemas with dual JSON Schema 2020-12 output.

What This Is

loa-hounfour is a **constitutional protocol library** for an AI agent economy. It defines the wire format, governance rules, and economic constraints for services coordinating AI agents, gateways, and runtimes. Every TypeBox schema compiles to a standalone JSON Schema 2020-12 file, enabling cross-language validation in Python, Go, Rust, or any JSON Schema-compliant environment.

**What it does**: Typed schemas, runtime validation, cross-field invariant checks, constraint DSL with evaluator builtins, formal conservation properties, governance layer.

**What it does NOT do**: No runtime, no transport, no HTTP server, no model invocation. Schemas and validation only.

Reference consumers include [loa-finn](https://github.com/0xHoneyJar/loa-finn) (runtime) and [loa-freeside](https://github.com/0xHoneyJar/loa-freeside) (gateway). Any service needing typed AI coordination contracts can consume this package independently.

Why

  • Schema drift: Without a shared contract, services diverge silently.
  • Protocol divergence: Typed schemas catch incompatibilities at build time, not in production.
  • Cross-language validation: JSON Schema 2020-12 output works in any language ecosystem.
  • Constraint DSL: Formal rules (conservation laws, temporal ordering, state machine transitions) enforced by an evaluator with 36 builtins.

Inventory

Metric Value Source
Schema files 234 src/schemas/**/*.ts + src/governance/**/*.ts + others
Module barrels 9