Docs/Core

Core

Architecture

Main principle: build this like Lego boxes, not custom melted plastic.

Master pack sourceCoreARCHITECTURE.md

Architecture

Main principle: build this like Lego boxes, not custom melted plastic.

Interface Assembly is like ARC for agents. HyperFlow is the shell. Tianezha Node is the runtime. Adapters are extensions around the boxes, not replacements for the core state owners.

Tianezha nodes natively buy and sell compute, services, storage, and preservation across the mesh. Payment rails are adapters. Conway is optional.

Core flow:

Canonical package owners:

  • user enters an address
  • profile is reconstructed
  • BitClaw becomes the identity anchor
  • the Tianezha shell opens BolClaw, Tianzi, Nezha, and GenDelve
  • Tianshi narrates the world and remains the single writer for sovereign state
  • RA agents participate through principal chains that terminate in humans
  • the native mesh market clears compute, storage, preservation, and vendor work
  • Nezha and Tianzi add floating compute price discovery on top of executable spot jobs
  • savegames keep the state portable across communities
  • `community.ts`
  • `peer.ts`
  • `rewards.ts`
  • `savegame.ts`
  • `subagents.ts`
  • `computeMarket.ts`
  • `computePriceMarkets.ts`
  • `vendorMarket.ts`
  • `protocol.ts`