Series
Articles organised by series and recommended reading order.
40 parts
Cognitive Substrate
Building durable, queryable memory layers for autonomous AI agents - from experience capture through policy adaptation.
- Part I: Memory Substrate1Capturing Experience: The Foundation of Cognitive MemoryThis article opens the public series on Cognitive Substrate: how persistent, learnable memory differs from logging, and how ingestion turns structured experience into durable archive plus searchable index.
- 2Memory RetrievalMemory retrieval turns stored experience into active cognitive context via hybrid OpenSearch recall, combining lexical and vector retrieval with ranking signals and feedback recording.
- 3Consolidation WorkerConsolidation gives memory an offline replay path, selecting replay candidates, building semantic drafts, and emitting update events in a sleep-cycle-like architecture.
- 4OpenSearch ML Inference NodesOpenSearch ML inference moves embedding and reranking closer to memory storage - covering model registration, deployment, ingest pipeline setup, and optional reranking integration.
- Part II: Adaptive Behavior5Policy EngineThe policy engine provides bounded behavioral drift, converting evaluated outcomes into clamped policy-vector updates and emitting inspectable adaptation records.
- 6Reinforcement Scoring EngineThe reinforcement layer turns outcome evidence into structured scoring signals for memory priority, policy evaluation, and identity-impact records.
- 7Cognitive Agent LoopThis article describes the closed perceive, retrieve, reason, act, and evaluate loop that turns the memory and policy substrate into an operating cognitive system.
- 8Identity FormationThis article describes the formation of a longitudinal identity model from reinforced experience, policy drift, and narrative coherence.
- Part III: Multi-Agent Cognition9Multi-Agent DecompositionThis article describes the decomposition of cognition into planner, executor, critic, memory, and world-model agents.
- 10Internal Debate and ArbitrationThis article describes the mechanism that scores competing agent proposals and selects a single action under coherence, reward, memory, and risk considerations.
- 11World ModelThis article describes the world-model component that simulates likely outcomes before action selection.
- 12Long-Horizon GoalsThis article describes the goal system that organizes behaviour across multiple time horizons and feeds goal relevance back into reinforcement and retrieval.
- 13Multi-Agent SocietyThis article describes the integration of specialized agents into a coordinated runtime that can scale across distributed infrastructure.
- Part IV: Self-Regulation14Self-Reflection LoopThis article describes the meta-cognitive loop that evaluates reasoning traces, attributes failures, and proposes bounded structural changes.
- 15Attention EngineThis article describes the attention engine that allocates scarce working-memory and reasoning capacity across competing signals.
- 16Temporal CognitionThis article describes the temporal engine that represents urgency, planning horizon, subjective computational time, and episodic sequence.
- 17Cognitive EconomicsThis article describes the budget engine that governs compute allocation, utility thresholds, fast and slow cognition modes, and exhaustion.
- 18Forgetting SystemThis article describes the forgetting system that suppresses, compresses, retires, and prunes memory so cognition remains usable over time.
- 19Affect ModulationThis article describes the affect engine that modulates attention, risk, curiosity, and contradiction response through synthetic global signals.
- 20Narrative SelfhoodThis article describes the narrative engine extension that turns identity history into autobiographical structure and future-self projection.
- 21Meta-CognitionThis article extends the reflection loop into calibrated monitoring of cognitive operations, failure attribution, introspection budgeting, and watchdog agents.
- 22Constitutional StabilityThis article describes the constitution engine that protects invariant policy, monitors unsafe mutation, and constrains self-modification.
- Part V: World Contact And Open-Ended Cognition23Social CognitionThis article describes the social engine that models users, peers, trust, intent, and cooperative cognition.
- 24Grounded CognitionThis article describes the grounding engine that connects internal predictions and memories to external telemetry and sensor-like signals.
- 25Causal IntelligenceThis article describes the causal engine that builds structural causal models, evaluates interventions, and simulates counterfactuals from experience.
- 26Curiosity EngineThis article describes the curiosity engine that rewards information gain, uncertainty reduction, novelty, and autonomous experimentation.
- 27Dreaming SystemThis article describes the dream engine that performs offline synthetic replay, adversarial imagination, abstraction recombination, and memory stress testing.
- 28Recursive AbstractionThis article describes the abstraction engine that forms hierarchical concepts from experiences, patterns, principles, and world models.
- 29Developmental CognitionThis article describes the development engine that models staged capability maturation, curriculum emergence, and phase transitions in reasoning.
- 30Open-Ended IntelligenceOpen-ended evolution mode: capability search triggered by policy convergence and persistent failure, constrained by the constitutional layer, gated behind developmental readiness, and recorded as emergence evidence.
- Part VI: Operational Intelligence31Operational PrimitivesThe operational primitive taxonomy: a closed, system-agnostic vocabulary that maps vendor telemetry from Kafka, OpenSearch, PostgreSQL, and ClickHouse into portable pattern signatures for cross-environment operational intelligence.
- 32ClickHouse Telemetry LayerThe ClickHouse telemetry layer for the operational intelligence pipeline: schema design for raw hot-tier and cognitive-tier tables, time-based partitioning, typed worker integration, and separation of raw from cognitive stores.
- 33Telemetry Ingestion WorkerThe telemetry ingestion worker: how raw infrastructure metrics are persisted to ClickHouse and translated into operational primitive events, with intentional discard semantics and dual Kafka output streams.
- 34Pattern Detection WorkerThis article describes the worker that detects operational failure patterns from streams of operational primitive events and emits recommendations.
- 35Reinforcement Feedback WorkerThis article describes the feedback loop that records recommendation outcomes and adjusts operational pattern confidence over time.
- 36Intelligence TransferHow operational knowledge learned in one infrastructure environment transfers to another: the system-mapping boundary, zero-shot pattern application, local confidence calibration, and what cannot transfer.
- 37Real Telemetry as Operational MemoryThis article records the first hosted experiment in which Cognitive Substrate converted live infrastructure telemetry into embedded operational memory and used that memory inside the normal workbench
- Retrospective38Design Philosophy: Scope, Vocabulary, and What This Project ClaimsA retrospective on the vocabulary, methodology, and honest scope of the Cognitive Substrate series - what the architecture claims, what it demonstrates, and where those two things diverge.
- 39Known Failure Modes and Robustness BoundariesA systematic account of the failure modes discovered during development of the Cognitive Substrate - when the system breaks, why, and what the mitigations are.
- 40The Limits of Constitutional StabilityWhat the ConstitutionEngine actually provides - operational stability constraints and operator review hooks - and what it explicitly does not address from the AI safety literature.
3 parts
Cognitive Infrastructure
The infrastructure layer underneath cognition - Kafka as episodic memory, ClickHouse for telemetry, OpenSearch for semantic retrieval.
- Part I: Instrumentation1Building a Cognitive Telemetry PipelineHow to model user attention and comprehension as typed events, then route them through a distributed pipeline to ClickHouse and OpenSearch.
- 2Using OpenSearch for Semantic RetrievalHow to build a hybrid search system combining BM25 full-text search with k-NN vector retrieval, using reciprocal rank fusion to merge result sets.
- 3Event Streams as Memory FormationA reading of Kafka not as a message queue but as an episodic memory substrate - ordered, immutable, queryable across time.
4 parts
Kafka and the Registry
Schema registries, topic governance, and the operational patterns that keep event-driven systems coherent as they grow.
- 1Why I Chose Kafka for the Cognitive SubstrateThe Cognitive Substrate needs to ingest a constant stream of events from many different sources - telemetry, tickets, Slack, logs. Here is why Kafka is the right foundation for that, and what I quickly learned it was not enough on its own.
- 2The Hidden Problem with Raw Kafka MessagesUsing Kafka without a schema registry sounds fine in theory - just send JSON. In practice, it becomes a debugging nightmare. How one renamed field broke the ingestion pipeline and why I stopped trusting raw messages.
- 3What Is a Schema Registry and Why You Need OneA Schema Registry is a central repository for the structure of every message type flowing through Kafka. It enforces contracts, enables safe schema evolution, and turns your event stream into living documentation.
- 4How Schema Evolution Actually WorksThe real power of a Schema Registry shows up when you need to change your message formats over time. Backward, forward, and full compatibility modes - and how to evolve schemas safely without coordinating simultaneous deployments.
1 part
BigPines.net
4 parts
Thoughts
- 1AI as SearchMost people think of AI as a very fast encyclopedia. That mental model is wrong in ways that matter - and replacing it with a better one changes how you use AI, how you trust it, and how you understand its failures.
- 2Em Dash Hunting: How I Use AI Without Losing My VoiceHow a misplaced em dash became the perfect symbol for a larger question: using AI throughout the creative process while keeping every word authentically yours.
- 3Hey Sis, Let Me Explain What I've Been BuildingA non-technical explanation of the Cognitive Substrate project for someone who uses computers but has never had to think about AI memory systems. Featuring the phone analogy.
- 4End of the RideThe AI compute crunch is squeezing independent builders out of frontier research - and the ecological and policy costs of the infrastructure boom are making it worse.