Skip to main content

Anthropomorphic psychology engine built on SPL Pure Core V8.0 — deterministic emotion, trauma, memory, trust, and defense mechanisms.

Project description

ANTHROPOMORPHIC-AGENT-ENGINE banner

agent psychology spl-v8

Anthropomorphic Psychology · SPL Pure Core V8.0

✦ About

ANTHROPOMORPHIC-AGENT-ENGINE is an anthropomorphic psychology engine built on SPL Pure Core V8.0. It models cognition, emotion, motivation, and sociality as composable subsystems, giving AI agents anthropomorphic internal states and consistent personalities for coherent, emotionally credible behavior in long-term interactions.

ANTHROPOMORPHIC-AGENT-ENGINE overview

— ✦ —

✦ Quick Start

git clone git@github.com:NOHN-AI/ANTHROPOMORPHIC-AGENT-ENGINE.git
cd ANTHROPOMORPHIC-AGENT-ENGINE
# Pure Python ≥3.8 — standard library only, nothing to install
python "SPL-anthropic-engine.py"   # run the engine / bundled demo

— ✦ —

✦ What's Inside — SPL Pure Core V8.0

The engine models a universal human mental architecture as deterministic, continuous-state subsystems — no LLM, no randomness, fully replayable:

  • 8-dimensional emotion fluid — 喜悦 / 愤怒 / 恐惧 / 信任 / 疏离 / 张力 / 愧疚 / 羞耻, each a continuous state with its own target and baseline.
  • Trauma & memory — trauma nodes, memory reconsolidation, Ebbinghaus-style forgetting, repression–rebound and the implicit-pressure avalanche.
  • Trust & relationships — trust-capacity corrosion (max_trust decays under chronic cold treatment).
  • Metabolism of mind — excitation–arousal, dynamic viscosity, psychological time, energy–fatigue metabolism, and a virtual clock for tests and replay.
  • V8.0 extensions — a slow-variable mood layer, a shame dimension distinct from guilt, self-esteem dynamics, sleep/dream processing (REM consolidation + fear extinction + sleep debt), an anticipation system (hope / anxiety / disappointment), cognitive dissonance, and extended defense mechanisms (denial / rationalization / displacement).

✦ Composable Modules

Module File Responsibility
Narrative mapper SPL-anthropic-engine.py External, user-swappable persona layer (optimism / paranoia / misanthropy) that translates events into interoceptive vectors.
Identity engine feature/Identity module.py Multi-identity model; identity conflict injects sustained baseline tension.
Goal / Value / Bias / World feature/*.py Composable drives, valuation, cognitive biases, and world-model priors.

✦ Usage

After installing via pip install spl-agent-engine, import directly:

from spl_agent_engine import SPLPureCore, NarrativeMapper

core = SPLPureCore()
# An external event is mapped to an interoceptive vector by the (swappable) persona layer
vec = NarrativeMapper.map_event("insult", intensity=1.0)
# feed the event into `core` to evolve emotion / trust / trauma state over time
core.process_event("insult", intensity=1.0)
print(core.fluid)

✦ Project Structure

ANTHROPOMORPHIC-AGENT-ENGINE/
├── SPL-anthropic-engine.py     # core engine + NarrativeMapper
├── feature/                    # Goal / Identity / bias / value / world modules
├── sujin-demo/                 # reference demo assets
├── assets/                     # banner.svg, overview.svg
└── docs/index.html

✦ License & Authorization

This repository is not open-source. It uses a dual-track model: free for individual non-commercial research, paid commercial authorization required for government / enterprise. See LICENSE for the full terms — licensor and governing law are determined by the user's location.

NOHN-AI  ·  nohnlins.com  ·  ai@nohnlins.com

NOHN AI · ANTHROPOMORPHIC-AGENT-ENGINE

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spl_agent_engine-0.1.0.tar.gz (36.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spl_agent_engine-0.1.0-py3-none-any.whl (38.6 kB view details)

Uploaded Python 3

File details

Details for the file spl_agent_engine-0.1.0.tar.gz.

File metadata

  • Download URL: spl_agent_engine-0.1.0.tar.gz
  • Upload date:
  • Size: 36.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.14

File hashes

Hashes for spl_agent_engine-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8bd50ca6acc5c2656c953b067e1cecace3b87c5e18e40606676c5cf06e4fb0d9
MD5 d1af1184f9629ee89da69e92d7fa2c95
BLAKE2b-256 4bc39eca4e248e0b705f763e2a60738373c1ce1b1ca5fb85089a9a4e6210e3da

See more details on using hashes here.

File details

Details for the file spl_agent_engine-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for spl_agent_engine-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 03fd73d0e4296720d7b16195253bd5a742ea7405188ab8243c2ddf2efd514420
MD5 f83fc24d5f7e5c9e506efb057d7ace00
BLAKE2b-256 5e1bf0b10f68b56bd297db1eaea84b2b37c4d32b1b546b4945dd63b69bb727ff

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page