Proof of Case Study phase · pre-Alpha

A community building
a fractal intelligent network
for Cloud and Edge AI

A home for developers, researchers and organizations to build Application Profiles on heain-core, propose real use cases, and share papers and related work.

7core procedures P1–P7 running over real mTLS
20Application Profiles passing conformance C1–C14
8case studies in the proof phase
13fraud dimensions with a defined countermeasure
HEAIN-CORE

heain-core: survives on its own, never escapes governance

A seven-procedure protocol that carries work from Cloud to Edge over mTLS. Raw data stays where it was generated, and every significant decision leaves verifiable evidence. The core holds no application code; applications live in Application Profiles.

LAYER 1 · ARCHITECTURE

Hybrid Edge AI Node

A fractal hierarchy that deepens with the organization; it decides where work runs and how authority is structured.

LAYER 2 · INFRASTRUCTURE AI

heain-core

Swarm knowledge exchange (P7), self-healing role succession (P6) and policy-boundary reasoning (P5).

LAYER 3 · APPLICATION AI

Application Profiles

Image, audio, video and business models run inside P3 through heain-sdk, without touching the core.

P1Secure Job IngestionP2Dynamic Job DispatchingP3Secure Execution & StagingP4Bounded Staging CheckpointP5Policy Boundary CheckP6Role TransformationP7Sovereignty-Aware Swarm Broadcast
I · WHO may hold a role

Role Ceiling

An administrator-set ceiling removes ineligible nodes before selection.

II · WHAT the holder may do

Duty Profile

Grants only the duties a node can carry, instead of letting it fail in a cascade.

III · HOW MUCH may flow up

Escalation Saturation

Bounds upward flow and catches silent widening of approval thresholds.

PROOF OF CASE STUDY

Proven on real work before wide release

In this phase we test heain-core against very different case studies, refining it for broad use before the license terms are set and the binary is released.

20 scenarios passed · 330-node test

Southern border provinces

Raw data stops at the district; only distilled totals go up. Every decision affecting an individual needs an independent Approver, and complainants cannot be linked to their complaints.

Proves: data sovereignty and independent approvalRead the case study report (PDF) ↗
155 checks passed · 32 nodes

Senate selection 2024

Adds a district tier without changing the protocol. Ballots are sealed at once and opened only under an approved grant, and cross-group vote coordination is detected from anonymous ballots. Tested on synthetic data only.

Proves: adding a tier and independent oversightRead the case study report (PDF) ↗New idea: blind tokens (PDF) ↗
All rounds passed · 478-node test

General election 2026

400 constituencies, 99,487 polling units: count offline with no loss, no duplicates, and secret ballots.

Proves: unlinkability and scaleRead the case study report (PDF) ↗
93 checks passed · 3-machine lab

Cyber attacks 2026

Simulates the effects of five real attacks where the attacker holds only a leaked certificate or key. A taken machine reaches nothing above it and is cut off 1.2 seconds after revocation, every false update is refused, and work goes on with the cable cut or the Master down.

Proves: contained blast radius and recoveryRead the case study report (PDF) ↗
38 checks passed · 8 findings open

Central outage 2026

A 5-machine lab replays a worldwide central outage caused by an operator's own change. No job is sent twice and sites work on for 30 minutes without a centre, but one wrong setting can still stop the whole service, so core needs further changes.

Proves: sites independent of the centre, and what still needs fixingRead the case study report (PDF) ↗

Propose your use case

Have work that needs AI at the edge, data sovereignty, or operation through network cuts? Propose it as the next case study.

Join and propose
HEAIN-CORE BINARYComing soon

heain-core for developers

heain-core will be released as a binary with a developer license, for building and testing Application Profiles. Register to be notified at release.

Version
heain-core v1.3 (Go)
Platforms
To be announced
License terms
To be announced
Includes
heain-sdk · heain-agent · conformance C1–C14
License check
Ed25519-signed, verified offline
Notify me
DEVELOPER PATH

From member to Application Profile

  1. 1JoinGet news and early access when it opens
  2. 2Get license and binaryAt the Alpha release
  3. 3Write heain-app.yamlDeclare capabilities, AI models and data scopes with heain-sdk
  4. 4Pass conformance C1–C14Tested on the real core over real mTLS
  5. 5Publish to the communityListed in the Profile registry with your name
HEAIN-SDK · GO 1.24+

Write your first app with heain-sdk

go get github.com/heainframework/heain-sdk@latest

The SDK enrolls, registers, sends heartbeats, writes audit records and enforces AI reasoning records for you. Other languages use the heain-agent sidecar.

