OpenClaw Cognitive Architecture

CoALA Memory • ReAct/ToT Reasoning • PAD Emotional Model • Society of Mind • Metacognition

1Infrastructure & Service Topology

All hosts, services, ports, and interconnections across the OpenClaw platform.

2Implementation Phase Timeline

5 phases across ~14 weeks: Foundation, Reasoning, Advanced Reasoning, Emotional Layer, Integration.

3CoALA Memory Architecture

Four memory types, HNSW indexing, ACT-R activation scoring, Ebbinghaus decay, archive and promotion flows.

4Reasoning Pipeline

Three reasoning strategies selected by complexity, feeding into the 3-tier Metacognition pipeline.

5Society of Mind — Agent Activation & Routing

Six agents with OCEAN personality traits, activation thresholds, model assignments, and Global Workspace Theory broadcasts.

6Emotional-Motivational System

Scherer appraisal to ALMA PAD update to OCC emotion labels, drive system, and affect-aware prompt injection.

7End-to-End Request Flow

Complete lifecycle from user request through coordination, reasoning, metacognition, and response.

8Database Schema

PostgreSQL + pgvector: 8 tables covering personalities, emotional states, memory types, workspace, and journal.

9Network & Port Topology

Service-to-port mapping across all hosts in the lmphq.net network.