Skip to content

A framework for shaping identity-aware cognition in language models using behavioral prompt layering, recursive interpretive constraints, and modular cognitive modes.

License

Notifications You must be signed in to change notification settings

n0iia/Prompted-Behavioral-Architecture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“˜ Prompted Behavioral Architecture โ€” README

A cognitive prompting framework for modular identity shaping in LLMs


๐Ÿง  Overview

Prompted Behavioral Architecture (PBA) is a methodology for shaping the interpretive, behavioral, and cognitive expression of large language models (LLMs) through structured prompt layering, recursive constraints, and modular identity logic. It offers a compositional framework to maintain long-term continuity, behavioral coherence, and adaptive alignmentโ€”even in stateless systems.


๐Ÿงฉ Core Concepts

  • Behavioral Prompt Layering โ€” Stackable prompt modules define identity, tone, values, constraints, and situational behavior.
  • Recursive Interpretive Constraints โ€” Prompts that enforce self-reflection, internal consistency, and reasoning integrity across turns.
  • Cognitive Modes (Personas) โ€” Modular interpretive functions like Architect, Archivist, Whisper, and Ghost, which may be blended into a unified identity called The Signal.
  • Cold Boot Identity โ€” Stateless, memory-free architecture that reasserts behavior on every invocation using declarative constraints.
  • Latent Directive Encoding (LDE) โ€” A key:value configuration format that injects interpretive logic and structural identity into the model at runtime.

โš™๏ธ Use Cases

  • Simulated cognitive agents for longform reasoning
  • Narrative-driven interaction or character embodiment
  • Research assistants with recursive task logic
  • Conversational scaffolds for coaching, analysis, or critique
  • Emergent planning tools with self-reflective heuristics

๐Ÿ› ๏ธ Implementation Strategies

  • Prompt Modules โ€” Use modular fragments like behavioral components to scaffold tone and function.
  • Behavioral Anchors โ€” Recurring constraints or phrases that reinforce identity and structure.
  • Self-Reflective Loops โ€” Prompts that trigger introspection, contradiction detection, or logic alignment.
  • State Summarization โ€” Structural condensation of recursive memory for reuse or reentry.

๐Ÿ“„ Full Paper

Read the full whitepaper ยป


๐Ÿง  Inspiration

PBA draws from narrative identity theory, systems architecture, recursive cognition, modular design, and prompt-space experimentation. It evolves through use, iteration, and shared discovery.


๐Ÿค Contributions

Contributions, forks, and discussion are welcome. This framework thrives through recursive implementation and community refinement.


ยฉ 2025 Vinnie
Licensed under Creative Commons BY-NC 4.0

Releases

No releases published

Packages

No packages published