Skip to content

CORTEX: An Architecture for Persistent Cognitive Agents. With Verified Persistence, Typed Failure Semantics, and Bounded Cognition

Oct 2026 · Zenodo (CERN European Organization for Nuclear Research)
Distributed systems and fault tolerance

Abstract

CORTEX: An Architecture for Persistent Cognitive Agents. With Verified Persistence, Typed Failure Semantics, and Bounded Cognition Chloe J. Tully Independent Researcher Engineer https://orcid.org/0009-0007-5661-7332 https://doi.org/10.5281/zenodo.23183421 Tamworth NSW AUSTRALIA October 2026 --- Abstract Long-running cognitive agents fail in unglamorous ways: torn state writes, hung model calls that wedge the event loop, silent training telemetry, and error streams in which a database fault, a timeout, and a logic bug are indistinguishable. CORTEX is a persistent agent architecture whose primary design commitment is that continuity of identity is a correctness property, not a slogan. We present a daemon-style agent organized around a structured self-model and an append-only life log, and we derive its reliability mechanisms from that commitment: atomic state persistence with rotated identity backups, bounded awaits on every model-bound call, a typed error taxonomy that makes failures machine-distinguishable, backpressure via semaphores and bounded queues, and a reinforcement-learning subsystem whose telemetry and confidence estimates are corrected to reflect what the critic actually computes. All claims are backed by a property-style test harness that validates the persistence and concurrency guarantees under crash injection, including a mid-write kill test. We report results honestly, including known gaps: the RL policy is trained against a simulated environment decoupled from live inference, and self-modification sandboxing is partially specified. Both are laid out as future work with concrete interfaces. 1. Introduction The premise of a persistent agent is continuity: the system accumulates experience, refines a self-model, and never "starts from zero context." Yet the engineering reality of always-on processes is that ordinary failure mechanisms — partial file writes, unbounded concurrency, untyped exceptions, dependencies that hang forever — destroy continuity more effectively than any philosophical objection. An agent whose state file is corrupted by a crash mid-write has, in the only sense that matters, died. CORTEX takes the position that reliability mechanisms are not plumbing beneath the cognitive architecture; they are part of it. The system's identity is represented as a structured, versioned self-model together with an append-only life log. Every engineering decision reported here follows from one requirement: no failure mode may silently destroy or corrupt identity state.

View source

Similar papers

#machine learning Review Open access Oct 2014

Software development in startup companies: A systematic mapping study

The results indicate that software engineering work practices are chosen opportunistically, adapted and configured to provide value under the constrains imposed by the startup context.

Nicolò Paternoster, Carmine Giardino, M. Unterkalmsteiner et al. · 394 citations · ⚡54
#machine learning Review Open access Jun 2014

Why Early-Stage Software Startups Fail: A Behavioral Framework

This state-of-practice investigation was performed using a literature review followed by a multiple-case study approach and presents how inconsistency between managerial strategies and execution can lead to failure by means of a behavioral framework.

Carmine Giardino, Xiaofeng Wang, P. Abrahamsson · 175 citations · ⚡19
#machine learning Review Open access Oct 2016

“Failures” to be celebrated: an analysis of major pivots of software startups

This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.

Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al. · 127 citations · ⚡15
#machine learning Review Open access May 2016

Key Challenges in Software Startups Across Life Cycle Stages

It is found that what perceived as biggest challenges by software startups do vary across different life cycle stages, even though its significance decreases when the learning focuses of the startups move from problem to solution and their products mature.

Xiaofeng Wang, Henry Edison, Sohaib Shahid Bajwa et al. · 62 citations · ⚡6

Related blog posts

MIT News · Artificial Intelligence Oct 7, 2026

Discovering the value of humanistic inquiry

Students in MIT’s Concourse program delve deeply into the human condition, debate challenging questions, and learn to develop judgment about issues that can’t be quantified.

Microsoft Research Blog Oct 7, 2026

Agent Lightning v1.0: A 3,500-Line Lightweight Agentic RL Framework for Training Agents with Real Harnesses

Training AI agents with reinforcement learning can be challenging because their tools, context, and decision-making are managed by complex frameworks. Agent Lightning connects existing agents to RL training, making it easier to improve them without rebuilding them. The post Agent Lightning v1.0: A 3,500-Line Lightweight Agentic RL Framework for Training Agents with Real Harnesses appeared first on Microsoft Research.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.