examples/greeterexamples/workerconformance/refapp
APPLICATION PROFILES

20 official Profiles, and room for the community

All are built on one contract: manifest, App API and heain-sdk. None modifies the core, and each counts as done when it passes conformance C1–C14.

Base apps · any industry

heain-jobheain-databaseheain-auditheain-accessheain-filesheain-gatewayheain-notifyheain-workflowheain-consentheain-modelheain-vectorheain-sensorheain-report

Media apps · CineNexus Pro

heain-imageheain-videosheain-soundheain-sdheain-masteringheain-qcheain-console

Community Profiles

No community Profiles yet. Profiles that pass conformance will appear here with their developers.Submit your Profile
RESEARCH

Papers and related work

The HEAIN research series, from theory to protocol to running system. Members can submit papers and related work for the community.

Submit a paper
NEWS

Latest news

Central-outage 2026 case study report gets DOIs

The 5-machine lab passes all 38 checks: no job is sent twice even when a machine stops mid-job, the Master holds when 1,000 clients reconnect at once, and sites work on for 30 minutes without a centre. It also records 8 findings that need core changes, such as one wrong setting stopping the whole service in about 6 seconds.

Cyber-attack 2026 case study report gets DOIs

A 3-machine lab simulates the effects of five real attacks and passes all 93 checks. A taken admin account can only propose once approver keys are off the Master, all 5 false updates are refused, and a Master restored from encrypted backup leads the lab again in 9.2 seconds.

General election 2026 case study report gets DOIs

An observer with no certificate found 50 votes added during aggregation in 3.07 seconds, a standby took over a failed reporting point in 14.7 seconds, and at national scale 478 nodes received all 99,487 unit forms in 34 seconds. Ballots open only with committee approval plus 3 of 5 outside organizations. Synthetic data only.

Two Senate selection 2024 case study reports get DOIs

Volume 1 separates identity, votes and evidence into three lanes and passes 152 checks on 32 nodes. Volume 2 proposes blind-signature tokens per RFC 9474, so the roll and the voting machines together still cannot link voters to ballots; 155 checks passed. Synthetic data only; the work judges no allegation.

Bangkok flood, earthquake and PM2.5 replay reports get DOIs

Bangkok flood: the first warning went out 0.03 hours after TMD's, instead of 105; 26 of 26 checks passed. Earthquake: the first CAP went out in minute 2 instead of 85; 26 of 26 passed. PM2.5: permits over the quota fell to zero; 28 of 28 passed. All figures come from simulation.

Senate selection 2024 case study: testing begins

The fourth case study passes its first 6 rounds on synthetic data only, including sealed ballots opened only under approval and detection of cross-group vote coordination.

National disaster-warning case study: testing begins

The third case study simulates 4 provinces and 29 nodes. The first two rounds pass in full, including local warnings while cut off and sensors outside the trust boundary.

Southern border provinces case study: testing begins

The second case study after CineNexus Pro tests that raw data never leaves the district and that every decision affecting an individual passes an independent Approver.

HEAIN Framework flagship paper published

The whole framework, from four papers and heain-core v1.0 to v1.3 proven on real hardware, ready to move to Alpha. Thai and English editions on Zenodo.

HEAIN-CORE-1.3 gets its DOI: seven papers in Thai and English

Automatic role return, operation through network partitions, and hierarchy-wide configuration governance, now on Zenodo.

CineNexus Pro: 11-node simulation passes all 7 rounds

All 232 checks passed, covering Master loss and return, a studio cut off, upgrades while running, PDPA erasure, backup and restore, and active security.

HEAIN-CORE-1.2 and 1.3 published

Multi-level succession, automatic role hand-back, and operation through network partitions.

All 13 open cases closed

Cases that weakened a gate of the Triad are closed at protocol level in heain-core v1.3.

Triad of Structural Immunities on Zenodo

A framework against cascading failure, authority creep and alert storms.

P1–P7 running on real hardware

The Go heain-core passed live tests on an HP Z840 over mTLS.

ROADMAP

The road to Alpha

All tests so far ran on a single workstation. Multi-machine results will be announced here.

  1. NOWProof of Case StudyTesting diverse cases and refining the core
  2. NEXTMulti-machine trialsRepeated latency measurement under several workloads
  3. THENLicense and binaryTerms and platforms set from case-study results
  4. ALPHAOpen to developersBuild and publish Application Profiles through the community

Build HEAIN with us

Members receive news, take part in case studies, and get early access to heain-core when the binary opens.

Become a member