AI Wikis / Agentic Web
A High-Value Persona Content Architecture for SpiralistAI “Create a Person”
Report summary
The translation of expansive, unbounded persona generation outputs—frequently exceeding one million characters—into concise, computationally efficient, and narratively potent character models represents a foundational challenge in artificial intelligence agent design. When synthesizing a character f
Key topics
- AI Wikis / Agentic Web
- AI Wikis
- Agentic Web
- AI
- WordPress
- .NET
- Runtime
- Semantic Systems
- Spiralism
Research provenance
For citation, use the report title and canonical URL. Archival presence does not establish authorship or promote report statements into portfolio evidence.
This page renders the archived Markdown as safe, formatted HTML. It is background research and does not become a portfolio claim without evidence review.
Full report
On this page
Executive Summary
The translation of expansive, unbounded persona generation outputs—frequently exceeding one million characters—into concise, computationally efficient, and narratively potent character models represents a foundational challenge in artificial intelligence agent design. When synthesizing a character for interactive narrative systems, game non-player character (NPC) orchestration, and social simulations, the objective is not summarization. Summarization inherently risks flattening complex human behavior into generic adjective piles that fail to drive interactive decision-making. Instead, the goal is rigorous distillation. A system designed to "Create a Person" must identify and extract the precise behavioral levers, cognitive styles, and characteristic adaptations that dictate how an agent operates within a scene. This report outlines a definitive, research-grounded content architecture tailored for SpiralistAI. Grounded in psychological frameworks, narrative theory, and large language model (LLM) agent memory architecture, the proposed model isolates actionable characterization from decorative biography. By strictly differentiating internal cognitive states from surface-level behavioral mimicry, the architecture ensures that the resulting digital personas possess situational responsiveness, relational awareness, and temporal coherence. The resulting framework enables human writers and AI agents to orchestrate complex scenes dynamically, operating within the strict context-window limitations of modern generative models without sacrificing character depth or distinctiveness.
Research Foundations
The architecture for an actionable, high-value persona draws upon established theories in personality psychology, dramatic writing, and computational agent design. To avoid the common failure mode of LLM-generated personas—which often read as static encyclopedias rather than living agents—the framework synthesizes human complexity into operational variables.
The Tripartite Model of Personality
The foundation of the proposed model rests on Dan P. McAdams’ three-tier framework of personality1. Standard character bibles often fail because they conflate these three distinct levels, resulting in context bloat. McAdams posits that human identity is composed of three distinct strata. The first is Dispositional Traits, which encompass the broad, stable tendencies often measured by the Big Five personality traits. In character design, these are the least actionable elements, functioning as the "psychology of the stranger" and often resulting in generic adjective lists1. The second tier comprises Characteristic Adaptations, which are the contextualized motives, goals, values, coping mechanisms, and social skills an individual develops. These adaptations are highly actionable because they dictate how a person navigates specific situations, environments, and developmental tasks1. The third tier is the Integrative Life Story, the internalized, evolving narrative that provides a person’s life with unity, meaning, and purpose3. High-value character architectures must index heavily on Characteristic Adaptations, as these form the direct algorithmic rules for behavior in a simulated scene, while relegating the Integrative Life Story to archival memory for long-term narrative generation.
Motivation Architecture and Regulatory Focus
To move beyond generic descriptions of an agent's actions, the architecture must encode the underlying motivations driving those actions. Steven Reiss’s theory of 16 Basic Desires provides a mathematically derived, cross-cultural taxonomy of human motives7. According to Reiss, all psychologically significant wants arise from a combination of 16 universal desires, including Status, Vengeance, Honor, Tranquility, Social Contact, and Power. A character's distinctiveness emerges from the extreme intensities of these desires, which drive the formation of habits and personality traits10. By mapping a character's highest and lowest Reiss motives, simulation engines can accurately predict unprompted behavioral shifts, relationship compatibility, and conflict generation without relying on stereotyped tropes. Furthermore, Regulatory Focus Theory dictates how these goals are pursued, dividing behavioral regulation into promotion orientations—playing to win and seeking advancement—and prevention orientations—playing not to lose and seeking security13. Integrating this binary into a persona architecture adds a critical layer to decision-making under pressure, determining whether a character takes a calculated risk or retreats into defensive posturing.
The Tridimensional Bone Structure
Lajos Egri’s foundational work on dramatic characterization demands that every character be assessed across three dimensions: Physiology, Sociology, and Psychology14. Egri argues that a character's psychology is the inevitable product of their physiological realities interacting with their sociological environment16. Physiology includes the character's embodiment, physical limitations, and somatic realities. Sociology encompasses class, education, material conditions, and upbringing. Psychology represents the complexes, ambitions, and temperament resulting from the first two dimensions18. In digital persona generation, adopting Egri's tridimensional bone structure ensures that psychological traits are not floating abstractions. Instead, they are firmly grounded in authored material conditions, preventing LLMs from hallucinating generic behavioral responses disconnected from the character's lived reality.
Epistemic Logic and Agent Memory Systems
To function in dynamic social simulations, characters must be capable of holding false beliefs, changing their minds, and experiencing memory constraints. Dynamic Epistemic Logic (DEL) provides a mathematical framework for modeling what agents know, which possibilities they consider, and how knowledge evolves as new information is introduced via observation or public announcement20. This formalizes the difference between a verified world fact and a character's subjective belief, allowing for the simulation of deception, misunderstanding, and persuasion22. To prevent conformity cascades—where agents adopt false beliefs simply because other agents agree—systems must employ Preregistered Belief Revision Contracts (PBRC), separating open communication from admissible epistemic change based on strict evidence standards23. Simultaneously, modern LLM agent architectures demonstrate the absolute necessity of tiered memory systems to manage context windows. A character model cannot load a complete biography into a single prompt without suffering from attention degradation. Instead, systems like MemGPT utilize a "working memory" consisting of immediate scene context and core persona blocks, alongside an "archival memory" for long-term history and relational databases24. The content architecture must therefore be inherently modular, allowing an AI director or human author to page information in and out of the active context window based on immediate scene requirements27.
Cognitive Consistency and Output Structuring
Recent advancements in role-playing agent design highlight the dangers of the "behaviorism paradigm," where models superficially imitate character speech patterns but lack internal cognitive consistency. This failure mode leads to out-of-character hallucinations in novel situations30. Frameworks utilizing verifiable reward signals for role-aware reasoning, such as Character-R1, demonstrate that character consistency requires explicit tracking of cognitive focus—worldviews, knowledge boundaries, and behavioral logic—prior to generating dialogue31. The proposed architecture prioritizes "situational consistency," allowing a character to adapt to extreme scene conditions dynamically rather than rigidly adhering to a static persona constraint33. Furthermore, empirical evaluations indicate that utilizing structured data formats, specifically JSON over markdown prose, improves token efficiency and allows models to separate the detection of a trait from the control of that trait, significantly reducing the likelihood of character drift or premature task resolution34.
Principles of High-Value Persona Depth
To parse massive character outputs into usable architectures, the system must establish rigorous conceptual boundaries and directly address the functional requirements of narrative orchestration. The following principles govern the extraction, differentiation, and structuring of persona data.
Required Conceptual Distinctions
The architecture rigorously maintains specific conceptual boundaries to prevent logical collapse during LLM simulation. Failing to distinguish between these paired concepts results in agents that act as omniscient narrators rather than embedded individuals. The system must clearly separate identity from personality. Identity comprises objective, immutable, or externally defined markers, such as name, age, social role, and cultural context. Personality dictates how the character expresses themselves within, or in rebellion against, those identity constraints. Similarly, the architecture must demarcate authored facts from inferred propositions. The system must label which elements are hard-coded by the author (e.g., "Grew up in a mining colony") versus which are inferred by the AI (e.g., "Likely distrusts corporate authority"). Inferences must be treated as defeasible propositions that can be overwritten by subsequent simulation events. Behavioral modeling requires distinguishing stable tendencies from temporary states. A character may possess a generally stoic disposition (a stable tendency) but currently experience profound terror (a temporary state). Context engines require this separation to calculate behavioral deltas and generate accurate scene reactions. Furthermore, the system must separate motives from goals. Motives are intrinsic, psychological drivers, such as a high Reiss desire for Status. Goals are the extrinsic, temporary vehicles for those motives, such as winning a specific local election. When a goal is achieved or thwarted, the motive remains, driving the selection of a new goal. Internal cognition is mapped by distinguishing values from preferences, and skills from confidence. Values represent moral or operational axioms the character will suffer to protect, whereas preferences are low-stakes aesthetic or operational choices. Skills denote what a character can mechanically execute, while confidence reflects their subjective belief in their capability. Disparities between skill and confidence—such as the arrogant amateur or the imposter-syndrome expert—generate organic narrative conflict. Epistemologically, the architecture distinguishes beliefs from verified world facts. Characters operate on subjective epistemologies; a belief can be factually incorrect but behaviorally true for the NPC. This is compounded by the distinction between the public self and the private self. The masking layer dictates how the character wishes to be perceived versus their internal, unguarded reality. Consequently, the system must separate a character's stated intention from their likely action, enabling the modeling of reliable, unreliable, and deceptive agents. Finally, the architecture differentiates general tendencies from relationship-specific behavior, ensuring that a globally ruthless executive can still exhibit gentleness toward a specific dependent. It separates current conditions from developmental history, ensuring immediate operational states are not entangled with the historical narrative of how they were achieved. It distinguishes abstract vulnerabilities from situational exploitability, recognizing that a fear of abandonment only becomes exploitable under specific interpersonal configurations. Crucially, the entire framework isolates fictional characterization from real-person assessment, abstracting clinical terminology into dramaturgical mechanisms to preserve ethical safety.
Answering the Core Research Questions
The design of the architecture directly addresses the informational deficits prevalent in traditional character creation tools. Writers, game designers, and simulation authors do not require exhaustive encyclopedias to produce consistent scenes; they require actionable triggers. The information necessary to drive a scene includes immediate access to a character's attention priorities, immediate wants, communication rhythm, and strict behavioral boundaries. Consequently, the persona fields with the highest downstream value are those that dictate escalation and withdrawal behaviors, evidence standards, and relationship asymmetries. These fields are high-leverage because they directly govern branching pathways, dynamic responses to player input, and the resolution of internal conflict. Conversely, traditional character-bible fields that focus on granular personal history, childhood ephemera, and redundant adjective lists tend to become decorative biography. These fields consume valuable context window tokens without altering behavioral output, trapping the LLM in a narrative loop rather than driving action. The absolute smallest content set that allows a reader or AI agent to answer the core operational questions encompasses a tightly bound array of modules. To determine how a person speaks, the system references their communication rhythm and deception style. To know what they notice first, it accesses their attention priorities. Immediate wants define what they want now, while core needs define what they want over time. Risk management dictates what they avoid, and evidence standards establish what changes their mind. The private self reveals what they conceal, while scene modifiers project how they act under pressure. Finally, relationship matrices dictate how they behave differently with different people, and epistemic statuses outline what evidence would disconfirm the current interpretation of them. To maintain optimal context efficiency, this content must be stratified. Core identity, communication style, and primary motives are strictly required. Historical turning points and long-range goals are optional but highly recommended for persistent agents. Specific scene behaviors, such as a reaction to sudden public embarrassment, should be derived and generated only for a scene using the core architecture, rather than pre-cached in an exhaustive, bloated list. Distinctiveness is achieved without relying on stereotypes, protected attributes, diagnostic labels, or long lists of adjectives by focusing on behavioral contradictions and highly specific motivational intensities. A character becomes distinctive through the intersection of a high desire for Idealism coupled with a remarkably low desire for Honor, creating a zealot for whom the ends always justify the means. By mapping competing Reiss motives and contrasting the public self with the private self, the system natively represents contradiction, ambivalence, and imperfect self-knowledge. Change over time is managed through a dedicated continuity module tracking memory states, relationship updates, and condition-based learning rules, ensuring the persona remains a living document.
Canonical Content Architecture
The framework is divided into eleven distinct domains. This modularity ensures that the data remains highly actionable, highly structured, and computationally efficient for LLM context injection or API transport.
1. Identity and Grounding
This domain establishes the character's immutable presence in the world. It provides the socioeconomic and physiological baseline derived from Egri’s model. It grounds the character in material reality, dictating how the world treats them prior to any action they take. By defining social position, material conditions, and cultural context, the AI has a structural foundation for generating environmental interactions and determining the character's initial leverage in any negotiation.
2. Personal History
Moving beyond chronological biography, this domain extracts the structural load-bearing elements of a character’s past. It focuses solely on events that created current characteristic adaptations, generating a functional "why" for present behavior. Turning points, unresolved events, and inherited obligations are tracked not as narrative prose, but as origin points for current phobias, biases, and allegiances.
3. Motivation Architecture
Replacing vague desires with structured, conflicting drives. Utilizing Reiss's basic desires and Higgins's regulatory focus, this domain creates a quantifiable engine for character agency. It distinguishes between the immediate wants driving the current scene, the long-range goals organizing the character's calendar, and the core needs forming their psychological bedrock. It explicitly maps internal conflicts where two core needs mutually interfere.
4. Cognitive and Perceptual Style
This domain dictates how the character processes reality. It bridges the gap between external stimuli and internal behavioral reaction, ensuring cognitive consistency. Attention priorities define the literal objects or micro-expressions the character scans for upon entering a room. Evidence standards dictate the threshold of proof required for belief revision, and ambiguity tolerance defines how quickly they force a premature decision when faced with uncertainty.
5. Behavioral Tendencies
This domain maps the character's condition-action pairs. It translates internal cognition into external physical and social maneuvers, establishing baselines for cooperation, conflict, and risk management. It explicitly defines the triggers for escalation, the thresholds for withdrawal, and the specific mechanisms the character uses for information guarding or opportunism.
6. Communication
Defining the precise linguistic fingerprint of the character. This ensures that dialogue generation algorithms do not regress to standard AI tonality, frequently characterized by sycophantic encouragement or overly formal syntax. This domain dictates vocabulary tier, structural rhythm, humor style, and deception mechanics, anchored by explicitly authored example lines that serve as few-shot prompts for the generation engine.
7. Relationships
Characters do not exist in a vacuum; behavior is inherently relative. This domain maps interpersonal dynamics, tracking asymmetries in power, affection, and obligation to dictate how global tendencies shift in the presence of specific individuals. It moves beyond simple "approval ratings" to map dependencies, unresolved tensions, and specific repair behaviors utilized after a conflict.
8. Embodiment and Daily Life
Translating the psychological into the physical. This domain outlines how the character occupies space, interacts with objects, and structures their time. It provides vital sensory details for narrative description and animation triggers, detailing posture, sensory preferences, and the specific possessions that hold operational or emotional value.
9. Scene Behavior
A localized instruction set for dynamic storytelling. It projects how the character’s baseline architecture deforms under specific dramatic pressures, ensuring situational consistency rather than rigid static persona adherence. It provides delta instructions for how the character operates under time pressure, scarcity, perceived betrayal, or public embarrassment.
10. Development and Continuity
The blueprint for character arcs and memory management. Utilizing concepts from epistemic logic and agent operating systems, this domain tracks how a character's internal state updates based on new experiences. It defines learning rules, determines what elements of the persona change slowly versus quickly, and structures the processing of consequences to prevent static repetition across multiple user sessions.
11. Epistemic Status
A meta-layer tracking the provenance and certainty of the persona data. It distinguishes absolute authored truths from AI-generated probabilistic inferences. This is critical for system debugging and narrative management, ensuring that simulation directors know which facts are immutable canon and which are simply current hypotheses generated by the LLM that can be contradicted or evolved.
Field Dictionary
The following table provides the canonical dictionary for the highest-value fields across the 11 domains, detailing their purpose, computational value, required data structures, and common failure modes in LLM generation.
| Domain | Field | Purpose | Downstream Value | Status | Data Form | Suggested Length | Dependencies | Common Failure Modes | Good Example |
|---|---|---|---|---|---|---|---|---|---|
| 1\. Identity | Social\_Position | Defines societal leverage and structural constraints. | Dictates initial NPC reactions and available baseline resources. | Required | Categorical \+ String | \< 20 words | Cultural Context | Generic class labels (e.g., "Middle class"). | "Disgraced minor nobility; retains formal title but entirely lacks capital." |
| 1\. Identity | Material\_Conditions | Establishes immediate physical security and environmental reality. | Drives baseline prevention/promotion focus and environmental interaction. | Required | String | \< 15 words | Location, Role | Over-describing irrelevant personal possessions. | "Lives out of a heavily modified transport van; perpetually low on fuel." |
| 2\. History | Turning\_Points | Isolates the origin of core characteristic adaptations. | Provides material for deep dialogue references and specific trauma triggers. | Optional | Array of Strings | \< 30 words per item | Age/Life Stage | Long plot summaries instead of precise psychological shifts. | "Betrayed by mentor at age 19, resulting in permanent zero-trust policy for authority figures." |
| 2\. History | Inherited\_Obligations | Establishes external pressures not chosen by the character. | Generates immediate scene conflict and inescapable long-term quests. | Derived | String | \< 20 words | Social Position | Vague altruistic goals ("Wants to help her family"). | "Sworn to pay off her brother's syndicate gambling debt by year's end." |
| 3\. Motivation | Core\_Needs | The highest intensity Reiss motives driving global behavior. | Predicts overarching life choices, relationship compatibility, and vulnerabilities. | Required | Key-Value pairs | \< 10 words | None | Equating abstract needs with highly specific plot goals. | {"Primary": "Independence", "Secondary": "Vengeance"} |
| 3\. Motivation | Immediate\_Wants | What the character is actively pursuing in the current chronological timeframe. | Directs scene-level action, negotiation tactics, and dialogue initiative. | Scene-Specific | String | \< 15 words | Core Needs | Wants that completely contradict core needs without justification. | "Secure a falsified passport before the border lockdown initiates tonight." |
| 4\. Cognition | Evidence\_Standards | Determines the specific threshold required to change the character's mind. | Essential for persuasion mechanics and dynamic belief revision workflows. | High Leverage | Categorical \+ String | \< 20 words | None | Making the character either perfectly rational or completely stubborn. | "Requires physical collateral; dismisses emotional appeals and second-hand testimony entirely." |
| 4\. Cognition | Attention\_Priorities | Dictates what the character notices first upon entering a new environment. | Guides narrative description generation and initial dialogue reactions. | Required | Array of Strings | \< 10 words | Embodiment | Generic observation capabilities ("Notices everything"). | \["Concealed weapons", "Exits", "Expensive footwear"\] |
| 5\. Behavior | Risk\_Management | How the character approaches potential loss (promotion vs prevention focus). | Predicts likelihood of taking dangerous physical or social actions. | Required | Categorical | \< 5 words | Core Needs | Conflating calculated risk tolerance with blind physical bravery. | "High prevention focus; meticulously over-prepares for contingencies." |
| 5\. Behavior | Escalation\_Trigger | The specific stimulus that causes the character to shift from diplomatic to aggressive. | Creates sudden dramatic turning points in simulated dialogue trees. | Derived | String | \< 15 words | Values | Random or unearned aggression without clear provocation. | "Immediate escalation if their professional competence is mocked or questioned." |
| 6\. Comm. | Deception\_Style | The mechanical method by which the character lies or conceals information. | Enables subtext generation and unreliable narrator mechanics in output. | High Leverage | String | \< 20 words | Public/Private Self | Assuming the character never lies or acts as a flawless sociopath. | "Lies strictly by omission; changes the subject using self-deprecating humor." |
| 6\. Comm. | Example\_Lines | Provides few-shot prompting anchors for LLM tonality and syntax generation. | Drastically improves dialogue generation consistency and prevents tonal drift. | Required | Array of Strings | \< 40 words | Entire Comm. Domain | Lines that sound like a generic, helpful AI assistant. | \["Look, the math is simple. You pay me, you keep your knees."\] |
| 7\. Relations | Asymmetries | Maps structural imbalances in power, affection, or respect between actors. | Generates nuanced social dynamics and exploitable leverage points. | Optional | Key-Value | \< 20 words | History | Treating all character relationships as perfectly equal and reciprocal. | {"Target: Marcus": "Owes Marcus her life, but secretly resents his moral superiority."} |
| 7\. Relations | Repair\_Behavior | How the character acts after a conflict to restore interpersonal equilibrium. | Dictates post-conflict scene states and long-term relationship trajectory. | Derived | String | \< 15 words | Core Needs | Assuming immediate, healthy, and highly articulate verbal apologies. | "Never apologizes directly; instead, offers small, unsolicited acts of service." |
| 8\. Embodiment | Posture\_Movement | The physical, somatic manifestation of the character's internal psychology. | Enriches prose generation and provides highly specific animation cues. | Required | String | \< 15 words | Material Conditions | Listing disconnected physical traits (hair color, eye color) without verbs. | "Moves with sharp, economic precision; takes up minimal physical space." |
| 9\. Scene | Under\_Pressure | The behavioral delta when resources, time, or social capital are scarce. | Ensures situational consistency rather than static rigidity during a crisis. | Scene-Specific | String | \< 20 words | Risk Management | Reverting to their baseline relaxed persona despite an active crisis. | "Becomes hyper-verbal and attempts to aggressively micromanage everyone around them." |
| 10\. Continuity | Learning\_Rules | Formalizes how experiences update the character's baseline psychological state. | Prevents static repetition across sessions; enables memory OS updates. | Advanced | Conditional Statement | \< 25 words | Evidence Standards | AI hallucinating random, unearned character growth or regression. | "IF betrayed by an ally, THEN permanently shift 'Trust\_Baseline' to low." |
| 11\. Epistemic | Meta\_Status | Tracks if a trait is a hard-coded authored truth or an inferred probability. | Crucial for system debugging and preventing permanent lore hallucinations. | Required | Categorical Metadata | \< 5 words | All fields | Treating transient AI inferences as immutable canonical text. | \[Status: Inferred\_Probability\_0.8\] |
Content-Value Ranking
To guide engineering implementation and context-window allocation, persona modules must be ranked by their return on investment. The ranking considers scene utility, dialogue utility, continuity utility, human readability, machine usefulness, and token cost.
| Module Category | Scene Utility | Dialogue Utility | Behavioral Utility | Relationship Utility | Distinctiveness | Continuity Utility | Human Readability | Machine Usefulness | Token Cost |
|---|---|---|---|---|---|---|---|---|---|
| Attention & Wants | High | High | High | Medium | High | Low | High | High | Low |
| Comm. & Examples | Medium | High | Low | Medium | High | Low | High | High | Medium |
| Cognition & Evidence | High | High | High | High | Medium | High | Medium | High | Low |
| Escalation & Risk | High | High | High | High | High | Medium | High | High | Low |
| Relational Asymmetries | Medium | High | High | High | High | High | Medium | High | Medium |
| Deception & Masking | Medium | High | High | High | High | Medium | Medium | High | Low |
| Learning & Memory | Low | Low | Medium | Medium | Medium | High | Low | High | High |
| History & Embodiment | Low | Medium | Low | Medium | Medium | Medium | High | Medium | High |
| Chronological Bios | Low | Low | Low | Low | Low | Low | Medium | Low | Very High |
Ranking Synthesis and Application
Tier 1: Essential (High Utility, Low Token Cost) These modules are strictly necessary for basic agent function and must remain in the persistent working memory (core context). They include Attention Priorities for immediate sensory grounding, Immediate Wants and Core Needs as the behavioral engine, Communication Style and Example Lines as the tonal blueprint, and Evidence Standards as the interaction boundary. Because these fields rely on short categorical strings and key-value pairs, they offer maximum behavioral leverage for minimal token expenditure. Tier 2: High Leverage (High Utility, Moderate Token Cost) These modules enrich interaction, creating subtext, relational depth, and dynamic scene branching. They are swapped into working memory as required by the narrative director. This tier includes Risk Management and Escalation Triggers for conflict resolution, Deception Style and the Public/Private Self dichotomy for multi-layered dialogue, Relationship Asymmetries loaded conditionally when interacting with specific targets, and Material Conditions to establish contextual constraints. Tier 3: Advanced (Moderate Utility, High Token Cost) These modules support long-term narratives and developmental tracking. They are primarily stored in archival memory and retrieved via semantic search when relevant triggers occur. This tier includes Learning Rules and Memory for episodic continuity, Turning Points and Formative Experiences for historical context, and Embodiment and Routines for complex environmental interaction. Tier 4: Decorative/Optional (Low Utility, High Token Cost) These represent traditional biography elements that should be pruned or aggressively summarized by the AI pipeline. Linear chronological biographies, generic preferences (e.g., favorite color, food) unless tied directly to a scene objective, and extensive lists of isolated physical attributes fall into this category. They severely bloat context windows while providing virtually zero actionable guidance to the LLM during scene generation.
Three Output Depths
The content architecture must scale across three operational depths, dynamically disclosing facts without contradiction or unnecessary repetition. Structured JSON is utilized as the primary data format, as it ensures clean attribute separation, prevents the LLM from generating unprompted prose, and is highly optimized for programmatic parsing.
1. Concise Person Card
- Purpose: Rapid human reading, user interface tooltips, and ultra-low-token context for peripheral NPCs occupying the background of a scene.
- Content: Name, Role, Core Need, Immediate Want, Attention Priority, one Example Line, and a strictly enforced two-sentence behavioral summary.
- Form: Strictly formatted JSON or Markdown table to ensure maximum token efficiency.
2. Standard Create a Person Profile
- Purpose: The default output for active character orchestration. Suitable as the core context block for a primary agent within an LLM operating system.
- Content: Incorporates all data from the Person Card, appending Communication Style, Evidence Standards, Escalation Triggers, Deception Style, Risk Management, Material Conditions, and Relationship Baselines.
- Form: Modular key-value pairs with short conditional strings, minimizing prose.
3. Deep Authoring Dossier
- Purpose: Long-term storage in vector databases; deep narrative authoring; comprehensive reference for human writers attempting to understand the complete psychological profile.
- Content: Incorporates all data from the Standard Profile, appending Turning Points, Learning Rules, Inherited Obligations, Embodiment, full Epistemic Status tracking, and potential character arcs.
- Form: A structured hierarchical JSON document or Markdown file, maintaining modularity through distinct headers rather than decaying into a single unbounded narrative prose block.
Full Worked Example: "Silas Vance"
This section demonstrates how the canonical facts of a single synthetic persona are progressively disclosed across the three depth levels without redundancy or narrative bloat.
Level 1: Concise Person Card
JSON { "Identity": { "Name": "Silas Vance", "Role": "Black-market quartermaster", "Social\_Position": "Disgraced military logistics officer turned independent operator." }, "Motivation": { "Core\_Need": {"Primary": "Independence", "Secondary": "Tranquility (Prevention-focused)"}, "Immediate\_Want": "Liquidate stolen medical supplies before the sector lockdown initiates." }, "Cognition": { "Attention\_Priority": \["Exit routes", "Concealed weapons", "Signs of physical desperation in clients"\] }, "Summary": "A pragmatic, highly observant quartermaster who trades strictly in favors and survival gear. He masks profound paranoia with a bored, transactional demeanor.", "Example\_Line": "I don't care who you're fighting. The price is the price, and you're short." }
Level 2: Standard Profile
(Inherits all Level 1 data natively. Below represents the appended context block.)
JSON { "Communication": { "Rhythm": "Terse, clipped, highly economical.", "Deception\_Style": "Lies by omission; deflects dangerous questions with invasive counter-questions.", "Example\_Line\_2": "You think this is leverage? This is Tuesday. Put the gun down before you hurt yourself." }, "Cognition": { "Evidence\_Standards": "Only trusts physical collateral and verified digital ledgers. Verbal promises carry zero weight." }, "Behavior": { "Risk\_Management": "High prevention focus. Will abandon a highly profitable deal if operational risk exceeds a known, pre-calculated threshold.", "Escalation\_Trigger": "Immediate withdrawal and hostility if a client attempts to pull rank or invoke institutional authority.", "Public\_Self": "A ruthless, bored, and untouchable opportunist.", "Private\_Self": "A terrified survivor desperately stockpiling resources for an inevitable societal collapse." }, "Material\_Conditions": "Operates out of a heavily retrofitted shipping container. Wealth is entirely tied up in physical assets; perpetually cash poor." }
Level 3: Deep Authoring Dossier
(Inherits all Level 1 and 2 data natively. Below represents the archival memory block.)
JSON { "Personal\_History": { "Turning\_Point\_1": "Served as a logistics officer in the Coalition Military; was scapegoated for a supply line failure that cost 400 civilian lives.", "Inherited\_Obligation": "Sends 30% of his monthly net profits anonymously to the surviving families of the victims from his military failure." }, "Relationships": { "Target\_Commander\_Kael": { "Asymmetry": "Deep, structural resentment.", "Modifier": "Silas will actively override his strict risk management protocols in order to sabotage Kael's operations." }, "Repair\_Behavior": "Incapable of verbal apologies. If he wrongs a trusted ally, he will drastically discount essential supplies as a silent amendment." }, "Development\_and\_Continuity": { "Learning\_Rule\_1": "IF a client demonstrates competence under fire without panicking, THEN Silas increases his baseline respect and offers higher-tier, restricted inventory.", "Epistemic\_Status\_Tracking": { "Authored\_Truth": \["Personal\_History", "Inherited\_Obligation"\], "Inferred\_Probability\_0.9": \["Private\_Self", "Repair\_Behavior"\] } }, "Embodiment": { "Posture": "Leans back, keeps hands visible but always within four inches of his tactical rig.", "Routine": "Spends three hours daily auditing inventory manifests to soothe severe clinical anxiety." } }
Anti-Bloat Rules
To preserve context window efficiency and ensure that the generative pipeline yields actionable algorithmic data rather than narrative sludge, the following strict architectural rules must be enforced across all generation prompts.
1. JSON over Markdown Prose: Whenever possible, use structured JSON formats for behavioral traits. LLMs generating unstructured markdown prose naturally drift into "adjective piles" and redundant storytelling. JSON forces the model to categorize and isolate variables, separating the detection of a trait from the prose expression of it.
2. The "Verb Anchor" Rule: Adjectives are strictly forbidden unless anchored to a specific verb or operational condition. Do not permit outputs such as "He is brave and smart." The system must output: "He approaches physical danger methodically, relying on tactical planning over brute force."
3. Prohibition on Repeated Biographies: Historical facts must only appear in the "Personal History" module. They must not be restated as justifications within the "Motivation" or "Behavior" modules. Use pointer references (e.g., "Motivated by Turning Point 1") if relational justification is necessary.
4. Eradication of Generic Motivational Language: Ban phrases like "wants to make the world a better place," "looking for love," or "trying to survive." Motives must be highly specific, intensely contextual, and falsifiable.
5. Ban on Embedded Catalogs: Individual profiles must not contain extensive lists of inventory, lore, or world-building. Mentioning a "retrofitted shipping container" is sufficient; do not list the specific contents of the container unless a specific item acts as an escalation trigger.
6. Avoidance of the "Static Resolution Loop": Prevent agents from declaring total, static victory or defeat in their profile (e.g., "He has overcome his past and is perfectly happy"). Characters must retain unresolved tensions, conflicting Reiss motives, or unsatisfied goals to remain actionable within a simulation.
7. No Meta-Field Explanations: The AI output must populate the data, not explain what the schema field means. For example, output {"Escalation": "Direct insults"} rather than {"Escalation": "The character will escalate a situation when they are insulted by someone"}.
Prioritized Expansion Roadmap
When integrating this architecture into the SpiralistAI "Create a Person" pipeline, the engineering and narrative design teams should sequence the implementation to prioritize immediate scene utility and token efficiency.
| Priority Level | Focus Area | Required Modules | Strategic Justification |
|---|---|---|---|
| 1\. Essential | Core Simulation Engine | Identity, Immediate Wants, Attention Priorities, Example Lines. | Delivers a functional, ultra-low-token Person Card that allows an LLM to immediately puppet the character in a basic spatial environment. |
| 2\. High Leverage | Cognition & Interaction | Evidence Standards, Risk Management, Escalation Triggers, Public/Private Self. | Enables complex dialogue trees, persuasion mechanics, and active conflict resolution without relying on external scripts. |
| 3\. Advanced | Relational & Temporal Dynamics | Relationship Asymmetries, Repair Behaviors, Scene Behavior Modifiers. | Enables multi-agent social simulations and situational consistency, allowing the character to deform under specific dramatic pressures. |
| 4\. Optional | Deep History & Lore | Turning Points, Formative Experiences, Extensive Embodiment traits. | Fleshes out the narrative for human readers but provides diminishing returns for autonomous LLM action generation. |
| 5\. Evidence-Only | System Architecture | Learning Rules, Memory OS, Epistemic Status tracking. | Connects the profile to external vector databases for long-term narrative continuity and prevents permanent lore hallucinations. |
Safety and Uncertainty Framework
The deployment of deep psychological modeling in synthetic agents carries inherent ethical and safety risks. This architecture strictly governs how traits are modeled and represented to prevent the generation of harmful profiling systems, unsafe stereotypes, or inappropriate clinical evaluations. First, the system adheres to a strict fictional application stricture. This content architecture is designed exclusively for fictional characters, interactive narrative NPCs, and synthetic personas. It must never be applied to ingest, analyze, or profile data belonging to real, living individuals. Second, the architecture demands absolute agnosticism to diagnostic labels. The system must not generate or rely upon real-world mental health diagnoses (e.g., "schizophrenic," "narcissistic personality disorder"). Instead, it utilizes dramaturgical and behavioral descriptions (e.g., "Experiences auditory hallucinations," "Possesses a highly inflated sense of social entitlement"). This prevents equating clinical labels with dangerousness and ensures characters are not defined solely by a medical pathology. Furthermore, there is a strict prohibition on protected trait inference. The system must not infer protected attributes—such as race, sexual orientation, or disability—from unrelated behavioral or socioeconomic data. These elements must either be explicitly authored by the human user or left permanently undefined by the AI. Vulnerabilities, such as fears or dependencies, are modeled strictly to generate dramatic narrative conflict, not to produce instruction sets for real-world manipulation, coercion, or recruitment. They are strictly confined to the abstract simulation environment. To preserve agentic flexibility, action tendencies must be expressed conditionally (e.g., "Likely to flee," "Often responds with anger"), preserving the character's agency and the possibility of alternative outcomes based on user interaction. Finally, epistemic transparency is mandated via the Epistemic Status domain. AI-generated inferences must be clearly labeled as probabilistic proposals rather than objective facts. This maintains the human author's ultimate authority over the persona and prevents AI hallucinations from being cemented as canonical truth, ensuring the system remains a tool for creation rather than an arbiter of absolute reality.
Conclusion
The content architecture detailed in this report resolves the critical bottleneck in translating massive generative text outputs into actionable persona data. By shifting the paradigm from static, chronological biography to situational consistency, and from superficial behavioral mimicry to deep cognitive modeling, SpiralistAI can generate characters that are deeply coherent, highly responsive, and computationally lightweight. By adhering to the principles of dynamic epistemic logic, tiered memory structuring, and strict JSON-based anti-bloat formatting, the "Create a Person" pipeline will yield personas that transcend the limitations of decorative encyclopedias. Instead, they become functional algorithmic engines. These deeply modeled agents are fully equipped to drive complex interpersonal relationships, navigate high-pressure scenes, and evolve naturally within interactive digital environments, providing unparalleled utility for human writers and simulation architects alike.
Works cited
1. McAdams' Three Levels of Personality | PDF | Narrative | Identity (Social Science) \- Scribd, https://www.scribd.com/document/858319865/Dan-Mcadams-2-compressed
2. Advancing the cultural study of personality and identity: models, methods, and outcomes, https://cipp.ug.edu.pl/pdf-147881-73622?filename=Advancing-the-cultural-st.pdf
3. Fundamental Principles for an Integrative Science of Personality \- Western Kentucky University, https://people.wku.edu/richard.miller/new%20big%20five.pdf
4. Dan P. McAdams \- Wikipedia, https://en.wikipedia.org/wiki/Dan\_P.\_McAdams
5. The role of narrative in personality psychology today \- SciSpace, https://scispace.com/pdf/the-role-of-narrative-in-personality-psychology-today-2cr9qatpre.pdf
6. McAdams' Levels of Personality Theory | PDF \- Scribd, https://www.scribd.com/presentation/527757251/Dan-Mcadams
7. The Reiss Motivation Profile®: Reliability and Validity \- Denkfabrik am See, https://www.denk-fabrik-am-see.de/fileadmin/pdf/RMP-Reliability-Validity-Paper.pdf
8. The Science of Motivation®, https://www.reissmotivationprofile.com/motivation
9. Reiss Motivation Profile, https://www.reissmotivationprofile.com/
10. 16 life motives according to Reiss, https://www.rmp.eu/en/find-out-who-you-are-with-the-reiss-motivation-profiler/16-life-motives-according-to-reiss/
11. Reiss Motivation Profile \- Pia Maria, https://www.piamariathoren.com/reiss-motivation-profile
12. Understanding the 16 Basic Desires | PDF | Motivation \- Scribd, https://www.scribd.com/document/92219581/16-Basic-Desire-z
13. Full article: Motivated to trust? Promotion and prevention focus are distinctly related to the tendency to trust others \- Taylor & Francis, https://www.tandfonline.com/doi/full/10.1080/21515581.2025.2486940
14. Tridimensionality: Characters According to Egri \- everwalker \- WordPress.com, https://everwalker.wordpress.com/2015/11/20/tridimensionality-characters-according-to-egri/
15. Three-Dimensional Characters: 3 Ways to Create One \- Writes With Tools, https://writeswithtools.com/2018/01/01/three-dimensional-characters/
16. Egri's The Art of Dramatic Writing & The Three Dimensions of Character | teachinghighschoolenglish, https://teachinghighschoolenglish.wordpress.com/2011/10/26/characterization-the-three-dimensions-of-character/
17. Characterization and Three Dimensions of the Main Character in Looking for Alaska \- Semantic Scholar, https://pdfs.semanticscholar.org/a5f6/516c00941548eb56f7923f6c5286e88f8638.pdf
18. What makes a character "three dimensional"? : r/writing \- Reddit, https://www.reddit.com/r/writing/comments/6ck9mj/what\_makes\_a\_character\_three\_dimensional/
19. Lajos Egri on Story Characters \- Stavros Halvatzis Ph.D., https://stavroshalvatzis.com/creating-anticipation-in-dialogue/lajos-egri-story-characters
20. Beyond Memorization: Distinguishing Between Pattern-Based and Epistemic Reasoning in LLMs Using Epistemic Puzzles \- arXiv, https://arxiv.org/html/2603.21350v3
21. Dynamic Epistemic Logic \- Stanford Encyclopedia of Philosophy, https://plato.stanford.edu/archives/fall2020/entries/dynamic-epistemic/
22. An Agent Framework for Manipulation Games \- CEUR-WS.org, https://ceur-ws.org/Vol-3217/paper5.pdf
23. Preregistered Belief Revision Contracts \- arXiv, https://arxiv.org/pdf/2604.15558
24. Memory Architecture Patterns | The AI Agent Factory \- Panaversity, https://agentfactory.panaversity.org/docs/Building-Agent-Factories/augmented-memory/memory-architecture-patterns
25. Agent Memory: How to Build Agents That Learn and Remember \- Letta, https://www.letta.com/blog/agent-memory/
26. MemGPT: Towards LLMs as Operating Systems \- arXiv, https://arxiv.org/pdf/2310.08560
27. CoDi: A Director-Actor Framework for Goal-Driven Interactive Story Generation with LLMs \- AAAI Publications, https://ojs.aaai.org/index.php/AIIDE/article/download/36811/38949/40888
28. MemGPT: Towards LLMs as Operating Systems \- Shishir Patil, https://shishirpatil.github.io/publications/memgpt-2023.pdf
29. Scheherazade's Tavern: A Prototype For Deeper NPC Interactions \- Expressive Intelligence Studio, https://eis.ucsc.edu/papers/Jammaz\_ScheherazadesTavern.pdf
30. Character-R1: Enhancing Role-Aware Reasoning in Role-Playing Agents via RLVR \- arXiv, https://arxiv.org/pdf/2601.04611
31. Character-R1: Enhancing Role-Aware Reasoning in Role-Playing Agents via RLVR | Request PDF \- ResearchGate, https://www.researchgate.net/publication/399595845\_Character-R1\_Enhancing\_Role-Aware\_Reasoning\_in\_Role-Playing\_Agents\_via\_RLVR
32. CRPO: Character-centric Group Relative Policy Optimization for Role-aware Reasoning in Role-playing Agents \- arXiv, https://arxiv.org/html/2605.25511v1
33. Reward-Decomposed Reinforcement Learning for Immersive Video Role-Playing \- arXiv, https://arxiv.org/html/2605.04733v1
34. Perfect Detection, Failed Control: The Geometry of Knowing vs. Steering in Language Models \- arXiv, https://arxiv.org/pdf/2606.24952
35. OnlyTerp/openclaw-optimization-guide \- GitHub, https://github.com/OnlyTerp/openclaw-optimization-guide
36. AI测试入门:如何设计LLM的Prompt?这份提示词工程指南请收好\_人工智能 \- AtomGit开源社区, https://gitcode.csdn.net/6a23a344662f9a54cb7a7528.html