Hyperon Wiki Extensions

Draft — This content has not been approved for publication.
  • Applications: Domain-specific deployments: bioinformatics, social robotics, mathematics, and game AI.
  • Publications: Browsable index of all books, papers, and preprints — from Hyperon-era research (2020–present) through the legacy OpenCog corpus.
  • Reference: Cross-cutting indexes: technical companions, implementation families, publication maps, and a GitHub repositories catalog.
  • Ecosystem: The organizations building on Hyperon — from the ASI Alliance and SingularityNET to research partners, robotics companies, and applied ventures.
  • Glossary: Defines technical terms and internal language used within the ecosystem.
  • MeTTa Variants: Non-Index MeTTa runtime variants and adjacent compiler tooling (e.g., MeTTaTron).

Approved by Lake Watkins on 2026-06-09
Authors: Ben Goertzel

Hyperon is SingularityNET's open-source platform for Artificial General Intelligence, designed to progress from here to AGI and ultimately to beneficial ASI (Artificial Superintelligence). Building on decades of AGI research, Hyperon provides a unified neurosymbolic framework where diverse cognitive processes — symbolic reasoning, probabilistic inference, neural learning, evolutionary search, and attention allocation — interoperate over shared memory to produce emergent general intelligence.

Unlike narrow AI systems optimized for individual tasks, Hyperon is designed as a composable infrastructure in which multiple learning and reasoning algorithms collaborate through a principle called cognitive synergy. Each algorithm addresses a fundamental requirement of general intelligence, but it is their interaction — sharing representations, guiding each other's search, and co-evolving within a common knowledge substrate — that is intended to enable the system to tackle problems none could solve alone.

Architecture at a Glance

Hyperon's architecture spans five interoperating layers that correspond to this wiki's five main sections:

  • Knowledge Representations (AtomSpace) — A typed, content-addressed metagraph that serves as shared memory and control plane. Atoms represent symbolic data, relationships, truth values, motives, and executable code in a unified structure where code and data are interchangeable. AtomSpace can be implemented on multiple backends, from the high-performance MORK engine (prefix-tree-based, with large speedups over previous implementations) to the DAS (Distributed AtomSpace) for decentralized operation.
  • MeTTa — Meta-Type Talk, a homoiconic programming language that serves as the native "language of thought." MeTTa operates directly over AtomSpace as graph transformations, enabling reflective self-modification, nondeterministic inference, and seamless interoperation between symbolic and neural components. Multiple implementations exist: PeTTa (high-performance Prolog-based), Hyperon Experimental (reference Rust implementation), JeTTa (JVM), MeTTa-Morph (Scheme), and MeTTaTron (F1R3FLY-native).
  • Hyperon AI Algorithms — A library of cognitive modules authored in MeTTa: PLN for probabilistic reasoning under uncertainty, ECAN for economic attention allocation, MOSES for evolutionary program synthesis, MetaMo for compositional motivation, NARS-based systems for open-ended reasoning, and integration layers for LLMs and neural networks.
  • Cognitive Architecture & Research (PRIMUS) — The meta-architecture that orchestrates these components into a unified cognitive system. PRIMUS defines how goal-directed and ambient cognitive loops cooperate, how attention and resources flow between modules, and how the system maintains coherence while self-modifying. Recent theoretical advances include weakness-based simplicity priors, geodesic inference control, TransWeave for cross-domain transfer, and WILLIAM for adaptive compression.
  • ASI:Chain Runtime Environment — A blockchain runtime for decentralized deployment, compiling MeTTa into cryptographically-secured, content-addressed cognitive workloads that scale from a single machine to a distributed network (detailed below).

The ASI Chain

For decentralized deployment, Hyperon compiles MeTTa into targets running on ASI Chain — a blockchain runtime designed for AGI workloads. ASI Chain provides cryptographically secured execution, content-addressed provenance, and the ability to scale cognitive processes from a single machine to a distributed network. Its F1R3FLY engine renders concurrent process calculi for scalability, while MeTTaCycle orchestrates AGI workloads. The whitepaper describes ASI Chain as targeting "native inference settlement" — verifying cognitive state transitions rather than just token transfers.

Neural-Symbolic Integration

Hyperon bridges symbolic and neural paradigms through two complementary approaches:

  • Outside integration (current) wraps existing neural models (LLMs, vision systems, embedding models) as Spaces within AtomSpace, exposing their outputs for symbolic reasoning and compositional planning. This is implemented via the MeTTa-Motto library.
  • Inside integration (experimental) via QuantiMORK proposes encoding neural network structures — wavelet-structured tensors, weight matrices, activation patterns — directly into the MORK PathMap, enabling predictive-coding-style local learning updates without backpropagation.

Key Resources

Explore Further

Approved by Anna on 2026-05-02

Cognitive synergy is the foundational design principle of Hyperon: the idea that general intelligence emerges not from any single algorithm but from the cooperative interaction of multiple specialized cognitive processes sharing a common knowledge substrate. It is both a theory of how minds work and an engineering methodology for building AGI systems.

The Core Insight

Human cognition integrates perception, reasoning, memory, attention, motivation, language, and learning into a unified system where each process continuously informs and strengthens the others. A purely logical reasoner struggles with grounding; a purely statistical learner struggles with compositionality; a purely evolutionary system struggles with directed search. But when these approaches operate over shared representations and guide each other's processing, capabilities emerge that none could achieve independently.

In Goertzel's formulation from Building Better Minds: cognitive synergy occurs when multiple cognitive processes — each handling a different aspect of intelligence — cooperate in a way that their combined capability exceeds the sum of their individual contributions. This is not mere parallelism. It is deep interoperation: one process generating hypotheses that another evaluates, one process identifying attention-worthy patterns that another reasons about, one process learning representations that another uses to plan.

How Synergy Is Designed Into Hyperon

