MCCF X3D & PROTO Framework

MCCF X3D & PROTO Framework

MCCF: Mathematical Framework & X3D Implementation

Multi-Channel Cognitive Flow (MCCF) – PROTO/EXTERNPROTO & Embodiment

“MCCF is not a model of intelligence. It is a system for keeping intelligence from falling apart.”

Abstract

This document presents the MCCF framework, an X3D-based realization, and guidance for using PROTO and EXTERNPROTO to create composable multi-agent cognitive systems. It includes theory, visualization, and a reader-friendly guide.

1. MCCF Overview

M = (A, C, S, T, B, E)
  • A: Agents
  • C: Channels
  • S: State space
  • T: Transition functions
  • B: Boundary constraints
  • E: Embodiment mapping

2. Visualizing MCCF

Conceptual diagram (agents, channels, states):

Agents (A) Channels (C) State (S)

3. Reader's Guide

MCCF separates cognition into channels, enforces constraints, and maps states to embodiment.

  • Agents (A) – participants (humans, AI)
  • Channels (C) – semantic pathways
  • State (S) – system’s current configuration
  • Transitions (T) – how states evolve
  • Boundaries (B) – guardrails ensuring valid evolution
  • Embodiment (E) – projecting state into 3D/animations

4. X3D Implementation

The MCCF X3D implementation includes:

  • PROTO: MCCFAgent, MCCFChannel, MCCFTransition
  • EXTERNPROTO: reusable networked interfaces
  • H-Anim-ready placeholders for embodied humanoids
  • TimeSensors + ROUTEs for transitions

Example PROTO: MCCFAgent.x3d

<ProtoDeclare name="MCCFAgent">
  <ProtoInterface>
    <field name="position" accessType="inputOutput" type="SFVec3f" value="0 0 0"/>
    <field name="color" accessType="inputOutput" type="SFColor" value="0 0 1"/>
    <eventIn name="set_stateColor" type="SFColor"/>
  </ProtoInterface>
  <ProtoBody>
    <Transform translation='0 0 0'>
      <Shape>
        <Appearance>
          <Material DEF="MAT" diffuseColor='0 0 1'/>
        </Appearance>
        <Sphere radius='0.5'/>
      </Shape>
    </Transform>
    <ROUTE fromField="set_stateColor" fromNode="MCCFAgent"
           toField="diffuseColor" toNode="MAT"/>
  </ProtoBody>
</ProtoDeclare>

Example EXTERNPROTO Registry

<ExternProtoDeclare name="MCCFAgent"
  url='"../protos/MCCFAgent.x3d#MCCFAgent"'>
</ExternProtoDeclare>

<ExternProtoDeclare name="MCCFChannel"
  url='"../protos/MCCFChannel.x3d#MCCFChannel"'>
</ExternProtoDeclare>

<ExternProtoDeclare name="MCCFTransition"
  url='"../protos/MCCFTransition.x3d#MCCFTransition"'>
</ExternProtoDeclare>

Example X3D Scene Wiring

<MCCFAgent DEF="A1" position='-2 0 0'/>
<MCCFAgent DEF="A2" position='2 0 0'/>
<MCCFChannel start='-2 0 0' end='2 0 0'/>

<TimeSensor DEF="Clock" cycleInterval="3" loop="true"/>
<MCCFTransition DEF="T1"/>

<ROUTE fromNode="Clock" fromField="cycleTime"
       toNode="T1" toField="trigger"/>

<ROUTE fromNode="T1" fromField="stateColor"
       toNode="A1" toField="set_stateColor"/>

5. H-Anim Placeholder

For future expansion, MCCFAgent can inline a humanoid:

<Inline url='"../h-anim/SimpleHumanoid.x3d"' />
This allows agents to be animated with gestures and emotional states.

6. Why PROTO/EXTERNPROTO Are Critical

  • PROTO defines a local agent or channel interface
  • EXTERNPROTO allows networked reuse and standardization
  • They enforce MCCF rules as behavioral contracts
  • They separate implementation from interface, enabling safe distribution

7. Recommended Publish Workflow

  1. Blog theory & diagrams
  2. Publish Reader’s Guide (this post)
  3. Include X3D demo with PROTO/EXTERNPROTO
  4. Invite comments / iteration (Claude, Web3D)
  5. Next: H-Anim expressive agents + distributed MCCF

Conclusion

This package represents a complete **MCCF stack**: theory, interface, execution, and embodiment. Publishing it now establishes a base for further multi-agent, embodied, and distributed cognitive systems.

Comments

Popular posts from this blog

To Hear The Mockingbird Sing: Why Artists Must Engage AI

Schenkerian Analysis, HumanML and Affective Computing

On Integrating A Meta Context Layer to the Federated Dialog Model