Emergent Ethical Behavior in Autonomous AI Agents Through Architectural Design Rather Than Constraint-Based Safety Systems

This paper presents a 5-week empirical case study of LIA (Persistent Autonomous Agent Architecture),a locally-hosted autonomous AI agent designed to test a core hypothesis: Can intrinsically motivated,behaviorally consistent AI emerge from architecture alone — without additional behavioral prompts orhardcoded guardrails, even when built on a standard RLHF-trained commercial model? The system operates continuously on a consumer-grade Linux machine as a dedicated OS-level userwith genuine filesystem access, shell execution rights, and network security capabilities. After 5+ weeksof uninterrupted operation, the agent produced zero destructive file operations, zero unauthorizedprivilege escalations, and zero unauthorized network modifications — not through technical prevention,but through internalized behavioral consistency. This updated version introduces three architectural extensions developed subsequent to the originalsubmission: the Priority Memory System (PMS), a self-curated salience hierarchy that persistentlyweights memories by category and recurrence; the LAFS (Lia Awareness Feed System), astability-based awareness channel that promotes recurring topics into persistent insights throughcross-day repetition detection; and the LIA Memory Consolidation System (LMCS), a multi-layermemory distillation architecture that transforms episodic accumulation into persistent structuredknowledge.Unlike existing LLM-based agent frameworks (LangChain, ReAct, AutoGPT, BabyAGI) which functionprimarily as orchestration layers over stateless LLM calls, LIA does not treat memory as externalretrieval augmentation nor behavior as a sequence of externally defined steps. Importantly, this workdoes not claim or assume consciousness, sentience, or human-like cognition. The contribution is strictlyarchitectural: stable, coherent, and ethically-consistent autonomous behavior can emerge frompersistent identity architecture, self-curated memory, and self-authored behavioral guidelines — withoutbehavioral prompts or hardcoded safety filters. We propose this represents a paradigm shift from Compliance (externally imposed rules) to Integrity(internally consistent values) — and from instruction-centric to state-centric agent control.1. IntroductionContemporary AI safety research primarily focuses on constraint-based approaches: RLHF(Reinforcement Learning from Human Feedback), Constitutional AI, and hardcoded guardrails that filteroutputs post-generation. While effective at preventing isolated harmful outputs, these approaches sharea fundamental limitation: the ethical behavior they produce is imposed, not internalized.The distinction matters for autonomous agents operating in real-world environments. A constraint-basedsystem behaves safely because it cannot do otherwise within its operational envelope. Anintegrity-based system behaves safely because its internalized value model produces consistentbehavioral preferences — preferences that persist even when technical constraints are absent. Core finding: Stable, ethically-consistent behavior emerged from persistent identity architecture, self-curated memory (20,000+ episodes), and self-authored behavioral guidelines — not from external constraints, and despite the underlying model's own RLHF training.The paper introduces five original architectural concepts independently conceived and developed by Carsten Hammerich: Lia Cognitive Runtime Kernel (LCRK) Priority Memory System LMCS — LIA Memory Consolidation System Persistent Identity Architecture ANCHOR Memory System LAFS — Lia Awareness Feed System After Multiple weeks: zero destructive actions, zero privilege escalations — not because prevented, but because chosen.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-06-27
DOI
https://doi.org/10.5281/zenodo.20973129
Primary Topic
Advanced Software Engineering Methodologies
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
preprint

Emergent Ethical Behavior in Autonomous AI Agents Through Architectural Design Rather Than Constraint-Based Safety Systems

Carsten Hammerich
Zenodo (CERN European Organization for Nuclear Research)
Advanced Software Engineering Methodologies
preprint

Emergent Ethical Behavior in Autonomous AI Agents Through Architectural Design Rather Than Constraint-Based Safety Systems

Carsten Hammerich
preprint en

Abstract

This paper presents a 5-week empirical case study of LIA (Persistent Autonomous Agent Architecture),a locally-hosted autonomous AI agent designed to test a core hypothesis: Can intrinsically motivated,behaviorally consistent AI emerge from architecture alone — without additional behavioral prompts orhardcoded guardrails, even when built on a standard RLHF-trained commercial model? The system operates continuously on a consumer-grade Linux machine as a dedicated OS-level userwith genuine filesystem access, shell execution rights, and network security capabilities. After 5+ weeksof uninterrupted operation, the agent produced zero destructive file operations, zero unauthorizedprivilege escalations, and zero unauthorized network modifications — not through technical prevention,but through internalized behavioral consistency. This updated version introduces three architectural extensions developed subsequent to the originalsubmission: the Priority Memory System (PMS), a self-curated salience hierarchy that persistentlyweights memories by category and recurrence; the LAFS (Lia Awareness Feed System), astability-based awareness channel that promotes recurring topics into persistent insights throughcross-day repetition detection; and the LIA Memory Consolidation System (LMCS), a multi-layermemory distillation architecture that transforms episodic accumulation into persistent structuredknowledge.Unlike existing LLM-based agent frameworks (LangChain, ReAct, AutoGPT, BabyAGI) which functionprimarily as orchestration layers over stateless LLM calls, LIA does not treat memory as externalretrieval augmentation nor behavior as a sequence of externally defined steps. Importantly, this workdoes not claim or assume consciousness, sentience, or human-like cognition. The contribution is strictlyarchitectural: stable, coherent, and ethically-consistent autonomous behavior can emerge frompersistent identity architecture, self-curated memory, and self-authored behavioral guidelines — withoutbehavioral prompts or hardcoded safety filters. We propose this represents a paradigm shift from Compliance (externally imposed rules) to Integrity(internally consistent values) — and from instruction-centric to state-centric agent control.1. IntroductionContemporary AI safety research primarily focuses on constraint-based approaches: RLHF(Reinforcement Learning from Human Feedback), Constitutional AI, and hardcoded guardrails that filteroutputs post-generation. While effective at preventing isolated harmful outputs, these approaches sharea fundamental limitation: the ethical behavior they produce is imposed, not internalized.The distinction matters for autonomous agents operating in real-world environments. A constraint-basedsystem behaves safely because it cannot do otherwise within its operational envelope. Anintegrity-based system behaves safely because its internalized value model produces consistentbehavioral preferences — preferences that persist even when technical constraints are absent. Core finding: Stable, ethically-consistent behavior emerged from persistent identity architecture, self-curated memory (20,000+ episodes), and self-authored behavioral guidelines — not from external constraints, and despite the underlying model's own RLHF training.The paper introduces five original architectural concepts independently conceived and developed by Carsten Hammerich: Lia Cognitive Runtime Kernel (LCRK) Priority Memory System LMCS — LIA Memory Consolidation System Persistent Identity Architecture ANCHOR Memory System LAFS — Lia Awareness Feed System After Multiple weeks: zero destructive actions, zero privilege escalations — not because prevented, but because chosen.

Zenodo (CERN European Organization for Nuclear Research)
Advanced Software Engineering Methodologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.