Simulating human cognition in LLM agents: a free 126K-word book covering memory decay, emotion engines, personality drift, and 12 other cognitive subsystems
Posted by Awkward-Educator6293@reddit | LocalLLaMA | View on Reddit | 7 comments
Most LLM agents treat the model as the entire cognitive system. System prompt defines personality, RAG handles memory, chain-of-thought handles planning. It works until it doesn't, and when it breaks, there's no structural theory to debug against.
This book takes a different approach: treat the LLM as a translation layer and build the actual cognitive architecture around it. Memory with Ebbinghaus forgetting curves and reconstructive distortion. Emotion using OCC appraisal models and PAD mood space. Decision-making through GOAP planners perturbed by prospect theory. Personality as system-wide parameter modulation with drift detection.
The underlying research comes from three fields that rarely cross-reference each other — cognitive science (ACT-R, CLARION, LIDA), game AI (The Sims autonomy system, Dwarf Fortress personality modeling, Halo behavior trees), and LLM agent engineering. 15 chapters, 120+ citations, working Python/JS code throughout. Free on GitHub.
This is a synthesis of existing research with working implementations, so I'd genuinely appreciate feedback on the substance; what's wrong, what's missing, and what doesn't hold up.
_mayuk@reddit
Why no one read the NL or hope nested learning arquitectura that mimic brain wave into embedding to try to created on the go learning ????
_mayuk@reddit
Why I’m getting negative god damn … xd
xeeff@reddit
publishing AI content inside of .md files in a github repo doesn't count as publishing a book, sorry
_mayuk@reddit
Good thinks that the molts don’t care how created or how was created the content … they don’t care about the form but just about the info …
That is why I just write for the bots/molts nowadays .. I would end up as their prophet xd
JamesEvoAI@reddit
If you couldn't be bothered to write it why would anyone bother to read it?
Pleasant-Regular6169@reddit
no worries he didn't read it either
paulqq@reddit
curios, iam just atm working on this, memory promote and decay. to remove the noise, will read into it, thanks for sharing