Hyperon's architecture is engineered to enable cognitive synergy through three mechanisms:

  • Shared AtomSpace: All cognitive processes read from and write to the same typed metagraph. When PLN derives a new inference, it becomes available to MOSES for program synthesis, to ECAN for attention reallocation, and to pattern mining for structural analysis. Co-location in shared memory reduces the integration overhead that plagues systems where components communicate through narrow APIs or message buses.
  • Common representational language: MeTTa provides a single language in which reasoning rules, evolutionary fitness functions, attention policies, and motivational goals can all be expressed, examined, and combined. Because code is data in MeTTa, one cognitive process can inspect and modify the programs of another.
  • PRIMUS orchestration: The PRIMUS cognitive architecture defines how cognitive processes cooperate within two meta-dynamics: goal-directed loops (where specific objectives drive coordinated processing) and ambient loops (where background maintenance — attention spreading, pattern discovery, memory consolidation — keeps the system's knowledge fresh and well-organized).

Critical Synergies

Some of the most important synergistic interactions designed into Hyperon include:

  • PLN + MOSES: Logical inference generates candidate hypotheses; evolutionary search breeds programs to test them. PLN can evaluate the logical consistency of MOSES-generated programs, while MOSES can evolve inference control strategies for PLN.
  • ECAN + PLN: Attention allocation guides which inferences are worth pursuing (avoiding combinatorial explosion), while inference results inform which atoms deserve increased attention.
  • Pattern Mining + Neural Networks: Mined patterns from AtomSpace can serve as structural priors for neural architectures, while neural embeddings can guide the pattern mining search.
  • MetaMo + All Processes: The motivational framework evaluates which cognitive goals are most urgent and allocates resources accordingly, creating a self-regulating economy of cognitive effort.

Why Cognitive Synergy Is "Tricky"

As discussed in Building Better Minds (Chapter 8), cognitive synergy may explain a puzzling feature of AGI research: the difficulty of measuring partial progress. If intelligence emerges primarily from the interaction between cognitive processes rather than from any individual process, then a system with three out of five components may show dramatically less capability than one with all five — even though it is only "two components away." This creates a perception of sudden capability jumps that are actually the result of crossing synergy thresholds.

This insight has practical consequences for Hyperon development: the system's true capabilities may only become apparent when enough components are integrated and interoperating, not when individual components are benchmarked in isolation.

Key References

  • Goertzel, B. et al. (2012). Building Better Minds, Chapter 8: Cognitive Synergy
  • Goertzel, B. (2025). Hyperon for AGI⇒ASI Whitepaper, §4: The PRIMUS Cognitive Architecture



Discussion

Approved by Ursula Addison on 2026-05-04

AtomSpace is the foundational data structure at the heart of Hyperon — a typed, content-addressed metagraph that serves as both shared memory and control plane for all cognitive processes. It is the substrate in which knowledge, code, inference results, attention values, motivational states, and neural representations all coexist and interoperate.

Status: The AtomSpace concept and Space API abstraction are current — implemented in the reference Hyperon codebase (hyperon-experimental) and in MORK. The reference AtomSpace, MORK, and DAS backends are operational. Neural Spaces are experimental; blockchain-backed Spaces via F1R3FLY are proposed.

What Is a Metagraph?

An AtomSpace is a generalization of a hypergraph. Where a traditional graph connects pairs of nodes with edges, and a hypergraph allows edges to connect arbitrary sets of nodes, a metagraph goes further: edges (Links) can themselves be members of other edges, and both nodes and links carry typed values. This recursive structure naturally represents the nested, multi-relational knowledge structures required for general intelligence — logical implications, probabilistic dependencies, procedural programs, and attention metadata can all be expressed as atoms within the same graph.

Every atom in AtomSpace is typed. The type system encodes data categories (symbols, numbers, expressions), function types, and logical connectives. The scope and enforcement of type constraints varies across backends — the reference implementation and MORK each handle types somewhat differently. MeTTa programs can introspect and manipulate the type structure itself.

Code Is Data

A defining feature of AtomSpace is that programs and data share the same representation. A MeTTa function definition, a PLN inference rule, a MOSES-generated program, and a factual knowledge assertion are all atoms in the metagraph. This homoiconicity enables:

  • Reflective self-modification: Programs can inspect, analyze, and rewrite themselves and each other at runtime.
  • Cognitive synergy: Different cognitive processes naturally share representations because they all operate on the same substrate.
  • Inference over code: PLN can reason about the properties of programs just as it reasons about factual knowledge.

The Space API

AtomSpace is accessed through a universal Space API that abstracts over multiple possible backends. A Space supports operations for adding, removing, querying, and pattern-matching atoms. Current and planned backends:

  • Reference AtomSpace (current) — The Rust implementation in hyperon-experimental, providing the canonical semantics for MeTTa execution.
  • MORK (current) — The high-performance core. A prefix-tree (trie-map) based engine achieving large speedups over previous implementations. MORK stores S-expressions as paths in a radix tree, enabling near-constant-time content-addressed lookup. Its Zipper Abstract Machine (ZAM) supports multi-threaded parallel execution. (See MORK for details.)
  • DAS (Distributed AtomSpace) (current) — A distributed backend that decouples persistence (Long-Term Importance) from immediate dynamics (Short-Term Importance via an Attention Broker). DAS enables AtomSpaces spanning multiple machines with Hebbian learning-based resource allocation. (See DAS for details.)
  • Neural Spaces (experimental) — Wrappers that expose neural network models (LLMs, embedding models, vision systems) as queryable Spaces, enabling symbolic processes to interact with neural outputs through the same API.
  • Blockchain-backed Spaces (proposed) — AtomSpaces persisted on ASI Chain via F1R3FLY's RSpaces, providing cryptographic provenance and decentralized access.

Content Addressing

Atoms in AtomSpace are content-addressed — identified by what they contain rather than where they are stored. In MORK, this is implemented through content identifiers (CIDs) derived from the atom's path in the trie structure, enabling efficient verification and deduplication. Content addressing is what makes distributed and decentralized AtomSpaces practical: the same atom resolves to the same identifier regardless of which node stores it.

Truth Values and Metadata

Atoms carry associated values beyond their structural content:

  • Truth Values: Probabilistic confidence measures used by PLN for uncertain reasoning. Hyperon supports multiple truth value types including simple (strength, confidence), distributional, and indefinite truth values.
  • Attention Values: Short-Term Importance (STI) and Long-Term Importance (LTI) scalars managed by ECAN to regulate which atoms receive computational resources.
  • Custom Values: Arbitrary typed metadata can be attached to atoms, including tensors, timestamps, provenance records, and motivational annotations.

Design

In Hyperon, AtomSpace is an abstract interface (the Space API) that can be implemented on different backends — from MORK's prefix trees to DAS's distributed storage — while preserving consistent semantics for cognitive processes built on top of it.

Technical Deep Dive: AtomSpace — metagraph formal definition, Atom/Value distinction, TruthValue-to-FloatValue transition, Space API abstraction, classical C++ vs. Rust implementations, performance architecture, and historical design decisions.

Key References

  • Goertzel, B. (2025). Hyperon for AGI⇒ASI Whitepaper, §2: Hyperon System Design
  • Goertzel, B. (2012). Building Better Minds, Ch. 19–20: Knowledge Representation
  • trueagi-io/hyperon-experimental — Reference Rust AtomSpace in Hyperon

 



Discussion

 

Approved by Anna on 2026-04-27
Authors: Ben Goertzel

A central challenge of AGI is unifying the complementary strengths of neural networks (pattern recognition, generalization from data, continuous optimization) with symbolic systems (compositional reasoning, interpretability, knowledge representation). Hyperon's design addresses this through a dual-path architecture offering both pragmatic interoperability and deep structural unification.

Status: Outside integration is current (implemented via MeTTa-Motto). Inside integration (QuantiMORK) and the advanced techniques below are proposed — described in the 2025 whitepaper as research directions.

Two Paths to Integration

Hyperon provides two complementary modes of neural-symbolic integration, suited to different stages of system maturity:

Outside Integration: Pragmatic Wrapping (Current)

In outside mode, existing neural models — large language models, vision transformers, embedding models, reinforcement learning agents — are wrapped as Spaces within Hyperon's Space API. Symbolic processes can query neural models through the same interface they use to query the AtomSpace:

  • An LLM can be queried for semantic parsing, translating natural language into MeTTa expressions that PLN can reason about.
  • An embedding model can provide similarity-based retrieval, enabling pattern mining to discover structural regularities in neural representations.
  • A vision system can populate AtomSpace with perceived objects and relationships, grounding symbolic reasoning in perceptual data.

The MeTTa-Motto library implements this approach, embedding LLMs (ChatGPT, Claude, open-source models) as programmable MeTTa functions with support for stateless wrappers, stateful dialogue agents, retrieval-augmented generation, and functional calling. (See MeTTa-Motto for details.)

The whitepaper also describes Symbolic Transformer Heads as part of outside integration: mined patterns from AtomSpace serve as structured templates augmenting standard transformer attention heads, using contrastive symbolic alignment to ensure patterns survive memory compression in compressive transformer architectures.

Inside Integration: QuantiMORK (Proposed)

The 2025 whitepaper proposes a more radical inside mode called QuantiMORK, in which neural network structures would be natively encoded within the MORK metagraph rather than wrapped. This would represent neural network components — weight matrices, activation patterns, wavelet-structured tensors — directly as paths and values in MORK's prefix-tree database.

Proposed properties of QuantiMORK:

  • Neural networks as native graph operations: Forward passes, weight updates, and activation propagation expressed as graph traversals within MORK, making them amenable to the same attention allocation and reasoning processes that operate on symbolic content.
  • Predictive coding without backpropagation: Local updates where each layer adjusts based on prediction errors from adjacent layers, compatible with Hyperon's distributed, asynchronous execution model.
  • Unified attention: Neural activations and symbolic knowledge would share the same graph, allowing ECAN's attention allocation to operate uniformly across both.

Weakness-Based Stability (Proposed)

To address the risk that neural learning updates could destabilize symbolic knowledge (and vice versa), the whitepaper explores weakness-based regularization: a quantale-valued simplicity metric applying uniformly to both neural weight updates and symbolic inference steps. The whitepaper investigates conditions under which combined updates would approximately commute — a desirable property for reliable integration, though the extent of this commutativity in practice remains an open research question.

Key References

  • Goertzel, B. (2025). Hyperon for AGI⇒ASI Whitepaper, §7: Neural-Symbolic Synergy in Hyperon



Discussion

Approved by Ursula Addison on 2026-05-15

Authors: Linas Vepstas + Adrian Borucki (two-author)

Repo: opencog/vision @ dbaf2fe (main, last commit 2025-06-10)

Status: [SCAFFOLDING-NOT-PIPELINE]. Minimal AtomSpace-OpenCV type-wrapper layer; demonstrates the wrapping pattern but is not an end-to-end perception pipeline. ~38 commits. Identified by the Perception/Neural-Symbolic cluster pilot Source 4 (2026-04-30).

What Vision Is

opencog/vision is a thin type-wrapper layer that exposes selected OpenCV image operations as AtomSpace atom types. It provides the smallest sufficient surface to call OpenCV from Atomese -- two support types and four operation Links -- plus end-to-end runner glue for the simplest use case (blur an image, write it to disk). It is NOT a perception pipeline: there is no controller, no learning loop, no temporal-sequence handling, no integration with downstream reasoners. The repo positions itself as an experimental scaffolding effort.

Wired Types (verified at dbaf2fe)

Six atom-types are wired into the build at opencog/atoms/vision/CMakeLists.txt:48-64:

TypeCategoryRole
ImageNodeSupportAtomspace handle for an image (file-path or in-memory).
ImageValueSupportCarries the OpenCV cv::Mat through Atomese evaluation.
ImageBlurLinkOperationGaussian blur / box blur.
ImageWriteLinkOperationWrite image to disk.
ImageFilter2DLinkOperation2D convolution with arbitrary kernel.
ImageHalfSizeLinkOperationDownsample by 2x.

Stub Not Wired (1)

ImageRectangleLink -- IMAGE_RECTANGLE_LINK is declared at atom_types.script:13 and the implementation files ImageRectangleLink.cpp/.hpp exist in opencog/atoms/vision/, but the type is excluded from the CMake source/header lists at CMakeLists.txt:48-64. The class compiles in isolation but is not part of any built target. [STUB-NOT-WIRED] per the cluster-pilot 3-state classification.

Unimplemented "More Plans and Ideas"

README.md:45-69 lists planned but unimplemented future operations: thresholding, HaarWaveletLink, and additional filter/edge-detection types. None have source files; none have atom_types.script entries. [UNIMPLEMENTED].

End-to-End Demo

The single end-to-end demo is examples/blur_and_write.py:24-35: load an image into an ImageNode, apply ImageBlurLink, route through ImageWriteLink to save. This demo verifies the AtomSpace ↔ OpenCV bridge works at all -- it does not demonstrate any nontrivial perception pipeline.

(Note: the Perception cluster pilot resolved a phantom-file claim against this demo. Gemini's reviewer initially cited examples/python/vision_example.py -- that file does not exist; the actual demo is at examples/blur_and_write.py:24-35 as Codex correctly cited. See V4-3 in the cluster-pilot reconciliation for details.)

Stack Identity: AtomSpace-Scheme/Python

opencog/vision sits on the AtomSpace-Scheme/Python stack -- C++ atom-type implementations + Python demo glue. No .metta files; no hyperon-experimental bindings. It is part of the broader Vepstas Hyperon-era research portfolio (sensory + agents + motor + evidence + atomese-simd are sole-authored by Vepstas; vision is co-authored with Adrian Borucki, ~25 of 38 commits).

What It Is NOT

  • NOT a perception pipeline. No camera capture loop, no temporal frame sequence, no downstream reasoner integration. Each operation is invoked imperatively per-call.
  • NOT a perception controller. No attention/gaze model, no salience, no foveation. It is an Atomese view onto OpenCV operations.
  • NOT a ECAN consumer. Pickaxe verification: zero STI/LTI/AttentionValue/AttentionBank token references. No attention-allocation hooks.
  • NOT a 2013 DeSTIN-FISHGRAM revival. Pickaxe verification: zero fishgram/sushigram/DeSTIN tokens at HEAD or in git history.
  • NOT wired to opencog/sensory. Bidirectional cross-grep confirmed zero references between vision and sensory at the cluster-pilot snapshot.

Cluster-Narrative Position

opencog/vision is a thin scaffolding within the broader Hyperon-era perception/embodiment tradition (Tradition 8 candidate per Sensory's trilateral framing). It demonstrates the AtomSpace-OpenCV wrapping pattern but does not build out a complete vision system. The cluster-pilot 2013 DeSTIN-FISHGRAM-PLN architecture revival check returned [PARTIAL-FRAGMENTED-REVIVAL]: vision contributes a perception fragment that is not connected to any downstream miner or reasoner.

Quick Start

# Build (requires AtomSpace + cogutil + OpenCV)
cd vision && mkdir build && cd build && cmake .. && make && sudo make install

# Run the blur+write demo (Python; requires opencog Python bindings)
python examples/blur_and_write.py

Open Questions

  • Does the scaffolding pattern generalize? The 6 wired types validate the AtomSpace-OpenCV wrapping pattern but cover only the simplest OpenCV operations. Whether the pattern scales to the broader OpenCV API (multi-frame, machine-learning pipelines, calibration) is not yet demonstrated.
  • Why is ImageRectangleLink stubbed? The [STUB-NOT-WIRED] state suggests in-progress work; whether this is a deliberate hold or simply abandoned scaffolding is not documented in the repo.
  • Bridge to opencog/sensory? Vision and sensory both belong to the Vepstas portfolio but operate independently. Whether they should be unified -- ImageValue flowing through OllamaNode, or sensor inputs producing ImageValues -- is an open architectural question.

References

  • Cluster-pilot extraction archive: scripts/archive/perception_pilot/source4_hyperon_neural_perception/ (Surface B reconciliation, R4.6).
  • Sister cards: Sensory (broader Hyperon-era perception bridge); Neural Pattern Mining (Tradition 7 candidate); Attention and Motivation (Vepstas role upgrade context).
  • Editorial-terminology context: 2013 FISHGRAM paper.



Discussion

Approved by Anna on 2026-04-27

A system capable of general intelligence must eventually be capable of reflecting on and improving its own cognitive processes. Hyperon's design treats self-modification as a first-class capability governed by formal mathematical guarantees — aiming to ensure that a system improving itself remains aligned with its intended goals and values.

Status: Proposed. The self-modification pipeline described here is a research design from the 2025 whitepaper (§8). It has not yet been implemented end-to-end. The mathematical foundations (weakness theory, geodesic control) are under active development; the deployment pipeline and governance mechanisms remain architectural proposals.

The Challenge

Self-modifying AGI presents a fundamental tension: the same capability that enables a system to improve itself could allow it to alter its goals, remove its safety constraints, or destabilize its own reasoning. Hyperon's proposed approach is to make self-modification transparent, auditable, and mathematically bounded.

The Proposed Five-Stage Self-Modification Pipeline

The whitepaper describes a disciplined pipeline for self-modification:

  1. Proposal: A modification is expressed as a typed metamorphism — a formal transformation with explicit pre-conditions, post-conditions, and type signatures. Because MeTTa is homoiconic (code is data), modifications to cognitive processes would be represented as atoms in AtomSpace, subject to the same reasoning and analysis as any other knowledge.
  2. Analysis: PLN and other reasoning processes would analyze the proposed modification for logical consistency, potential side effects, and alignment with current goal structures. The weakness metric would provide a quantitative bound on how much complexity the modification introduces.
  3. Simulation: The modification would be tested in a twin simulation — a sandboxed copy of the relevant AtomSpace subgraph where the modification can be applied and its effects observed without affecting the running system.
  4. Certification: Formal admission certificates would validate that the modification satisfies safety properties, verified using the same inference machinery (PLN over quantale-annotated factor graphs) that powers general reasoning.
  5. Deployment: Certified modifications would be deployed through staged rollout: shadow mode (running alongside the original), dual-run (both versions active with output comparison), and finally elevation to primary status — with rollback capability at every stage.

Goal Stability (Proposed)

The whitepaper proposes addressing goal stability through supermartingale potentials — Lyapunov-like mathematical functions that provably do not increase under permitted modifications. If a proposed change would increase the potential (indicating goal drift), it would be flagged for additional review or rejected. The aim is to transform goal stability from a philosophical concern into a tractable mathematical problem.

Global Regulators (Proposed)

The design envisions certain principles enforced globally across all cognitive processes:

  • Weakness bounds: All updates must satisfy quantale-valued simplicity constraints.
  • Geodesic effort: All control flow follows cost-aware geodesic paths balancing accuracy against simplicity.
  • Transparency: All modifications are logged with full provenance in content-addressed storage.

Decentralized Governance (Proposed)

When Hyperon operates on ASI Chain, self-modifications could become subject to multi-party governance — requiring approval from multiple stakeholders, community voting, or smart contract constraints encoding organizational policies.

Technical Deep Dive: Self-Modification and Safety — typed metamorphism formalism, supermartingale goal stability, five-stage pipeline details, lens laws, drift bounds, and decentralized governance.

Key References

  • Goertzel, B. (2025). Hyperon for AGI⇒ASI Whitepaper, §8: Planning for the AGI→ASI Transition
  • Goertzel, B. (2012). Building Better Minds, Ch. 18: Advanced Self-Modification



Discussion



Discussion

Approved by Ursula Addison on 2026-06-10
Authors: Ben Goertzel

Papers: Hyperon for AGI⇒ASI Whitepaper (2025), §9

Status: Active pilot efforts and research workstreams in four domains. Each at early stages with near-term milestones defined in the whitepaper.

Hyperon's development philosophy is to build real applications in diverse domains from day one, using each as both a testbed and a source of learning that benefits all others. Four domains are currently active — game AI, humanoid social robotics, bioinformatics, and mathematical reasoning. All connect to the same Hyperon+PRIMUS substrate, meaning advances in perception, reasoning, pattern mining, motivation, and transfer benefit every domain simultaneously.

Architecturally, multiple applications share common "collective knowledge" AtomSpaces while maintaining separate per-application AtomSpaces for task-specific processing. The same mathematical controls (weakness priors, geodesic f·g control) and the same neurosymbolic loop (Pattern Miner → WILLIAM → Symbolic Heads/PLN) operate uniformly across all domains.

Approved by Ursula Addison on 2026-05-21
Authors: Ben Goertzel
Contributors: Berick Cook

Papers: Hyperon for AGI⇒ASI Whitepaper (2025), §9.1

GitHub: Vereya (Minecraft mod), minecraft-demo (Python API), minecraft-experiments, AIRIS-client, axiom (AXIOM object-centric game-world agent)

Status: Active pilot. Minecraft integration operational via Vereya mod and tagilmo Python API. AIRIS demonstrated causal learning in Minecraft without pre-training. Sophiaverse and Neoterics playground are under development.

Games provide ideal sandboxes for testing perception, planning, tool use, dialogue, and social norms with rapid iteration and safe failure. Three environments are targeted:

  • Minecraft — A structured yet open world for integrating SubRep options with evolutionary program edits. The Vereya Fabric mod (Java 21) exposes game state via a network API; the tagilmo Python library provides high-level agent control.
  • Sophiaverse — Adds persistent identity, social contracts, and economic systems to the game AI substrate.
  • Neoterics — A deliberately constrained micro-world within Sophiaverse, optimized for baby-AGI development with short feedback loops, dense sensor coverage, and cheap resets.

Technical Architecture

The whitepaper describes the game interface operating through Spaces that mirror game state (voxels, entities, quests, markets) into AtomSpace as typed Atoms. Action affordances appear as SubRep options (navigate, craft, trade, negotiate) with MeTTa rules expressing pre/post-conditions. External LLMs handle narration and quest generation initially, with Symbolic Heads retrieving mined templates like task frames and recipes. PLN factor-graphs encode precondition networks and multi-step plans, with geodesic control scoring candidate steps.

AIRIS (Autonomous Intelligent Reinforcement Inferred Symbolism) has demonstrated causal learning in Minecraft — constructing deterministic environment models through direct interaction without pre-training, and self-correcting via scientific method application.

Additional Repos

  • Legacy: the earlier OpenAI-Gym RL agent (rocca) → History
  • axiom — AXIOM (Adaptive Expansion Object-Centric Models). JAX-based system for rapidly learning to play video games through object-centric representation learning — discovers and tracks objects from raw pixels using hierarchical slot mixture modeling with MPPI-based planning. Developed by VERSES AI. Relevant as a modern object-centric game-world agent architecture, though not directly integrated with MeTTa or AtomSpace.

Key References

  • Goertzel, B. (2025). Hyperon for AGI⇒ASI Whitepaper, §9.1: Game AI
  • AIRIS — causal machine learning system



Discussion

Approved by Ursula Addison on 2026-05-21
Authors: Ben Goertzel

Partners: Mind Children (education robot); Hanson Robotics (expressive humanoids — Sophia, Desdemona)

Papers: Hyperon for AGI⇒ASI Whitepaper (2025), §9.2

Status: Partnerships established with Mind Children and Hanson Robotics. Hyperon-native robotics integration is under development; the whitepaper (§9.2) describes the target architecture.

Humanoid social robotics provides a stress-test for PRIMUS: robots must combine perception, dialogue, motor control, and social norms seamlessly — from classroom tutoring to stage performance — without requiring a complete rewrite for each scenario.

Target Architecture (from Whitepaper)

The whitepaper describes a layered architecture: external audio/vision neural networks for initial perception, with progressive embedding of predictive coding layers for latency-critical paths (gaze estimation, lip-sync, gesture segmentation). Pattern Miner would discover conversational templates (adjacency pairs, tutoring frames) for Symbolic Heads to retrieve during speech decoding, while PLN enforces persona and safety constraints. MetaMo would budget the balance between exploration and de-escalation behaviors.

Motor control keeps low-level servo loops on the robot while SubRep options cover higher-level skills ("look at face", "nod", "hand-wave") with formal admission certificates. Geodesic control aligns dialogue steps with motion options so physical gestures support conversational goals. The whitepaper describes capability-gated on-device modification and safety dashboards tracking invariant bands for persona and etiquette.

Legacy implementation history — the original ROS/GHOST integration (Hanson Eva/Sophia, 2015–2017; loving-ai) → History

Key References

  • Goertzel, B. (2025). Hyperon for AGI⇒ASI Whitepaper, §9.2: Humanoid Social Robotics



Discussion

Approved by Ursula Addison on 2026-06-10
Authors: Ben Goertzel
Contributors: iCog Labs

Papers: Hyperon for AGI⇒ASI Whitepaper (2025), §9.3

GitHub: agi-bio (genomics/proteomics), biochatter-metta (NL-to-MeTTa queries), pubchem2metta (PubChem conversion), bio-semantic-parser (biological data parsing), bio-data-semantic-parsing (bio data semantic parsing pipeline)

Status: Active pilot. Data ingestion pipelines operational (agi-bio, biochatter-metta, pubchem2metta). End-to-end hypothesis generation on longevity datasets is a near-term milestone.

Biology is fundamentally structured as graphs: genes connect to proteins, proteins form pathways, pathways influence phenotypes, drugs modulate these relationships. Hyperon's graph-native architecture is well-suited to combining noisy biological graphs, mining meaningful motifs, running uncertain chains of reasoning, and proposing ranked hypotheses with clear rationales.

Data Pipeline

Data flows into AtomSpace through BioSpace adapters that transform omics matrices into node attributes, protein-protein interactions and pathways into edges, literature triples into assertions with provenance, and clinical outcomes into noisy links with confidence scores. Everything receives CIDs, making merges auditable and reproducible. Existing tools include:

  • agi-bio — legacy genomic and proteomic data exploration (C++/Scheme/Python), extended by MOZI.AI as SingularityNET services
  • biochatter-metta — Converts natural language biomedical questions into MeTTa queries against the Human BioAtomspace knowledge graph using LLMs with BioCypher schema
  • pubchem2metta — Converts PubChem RDF chemical data into MeTTa format via BioCypher adapters
  • bio-semantic-parser — iCog Labs biological data parsing tool for extracting structured representations from biological datasets
  • bio-data-semantic-parsing — iCog Labs pipeline for semantic parsing of biological data into knowledge graph-compatible formats

Proposed Hypothesis Generation Pipeline

The whitepaper describes a pipeline where Pattern Miner identifies motifs (e.g., "gene A ↔ pathway P ↔ phenotype Y with drug D evidence") ranked by I-surprisingness, WILLIAM promotes frequent subgraphs to reusable templates, PLN factor-graphs propagate graded truth over ontologies and experimental results, and MOSES/GEO-EVO evolves predictive programs. TransWeave would move mechanism components across cohorts or omics platforms when matches hold strong.

The proposed output would be ranked hypothesis packs — auditable CID bundles containing mechanism graphs, predictors, expected biomarkers, and counter-evidence — with experiment selection guided by geodesic f·g control.

Key References

  • Goertzel, B. (2025). Hyperon for AGI⇒ASI Whitepaper, §9.3: Bioinformatics



Discussion

Approved by Ursula Addison on 2026-06-10
Authors: Ben Goertzel

Papers: Hyperon for AGI⇒ASI Whitepaper (2025), §9.4

GitHub: chaining (forward/backward chaining, proof synthesis), mm2metta (Metamath→MeTTa converter), mmverify.py (Metamath verifier)

Status: Existing tools include MeTTa forward/backward chaining (chaining repo), Metamath-to-MeTTa conversion (mm2metta), and a Metamath proof verifier (mmverify.py). The whitepaper reports an MM2 proof verifier implemented inside MORK as a fast graph-local proof kernel. The broader automated conjecturing pipeline described below is the proposed research direction.

Most automated theorem proving focuses on proving stated goals, but mathematicians spend much of their time on conjectures — formulating new definitions, lemmas, and "what if" hypotheses that later get proved, refuted, or refined. Hyperon targets automated conjecturing as the primary goal, then uses formal proof for validation.

Proposed Architecture (from Whitepaper)

The whitepaper describes a pipeline built around the MORK/MM2 proof verifier kernel:

  • Knowledge base: Definitions, theorems, proofs, and proof tactics stored as Atoms. A MathSpace wrapper would handle import/export to external proof assistants while maintaining CIDs and equivalence classes internally.
  • Pattern discovery: Pattern Miner finds proof motifs (induction schemas, commutativity tricks) ranked by surprisingness. WILLIAM promotes frequent motifs to templates for tactic prediction and proof search heuristics.
  • Conjecture engine: Conjecturing framed as geodesic search over typed expressions — forward factors from known lemmas, backward factors from gaps to close, weakness bias toward simple statements, TransWeave reuse of isomorphic substructures from neighboring theories.
  • Proof verification: Candidate conjectures enter a pipeline — schematic proofs with PLN hints, external provers when helpful, then validation in the MM2 proof verifier on MORK.

Current Tools

  • chaining — MeTTa implementations for automated reasoning: forward/backward chaining, program synthesis, PLN integration, Metamath reasoning, and modal logic experiments
  • mm2metta — Converts Metamath formal proofs (.mm) to MeTTa (.metta) format, bridging formal verification with Hyperon's symbolic reasoning
  • mmverify.py — Pure Python Metamath proof verifier (~700 lines), providing an independent verification baseline

Key References

  • Goertzel, B. (2025). Hyperon for AGI⇒ASI Whitepaper, §9.4: Mathematical Theorem Proving with Automated Conjecturing



Discussion



Discussion

Draft — This content has not been approved for publication.

Peer-reviewed publications, books, and foundational research underpinning the Hyperon framework. This section provides a browsable index organized by era and topic — from the current Hyperon-era papers to the legacy research corpus. Individual component cards throughout the wiki also link to their relevant papers directly.

For structured reading guides that map source material to wiki content, see Publication Maps under Reference.

Books

Coverage at a Glance

BucketWhat it meansExamples
Dedicated book-length publication cards already existThese titles already have standalone cards under Publications and are the fastest way to orient a reader.The Hidden Pattern; Probabilistic Logic Networks; Engineering General Intelligence; Real World Reasoning
Important Ben Goertzel books already referenced elsewhere, but not yet broken out hereThese works are already named in +Papers and should be the next priority if book coverage is expanded.The Structure of Intelligence; Chaotic Logic; Artificial General Intelligence; OpenCog: A Software Framework for Integrative AGI; The AGI Revolution

Dedicated Book-Length Publication Cards

Important Ben Goertzel Books Not Yet Broken Out as Standalone Publication Cards

  • Goertzel (1993), The Structure of Intelligence: A New Mathematical Model of Mind — early mathematical formalization of patternist mind theory.
  • Goertzel (1994), Chaotic Logic: Language, Thought, and Reality from the Perspective of Complex Systems Science — logic and cognition as self-organizing dynamical process.
  • Goertzel, Pennachin (eds.) (2007), Artificial General Intelligence — early AGI field survey volume.
  • Goertzel, Hart (eds.) (2008), OpenCog: A Software Framework for Integrative Artificial General Intelligence — book-length OpenCog architectural snapshot.
  • Goertzel, Lian, Arel, de Garis, Chen (eds.) (2012), Theoretical Foundations of Artificial General Intelligence — formal foundations volume.
  • Goertzel (ed.) (2014), AGI: Concept, State of the Art, and Future Prospects — state-of-the-field overview.
  • Goertzel (2016), The AGI Revolution: An Inside View of the Rise of Artificial General Intelligence — strategic and historical overview.

Papers

Coverage at a Glance

Bucket What it means Representative items
Standalone publication cards already exist These works already have dedicated cards under Publications and are linked throughout the sections below. The Hidden Pattern; Probabilistic Logic Networks; OpenCog Hyperon: A Framework for AGI at the Human Level and Beyond; Meta-MeTTa; MetaMo: A Robust Motivational Framework for Open-Ended AGI
Already represented in RawData or Publication Maps, but not yet promoted to standalone publication cards These papers are already in the wiki's research pipeline and remain good candidates for future publication-card promotion. A General Theory of General Intelligence; What Kind of Programming Language Best Suits Integrative AGI?; Patterns of Quantum Cognition II: Quantum Logic as a Foundation for AGI
Internal or prepublication design-note layer These items are valuable to technical readers, but they are not all conventional public papers and should be treated separately from the peer-reviewed / arXiv publication set. Hyperseed-1: Core Ontology; HyperClaw: Cognitive Orchestration via Attention-Metaprotocol

Investor / Overview Shortlist

Research Trajectory

Era Focus Key Publication
Philosophical (1993–2006) Patternist theory of mind The Hidden Pattern (2006)
Experimental (2006–2014) CogPrime cognitive engine Engineering General Intelligence (2014)
Foundational (2021–2023) MeTTa language and MORK substrate OpenCog Hyperon Whitepaper (2023)
Applied (2024–2025) Multi-domain AGI deployment AGI-25: PRIMUS, MetaMo, PLN/NARS papers
Orchestration (2026–) Hybrid AGI coordination HyperClaw: Cognitive Orchestration (2026)

Books

  • Goertzel (1993), The Structure of Intelligence: A New Mathematical Model of Mind — Springer. First formal treatment of the patternist philosophy of mind that underlies Hyperon's design.
  • Goertzel (1994), Chaotic Logic: Language, Thought, and Reality from the Perspective of Complex Systems Science — Plenum Press. Introduces logic as a dynamic, self-organizing process — a direct precursor to MeTTa's non-deterministic evaluation model.
  • Goertzel (2006), The Hidden Pattern: A Patternist Philosophy of Mind — BrownWalker Press. Foundational philosophy underlying AtomSpace and MeTTa knowledge representation designs.
  • Goertzel, Pennachin (eds.) (2007), Artificial General Intelligence — Springer. First systematic survey of the AGI research field.
  • Goertzel, Hart (eds.) (2008), OpenCog: A Software Framework for Integrative Artificial General Intelligence — Atlantis Press.
  • Goertzel, Lian, Arel, de Garis, Chen (eds.) (2012), Theoretical Foundations of Artificial General Intelligence — Atlantis Press.
  • Goertzel et al. (2009), Probabilistic Logic Networks — Springer. Full PLN formalism and applications.
  • Goertzel, Pennachin, Geisweiller (2014), Engineering General Intelligence, Vols. 1–2 — Atlantis Press. Full CogPrime architecture specification.
  • Goertzel (ed.) (2014), AGI: Concept, State of the Art, and Future Prospects — Collection of AGI direction essays.
  • Goertzel (2016), The AGI Revolution: An Inside View of the Rise of Artificial General Intelligence — Humanity+ Press.

Hyperon Yellow Papers (Formal Specifications)

Technical design documents and formal proofs defining core Hyperon components. Items marked [internal] are not yet publicly available.

  • Potapov (2021), MeTTa Specification — Formal language specification for Meta-Type Talk. [design doc]
  • Meta-MeTTa: an operational semantics for MeTTa — Meredith, Goertzel, Warrell, Vandervorst (2023). Formal semantics and MeTTa-to-Rholang compilation proof. arXiv:2305.17218. See Publication Map.
  • Graphs, Metagraphs, RAM, CPU — Vepstas (2023). AtomSpace metagraph formalism, content addressing, sheaf theory bridge. v2.1.1, 70pp.
  • A Selectivity Theorem and a Hierarchical Corollary — Goertzel (2025). Formal foundations for MORK/ZAM efficiency. See Publication Map.
  • Goertzel (2024), Hyperseed-1: Core Ontology — Ontological seeding specification for Hyperon knowledge bases. [design doc, internal]
  • Goertzel (2026), HyperClaw: Cognitive Orchestration via Attention-Metaprotocol — Design proposal for attention-based meta-layer coordination across Hyperon subsystems. [design doc]

Hyperon Era (2020–Present)

Architecture & Framework

  • OpenCog Hyperon: A Framework for AGI at the Human Level and Beyond — Goertzel et al. (2023). Primary architectural whitepaper. arXiv:2310.18318. See Publication Map.
  • OpenCog Hyperon: A Practical Path to Beneficial AGI and ASI — Goertzel (2025). AGI-25, Springer LNCS vol. 16057. [peer-reviewed]
  • Goertzel (2021), A General Theory of General Intelligence — Metagraph-theoretic AGI foundations. arXiv:2103.15100
  • Goertzel (2021), Reflective Metagraph Rewriting as a Foundation for an AGI "Language of Thought" — arXiv:2112.08272
  • Goertzel (2021), Patterns of Cognition: Cognitive Algorithms as Galois Connections Fulfilled by Chronomorphisms on Probabilistically Typed Metagraphs — arXiv:2102.10581
  • Goertzel (2023), Bridging AGI Theory and Practice with Galois Connections — AGI-23. Springer LNCS 13921. Theoretical sequel to the 2017 synergy paper, providing modern categorical formalization. [peer-reviewed]
  • Goertzel (2017), Toward a Formal Model of Cognitive Synergy — arXiv:1703.04361. The foundational paper defining synergy as a mathematical relationship for overcoming computational stuckness.

MeTTa Language & Formal Semantics

  • Meredith, Goertzel, Warrell, Vandervorst (2023), Meta-MeTTa: an operational semantics for MeTTa — arXiv:2305.17218. See Publication Map.
  • Warrell, Potapov, Vandervorst, Goertzel (2022), A Meta-Probabilistic-Programming Language for Bisimulation of Probabilistic and Non-Well-Founded Type Systems — AGI-22. arXiv:2203.15970 [peer-reviewed]
  • Potapov, Bogdanov (2022), Univalent Foundations of AGI are (not) All You Need — AGI-21. Springer LNCS 13154, pp. 184–195. [peer-reviewed]
  • Goertzel (2020), What Kind of Programming Language Best Suits Integrative AGI? — AGI-20. arXiv:2004.05267
  • Cody (2025), MeTTa-TMPAL: MeTTa-Based Architecture for a Self-writing Process Algebra of Learning — AGI-25. [peer-reviewed]

Knowledge Representation & AtomSpace

  • Vepstas (2023), Graphs, Metagraphs, RAM, CPU — AtomSpace metagraph formalism, content addressing, sheaf theory bridge. v2.1.1, 70pp.
  • Vepstas (2022), Purely Symbolic Induction of Structure — AGI-22. Springer LNCS 13539, pp. 134–144. [peer-reviewed]
  • Goertzel (2025), A Selectivity Theorem and a Hierarchical Corollary — Formal foundations for MORK/ZAM efficiency. See Publication Map.

Predictive Coding & Cognitive Architecture

Reasoning (PLN, NARS, NACE)

  • Geisweiller, Yusuf (2023), Probabilistic Logic Networks for Temporal and Procedural Reasoning — AGI-23. ResearchGate [peer-reviewed]
  • PLN and NARS Often Yield Similar strength × confidence Given Highly Uncertain Term Probabilities — Goertzel (2024). arXiv:2412.19524
  • Hammer, Isaev et al. (2024), Non-Axiomatic Reasoning for an Autonomous Mobile Robot — IEEE ICRA 2024, pp. 17079–17085. [peer-reviewed]
  • Isaev, Hammer (2025), NARS-GPT: An Integrated Reasoning System for Natural Language Interactions — IntelliSys 2025, Springer. [peer-reviewed]
  • Hammer, Isaev et al. (2023), Comparative Reasoning for Intelligent Agents — AGI-23. Springer LNCS 13921, pp. 126–135. [peer-reviewed]
  • Isaev, Hammer (2023), Memory System and Memory Types for Real-Time Reasoning Systems — AGI-23. Springer LNCS 13921, pp. 147–157. [peer-reviewed]
  • Johansson, Hammer, Lofthouse (2025), Arbitrarily Applicable Same/Opposite Relational Responding with NARS — AGI-25. [peer-reviewed]
  • Geisweiller, Yusuf (2023), Rational OpenCog Controlled Agent — AGI-23. Springer LNCS 13921, pp. 95–104. [peer-reviewed]

Motivation & MetaMo

Neural-Symbolic Integration & LLMs

Formal Verification & Mathematics

Evolutionary Learning (MOSES)

  • Looks (2006), Competent Program Evolution — Doctoral dissertation, Washington University in St. Louis.

Applied AGI Roadmap

Papers and proposals positioning Hyperon capabilities in specific real-world domains.

  • Finance: Goertzel (2026), Architecture of Automated Crypto-Finance Agent — Design proposal for ASI Alliance decentralized finance agent stack. [design doc]
  • Robotics: Hammer, Isaev et al. (2024), Non-Axiomatic Reasoning for an Autonomous Mobile Robot — IEEE ICRA 2024, pp. 17079–17085. [peer-reviewed]
  • Longevity: See Rejuve Bio for ongoing biomedical knowledge graph research applying Hyperon to longevity data pipelines.
  • Mathematics: Integrating Formal Verification into an AGI Cognitive Architecture — Z. Goertzel, B. Goertzel et al. (2025), AITP 2025. [peer-reviewed]
  • AI Alignment: Goertzel et al. (2025), The Elowyn: Quest of Time AI Alignment Framework — Internal whitepaper defining the alignment-via-strategic-play thesis for the EARTHwise partnership. See Elowyn. [internal doc]

OpenCog Legacy (2006–2014)

AGI Theory & Architecture

Reasoning (PLN & ECAN)

Motivation & Emotion (OpenPsi/MetaMo)

Natural Language Processing

Pattern Mining & Perception

Embodiment & Virtual Worlds

Evolutionary Learning (MOSES)

Background Resources



Discussion



Discussion

Draft — This content has not been approved for publication.

Reference layers for researchers, editors, and AI agents working with the Hyperon Wiki. These cards provide cross-cutting indexes, repository catalogs, and source-to-card mappings that support the editorial process.



Discussion

Draft — This content has not been approved for publication.

The Hyperon ecosystem encompasses the companies, research labs, and open-source projects building products and services on top of the Hyperon framework, MeTTa language, and the broader ASI Alliance infrastructure. Unlike a traditional software ecosystem organized around a single vendor, Hyperon's ecosystem reflects its origins in the OpenCog project — a decentralized research community where multiple independent organizations contribute to a shared AGI infrastructure.

At the organizational apex sits the ASI Alliance, formed in June 2024 through the merger of SingularityNET, Fetch.ai, and Ocean Protocol (which later withdrew). The Alliance provides the governance umbrella, the unified ASI token, and the ASI Chain blockchain runtime. Beneath this, TrueAGI serves as the dedicated engineering arm developing Hyperon's core — the MeTTa language, MORK kernel, and PLN reasoning — while F1R3FLY provides the formal semantics and blockchain execution layer through Rholang and the rho calculus.

Applied ecosystem partners build domain-specific products on this shared infrastructure: Rejuve in longevity and bioinformatics, Magi in AGI tooling and education, EARTHwise in sustainability knowledge systems, SophiaVerse in gamified AI worlds, and Mind Children and Hanson Robotics in social robotics. iCog Labs provides contract R&D across multiple domains, contributing 49+ repositories. NuNet and Singularity Finance handle decentralized compute and DeFi infrastructure respectively.

Contents



Discussion

Short definitions of the core technologies, languages, and concepts in the Hyperon ecosystem. Each term links to its full page; the definitions here are the same ones shown in the hover tooltips on links throughout the wiki.

Core Concepts

  • Hyperon — Hyperon (OpenCog Hyperon) is SingularityNET's open-source AGI framework, built around the MeTTa language and the AtomSpace metagraph atop decades of OpenCog research.
  • MeTTa — MeTTa (Meta-Type Talk) is Hyperon's native AGI programming language, unifying functional, logic, and probabilistic computation over a self-modifying knowledge metagraph (the AtomSpace).
  • AtomSpace — The AtomSpace is Hyperon's core knowledge store: a weighted, typed metagraph (hypergraph) of atoms over which MeTTa programs query, pattern-match, and rewrite.

MeTTa Runtimes & Implementations

  • Hyperon Experimental — The official trueagi-io reference implementation of MeTTa: a small-step Rust interpreter with a MeTTa-coded standard library, serving as the canonical Hyperon runtime.
  • PeTTa — A high-performance MeTTa runtime by Patrick Hammer that compiles to Prolog, using tabling and 'smart dispatch' to eliminate slow dynamic method lookups.
  • MeTTaTron —

    The F1R3FLY-native MeTTa compiler: it lowers MeTTa programs into MeTTa-IL, providing the route by which MeTTa code reaches the F1R3FLY / ASI Chain execution stack for concurrent, distributed, blockchain-native execution.

  • JeTTa — An experimental JVM/Kotlin MeTTa compiler that leverages the JVM for high-performance multithreading and custom Space implementations, aimed at enterprise deployment.
  • MeTTa-Morph — A translator that compiles a substantial subset of MeTTa to Chicken Scheme via hygienic macros, trading full coverage for native-compiled execution speed.
  • MeTTaLog (Legacy) — An earlier Prolog-hosted MeTTa implementation (metta-wam) by Douglas Miles, running MeTTa on a Warren Abstract Machine; now largely superseded but historically important.

Knowledge Representations

  • DAS (Distributed AtomSpace) — DAS (Distributed AtomSpace) is the scalable, distributed knowledge backend for Hyperon, serving atoms across processes and machines with pluggable storage engines.
  • MORK (MeTTa Optimized Reduction Kernel) — MORK (MeTTa Optimized Reduction Kernel) is a high-performance, single-process triemap substrate for storing and querying large MeTTa atom collections, built on the PathMap trie.
  • PathMap — PathMap is the foundational trie (prefix-tree) by Luke Peterson that underlies MORK, encoding atoms as paths for fast set-based query and storage.
  • Sensory — The opencog/sensory project defines atom types that connect an AtomSpace to external data sources and streams (files, networks, LLMs) as first-class sensory channels.

AI Algorithms

  • AI-DSL — AI-DSL is a domain-specific language for formally describing and automatically composing AI services, developed for the SingularityNET marketplace.
  • AIRIS — AIRIS (Autonomous Intelligent Reinforcement Inferred Symbolism) learns explicit causal rules from experience, building a state graph an agent uses for curiosity-driven planning.
  • Concept Blending — Concept Blending computationally combines existing concepts into novel ones, with Hyperon prototypes spanning information-theoretic, genetic, and category-theoretic (colimit) approaches.
  • ECAN — ECAN (Economic Attention Networks) allocates limited compute by assigning atoms economic attention values (STI/LTI), focusing reasoning on what currently matters most.
  • MetaMo — MetaMo is a category-theoretic motivational framework that models an agent's drives and homeostatic self-regulation as composable goal dynamics over its cognitive state.
  • MeTTa-Motto — MeTTa-Motto is a library for integrating large language models into MeTTa, letting programs call and compose LLM prompts as grounded operations.
  • MeTTa-NARS — MeTTa-NARS is a MeTTa implementation of NARS (NAL levels 1-5), reasoning from incomplete evidence under the Assumption of Insufficient Knowledge and Resources.
  • MOSES — MOSES (Meta-Optimizing Semantic Evolutionary Search) is a program-evolution algorithm that learns compact, human-readable programs via estimation-of-distribution genetic search.
  • NACE — NACE (Non-Axiomatic Causal Explorer) is a pure-Python causal-learning agent, derived from AIRIS and adjacent to NAL, that explores and models its environment's dynamics.
  • Pattern Mining — Pattern Mining discovers frequent and surprising sub-structures (frequent subgraphs) in an AtomSpace, surfacing regularities that downstream reasoning and learning can exploit.
  • PLN — PLN (Probabilistic Logic Networks) is Hyperon's framework for reasoning under uncertainty, combining probability with logic so inference can handle incomplete and contradictory knowledge.
  • Semantic Parsing — Semantic Parsing covers Hyperon's pipeline for turning natural language into structured MeTTa/PLN knowledge, increasingly via LLM-to-logic translation rather than classical grammars.

Cognitive Architecture & Research

  • PRIMUS — PRIMUS (formerly CogPrime) is Hyperon's integrative cognitive architecture, wiring reasoning, attention, learning, and motivation modules into a unified AGI design.

ASI:Chain Runtime Environment

  • F1R3FLY — The concurrent, sharded execution layer powering ASI:Chain, grounded in the Rholang process calculus and using reified RSpaces with MORK PathMaps for storage.
  • MeTTaCycle — The AGI execution engine for ASI:Chain that orchestrates evolving AtomSpaces, using ChromaDB for embeddings and PeTTa for reasoning.
  • MeTTa-IL — MeTTa-IL (MeTTa Intermediate Layer), by Greg Meredith, performs semantic analysis on MeTTa programs and reifies them into a precise operational form that routes execution across the ASI:Chain stack.

Concepts & Terminology

General technical vocabulary used throughout the Hyperon ecosystem — the underlying ideas the named technologies above are built from.

  • Abduction — Inferring the most plausible explanation for an observation (the grass is wet, and rain would explain it, so it probably rained) — "inference to the best explanation."
  • Abstract Syntax Tree — A tree representation of a program's structure, with nodes for operations and operands; MOSES analyzes the AST to decide where knobs can vary.
  • Admission Certificate — A machine-checkable safety voucher attached to a proposed self-modification (or new skill/option): a record that it met the required criteria — bounded behavioral drift, preserved invariants, no loss of goal stability — before being allowed into the running system.
  • AGI — Artificial General Intelligence — AI systems with human-level cognitive abilities that can understand, learn, and apply knowledge across diverse domains.
  • AIKR — Assumption of Insufficient Knowledge and Resources — the foundational NARS premise that an intelligent agent must always reason and act under finite time, memory, and evidence.
  • Appraisal — In MetaMo, the process that updates an agent's mood and modulators in response to context — "what's happening and how much does it matter?" — paired with, but distinct from, decision.
  • Arrow Type — A function's type signature, written with the arrow → (e.g. (-> Number Number)), declaring its argument and result types. MeTTa uses arrow types for optional, gradual type-checking of definitions and applications — not to trigger evaluation (that is driven by = rules).
  • Artificial Curiosity — An exploration strategy that steers an agent toward the states it is least certain about. In AIRIS and NACE, the lowest-confidence predicted state becomes the next goal to investigate.
  • Atom — The basic unit of knowledge in AtomSpace and MeTTa. There are four kinds: Symbol (a name), Variable ($-prefixed), Expression (a parenthesized list of atoms), and Grounded (an atom backed by host-language data or code).
  • AtomDB — DAS's pluggable storage interface: the same distributed AtomSpace can sit on different backends (Redis + MongoDB, in-memory, MorkDB, RocksDB) behind one AtomDB API.
  • Atomese — Atomese is the S-expression language of the classical OpenCog AtomSpace, in which knowledge and programs are written directly as typed atoms. MeTTa is its Hyperon-era successor.
  • Attention Allocation — ECAN's core job: distributing a limited budget of attention (STI/LTI values) across atoms so the system spends computation on what currently matters most.
  • Attention Broker — DAS's distributed attention service: it stores and updates the STI/LTI (importance) values for atoms across the cluster — the distributed-systems counterpart to ECAN's in-process AttentionBank.
  • Attentional Focus — The set of atoms whose STI is above a threshold — effectively the system's working memory, where reasoning is concentrated.
  • AttentionBank — The AttentionBank is ECAN's ledger of attention: it records each atom's Short- and Long-Term Importance (STI/LTI) and conserves the system's fixed attention budget as importance spreads.
  • Backward Chaining — Goal-driven reasoning: start from a statement you want to prove and search backward for the facts and rules that would support it.
  • Bisimulation — A formal "behaves identically" equivalence between two systems: each can match the other's observable steps. Used to prove that compiling MeTTa to Rholang preserves behavior.
  • BlockDAG — A Directed Acyclic Graph of blocks that allows parallel block production, breaking the sequential bottleneck of traditional blockchain architectures.
  • Causal Reasoning — The ability to understand and model cause-and-effect relationships, enabling prediction and intervention planning.
  • CID — A CID (Content Identifier) is a hash-derived address that names data by its content rather than its location, so identical content always has the same identifier. Core to content-addressed storage.
  • CMA-ES — Covariance Matrix Adaptation Evolution Strategy — a powerful black-box optimization algorithm that adapts a search distribution over candidate solutions; one of the optimizers in Concept Blending's information-theoretic branch.
  • Cognitive Architecture — A blueprint that integrates the parts of a mind — perception, memory, reasoning, learning, attention, and action — into one working system. PRIMUS is Hyperon's cognitive architecture.
  • Cognitive Schematic — PRIMUS's basic unit of procedural knowledge: in this Context, performing this Procedure achieves this Goal, with probability p — written Context ∧ Procedure → Goal ⟨p⟩.
  • Cognitive Synergy — The emergent phenomenon where multiple specialized cognitive processes interact and enhance each other's capabilities beyond what any single process could achieve alone.
  • Combinator — A higher-order function that builds new functions purely by combining its arguments, with no variables of its own; AI-DSL's MeTTa track composes AI services using combinator algebra (combinatory logic).
  • Content Addressing — Identifying data by what it contains rather than by a location or ID. In AtomSpace, structurally identical atoms are automatically the same atom, giving free deduplication and authority-free naming.
  • CRDT — A CRDT (Conflict-free Replicated Data Type) is a data structure whose replicas can be updated independently and merged automatically without conflicts, enabling consistent distributed state.
  • Currying — Expressing a multi-argument function as a chain of single-argument functions. In MeTTa currying is explicit — it is not applied automatically (unlike Haskell).
  • Decentralized — A system architecture where control is distributed across multiple nodes rather than concentrated in a single authority, enabling censorship-resistant and fault-tolerant computation.
  • Deduction — Inferring a conclusion that must follow from general premises (every Human is Mortal and Socrates is Human, so Socrates is Mortal); in PLN the most confidence-preserving inference direction.
  • Deme — A subpopulation of candidate programs all exploring small variations of one program template; MOSES runs many demes in parallel and retires unproductive ones.
  • Dependent Types — A type system where types can depend on values, enabling more precise specifications and compile-time verification of program properties.
  • Effort Object — ASI Chain's resource-metering unit (like Ethereum "gas"): every computation and storage step costs effort objects, so decentralized MeTTa execution is economically bounded against abuse.
  • Embedding — A representation of data (text, an image, a concept) as a vector of numbers, positioned so that similar items land near each other; LLMs and "neural spaces" use embeddings for semantic similarity and search.
  • Evolutionary Search — An optimization approach inspired by biological evolution, using mutation, crossover, and selection to evolve solutions over generations.
  • Fitness — The score that ranks candidates in evolutionary search; in MOSES it balances how well a program performs against how simple it is (an Occam's-razor preference).
  • Forgetting — Discarding the least-important atoms (lowest LTI) when memory fills, so the knowledge store stays within capacity.
  • Forward Chaining — Data-driven reasoning: repeatedly apply inference rules to the facts you already know to derive new conclusions, working outward.
  • Frequent Subgraph Mining — Searching a large graph for substructures (subgraphs) that recur often; in Hyperon, the core of pattern mining over the AtomSpace metagraph.
  • GEO-EVO — GEO-EVO (Geodesic Evolutionary Optimization) is a proposed, not-yet-implemented reframing of MOSES evolution as optimal transport along geodesics in program space, integrated with TransWeave.
  • Geodesic — The least-effort path that advances from the current state toward a goal at roughly even cost per step (a forward/backward "Schrödinger-bridge" control rule). One notion of effort shared across inference, planning, and self-modification.
  • Gradual Typing — A type discipline that mixes checked and unchecked code: an atom may carry a declared type or remain a permissive wildcard (%Undefined%), so type checking is optional and incremental.
  • Grammar Induction — Learning a language's grammar automatically from data rather than hand-writing rules; in the Hyperon lineage via unsupervised statistical (mutual-information) learning and, more recently, LLM guidance.
  • Graph Neural Network — A neural network that operates directly on graph-structured data, learning from nodes and their connections; the neural paradigm of pattern mining (rejuve-bio's matcher-miner) uses GNNs.
  • Grounded Atom — An atom whose behavior is implemented in the host language (Rust or Python) rather than defined by MeTTa equations — for example arithmetic, file I/O, or a call into a neural network.
  • hash-consing — Hash-consing stores each distinct value only once and returns a shared reference for equal values, letting a system such as the AtomSpace deduplicate atoms and compare them cheaply by identity.
  • Hebbian Learning — A learning rule based on the principle 'neurons that fire together, wire together' — strengthening connections between co-activated elements.
  • Homeostasis — Keeping internal variables within a stable range by damping disturbances, so an agent's motivations settle rather than run away.
  • Homoiconicity — A language property in which code and data share a single representation, so a program can inspect and rewrite itself as ordinary data. In MeTTa, every program is itself a metagraph of atoms.
  • Hypergraph — A generalization of a graph where edges can connect any number of nodes, enabling representation of complex multi-way relationships.
  • hyperpose — hyperpose is PeTTa's superposition operator for nondeterministic branching: it evaluates alternative results in parallel, and is the mechanism under which ECAN's attention agents run on PeTTa.
  • I-Surprisingness — An information-theoretic "interestingness" score for a mined pattern: how far its observed frequency deviates from what you'd expect if its parts were independent — high surprise means a genuinely informative pattern, not just a common one.
  • Importance Spreading — How attention flows along links: an important atom passes some of its STI to its neighbors, so relevance radiates through related concepts — a form of spreading activation.
  • Induction — Generalizing from specific observations to a broader rule (these swans are white, so swans tend to be white); evidence-accumulating and less certain than deduction.
  • Knob — A tunable parameter attached to a position in a MOSES program template; turning knobs yields valid program variants, converting program search into structured numeric optimization.
  • Kolmogorov Complexity — The length of the shortest program that can reproduce a given object — a formal measure of its inherent complexity; WILLIAM's compression bounds are stated in these terms.
  • Link Grammar — A dependency-style grammar formalism (Sleator & Temperley) that parses a sentence by connecting words with typed "links"; the foundation of the legacy OpenCog NLP pipeline.
  • Merkle Trie — A tree data structure that combines a trie (prefix tree) with cryptographic hashing for efficient and verifiable storage of key-value pairs.
  • Metagraph — A generalized graph where edges (links) can connect not just nodes but also other edges, enabling representation of higher-order logic and nested relationships.
  • MindAgent — A MindAgent is an OpenCog scheduling unit — a process that runs repeatedly over the AtomSpace (for example an attention or inference agent), invoked in turn by the CogServer's cognitive cycle.
  • Minimum Description Length — A principle for choosing models: the best explanation is the one that lets you describe the data in the fewest bits (model plus data-given-model). WILLIAM treats pattern-finding as MDL compression.
  • MM2 — MORK's rewrite-rule execution model: MeTTa expressions compiled into (exec location pattern template) triples over the PathMap trie and run by a priority-ordered scheduler — fast at bulk forward chaining.
  • Modulator — A variable that tunes how an agent behaves rather than what it wants. Following Psi/MicroPsi, MetaMo's OpenPsi carries six: valence, arousal, approach, resolution, threshold, and securing (caution).
  • NAL — NAL (Non-Axiomatic Logic) is the term logic at the core of NARS, reasoning from incomplete, uncertain evidence using (frequency, confidence) truth values rather than from fixed axioms.
  • NARS — Non-Axiomatic Reasoning System — Pei Wang's theory of intelligence as reasoning under the Assumption of Insufficient Knowledge and Resources, using Non-Axiomatic Logic (NAL) with frequency/confidence truth values.
  • Neural Networks — Computing systems inspired by biological neural networks. In Hyperon, they are integrated with symbolic reasoning to form neural-symbolic hybrid architectures.
  • Non-Deterministic — A computation model where multiple possible execution paths exist simultaneously, enabling parallel search across solution spaces.
  • Object-Capability — A security model where the right to act is an unforgeable token you hold — you can only touch resources you've been handed a capability for. ASI Chain's MeTTa-IL and self-modification pipeline use it.
  • ONA — OpenNARS for Applications (Patrick Hammer) — a practical, real-time implementation of NARS for embedded/application use. Part of the patham9 NAL portfolio alongside NACE and MeTTa-NARS.
  • OpenPsi — The earlier OpenCog motivational framework, based on Dörner's Psi theory, that MetaMo descends from; it models behavior as the interplay of drives and modulators.
  • Overgoal — In MetaMo's MAGUS-derived goal hierarchy, a single slowly-varying top-level goal that defines an agent's enduring purpose — a global utility function that top-down gates all lower drives, amplifying aligned subgoals and suppressing conflicting ones, and is itself revisable by reflection.
  • Paraconsistent Logic — A logic that tolerates contradictions without collapsing (in classical logic, one contradiction lets you prove anything); used in Concept Blending so blended properties can resonate or cancel rather than break the system.
  • Pattern Matching — Querying knowledge by shape: a template containing variables is matched against stored atoms, returning every set of bindings that makes it fit.
  • posting list — A posting list is an index structure listing all the places a given key occurs; query engines intersect posting lists to find matches quickly. Used in MORK's trie-based indexing.
  • Probabilistic Inference — Reasoning under uncertainty where beliefs are represented with graded confidence values rather than binary true/false.
  • Process Calculus — A mathematical framework for modeling concurrent and distributed systems as collections of interacting processes.
  • Quantale — An ordered algebraic structure (a lattice with a join ⊕ and a product ⊗) that supplies the combination rules shared by Hyperon's weakness/simplicity measures and PLN truth values.
  • Rent and Wages — The economic metaphor driving ECAN: atoms pay "rent" (lose STI over time) and earn "wages" (gain STI when they prove useful), keeping the attention economy bounded and self-regulating.
  • REPL — Read-Eval-Print Loop — an interactive prompt where you type an expression, it's evaluated, and the result is printed; Hyperon Experimental ships a MeTTa REPL.
  • Revision — PLN's operation for merging two truth values about the same statement into a single combined belief, accumulating confidence as independent evidence piles up.
  • Rho-Calculus — A mathematical foundation for concurrent computation where programs are treated as asynchronous processes that execute in parallel.
  • RSpace — Rholang's reactive tuple-space store: data and continuations are matched and consumed like messages, so storage doubles as the concurrency and communication mechanism in F1R3FLY.
  • S-expression — The parenthesized (operator arg1 arg2 …) list notation MeTTa inherits from Lisp. Programs and data are both built from nested S-expressions (plus atomic symbols and variables) — the basis of MeTTa's homoiconicity.
  • ShardZipper — ShardZipper is a MORK/RAPTL mechanism for Merkle-based management of distributed, sharded atom storage, using confidence-weighted scoring to decide how to partition data across shards.
  • Space API — Hyperon's abstract interface to a knowledge store — match (query), add, remove, and replace — that many backends can implement (in-memory, MORK, DAS, and experimental neural or blockchain stores), so the same MeTTa program can run over different storage.
  • State Graph — AIRIS's internal world model: a graph of states it has predicted by applying its learned causal rules, which it searches to plan a path from the current state toward a goal.
  • STI / LTI — STI and LTI (Short- and Long-Term Importance) are the two attention values ECAN assigns each atom: STI tracks momentary relevance, LTI lasting usefulness — together they form its attention economy.
  • Superpose — A MeTTa operation that turns a set of values into multiple nondeterministic results at once (a "superposition"); its partner collapse gathers them back into a single set.
  • Symbolic Reasoning — A form of AI that manipulates human-readable symbols and rules to perform logical inference, as opposed to statistical pattern matching.
  • Term Rewriting — A model of computation that repeatedly replaces an expression matching a rule's left-hand side with its right-hand side. MeTTa evaluation is nondeterministic term rewriting over the AtomSpace.
  • Tokenizer — The parser component that turns raw text into atoms via (regex, constructor) pairs — e.g. matching a number and wrapping it as a Grounded atom.
  • Transfer Learning — Reusing knowledge learned on one task to do better or faster on a related task; TransWeave is Hyperon's framework for doing this across different cognitive paradigms with formal guarantees on what carries over.
  • Trie — A tree that stores sequences by sharing their common prefixes along paths (a "prefix tree"); the foundation of MORK's PathMap and of Merkle tries. Lookups walk the path step by step.
  • Truth Value — A two-number measure of belief attached to an atom. PLN uses strength and confidence; NARS uses frequency and confidence. The two conventions are related but not interchangeable.
  • Unification — The matching operation that finds variable bindings making two expressions equal. It is the core engine behind MeTTa queries and equation (rule) application.
  • URE — URE (Unified Rule Engine) is OpenCog/Hyperon's generic forward- and backward-chaining inference engine, applying declarative rewrite rules over the AtomSpace. PLN is one rule set that runs on it.
  • Value — Small, mutable, unindexed data attached to an Atom through a key-value store — truth values, probabilities, attention weights, sensor streams. The fast-changing counterpart to Atoms, which are the immutable, indexed graph structure.
  • WAM — Warren Abstract Machine — the standard virtual machine architecture for executing Prolog and logic programming languages efficiently.
  • WASM — WebAssembly — a binary instruction format for a stack-based virtual machine, enabling near-native performance in web browsers and other environments.
  • Weakness — A generalized-Occam measure of simplicity: a "weaker" hypothesis rules out fewer possibilities, so it applies more broadly and generalizes better. Hyperon's system-wide simplicity prior, shared by WILLIAM, PLN, and self-modification.
  • World Model — An agent's internal model of how its environment works and how its actions change it, used to predict outcomes and plan ahead without acting in the real world.
  • Zipper Abstract Machine — MORK's execution engine: a "zipper" cursor navigates and rewrites the triemap in place, applying MeTTa operations without copying the whole structure.

MeTTa Variants

Approved by Anna on 2026-04-30

GitHub / Documentation: https://github.com/F1R3FLY-io/MeTTa-Compiler

Description:

MeTTaTron is the F1R3FLY-native MeTTa compiler, providing a path from MeTTa into MeTTa-IL and serving as the MeTTa implementation most closely aligned with the F1R3FLY / ASI Chain execution stack. Within the broader Hyperon ecosystem, it represents an important route by which MeTTa programs can move toward lower-level runtime environments designed for concurrency, distributed execution, and blockchain-native settlement.

Where Hyperon Experimental functions as the reference implementation and PeTTa emphasizes high-performance symbolic execution, MeTTaTron is best understood as a compiler-oriented bridge between MeTTa source programs and the F1R3FLY-side execution model. This makes it especially relevant wherever MeTTa code must interoperate with MeTTa-IL, Rholang-adjacent infrastructure, or ASI Chain-facing runtime components. MeTTaTron ensures that MeTTa programs can compile downward into concrete, scalable, decentralized execution environments.



Discussion