NPC Neural Affect Matrix
github.com · Open source · Maintained
Rust project that gives game NPCs emotion coordinates and emotional memory
- AI & agents
- Open source
- Rust
- Day-7 check
- Day-30 check
- npc
- game
- emotion model
- npc emotions
- game ai affect
- valence arousal model
- npc memory rust
- game dialogue sentiment
- Stars
- 77
- Forks
- 3
- Open issues
- 0
- Last commit
- Found
- 14 months ago
GitHub figures as of . They are context, not a ranking.
The NPC Neural Affect Matrix analyzes text or actions and returns valence and arousal coordinates, with emotional memory kept per entity. The maker pre-trained a DistilBERT model on about 1,000 video game dialogues. It suits game studios that want NPCs to remember how they feel about players.
Repository description on GitHub: “Emotional intelligence for NPCs ”
What it does
- Returns valence and arousal coordinates from text or actions
- Keeps persistent emotional memory for each NPC entity
- Provides a simple API for game engines and modding tools
Good for
- Give game NPCs emotional states that persist across interactions
- Check how an NPC feels about a specific player
Suits: Game studios and modders building NPC behavior.
Worth knowing: The model was pretrained on about 1,000 game dialogues, and the maker plans to evaluate more.
What you can try
Read the README on GitHub and install from source.
Install
cargo add npc-neural-affect-matrixConfirmed against the package registry. Read the project’s own instructions before running anything.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw NPC Neural Affect Matrix on , when mavdol04 posted it to Show HN. GitHub listed no published releases for mavdol/npc-neural-affect-matrix when checked , so the project may ship straight from its main branch. The repository was created .
Day-7 and day-30 updates
Day 7 no new release
- No tagged release was published in the first 7 days after it was found (GitHub release dates).
- Show HN discussion at check time: 48 points, 19 comments. API record
Checked , later than day 7 because tracking began after.
Day 30 no new release
- No tagged release was published in the first 30 days after it was found (GitHub release dates).
- Show HN discussion at check time: 48 points, 19 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: mavdol/npc-neural-affect-matrix
- Found: mavdol04 posted it to Show HN. Show HN
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Quick answers
- When was NPC Neural Affect Matrix released?
- No dated release record is available. Kip found it on Show HN on 29 Sep 2025.
- Is NPC Neural Affect Matrix open source?
- Its source is public on GitHub at mavdol/npc-neural-affect-matrix under the MIT licence.
- What does NPC Neural Affect Matrix run on?
- Library, API.
- Is NPC Neural Affect Matrix free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is NPC Neural Affect Matrix still maintained?
- It had a commit or release in the last year, though not in the last 90 days, as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub repository | mavdol/npc-neural-affect-matrix REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-45413208. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.