mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6563] [Feature]: in-world npc character cards #3678
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#3678
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @coldRaven777 on GitHub (Sep 23, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6563
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
Presistency and memory of npcs along with maintaining long term coherence.
Npcs should have their own character cards (virtual, chat bound) and private memories and relationship tracker
Proposed solution
Once we are in a roleplay (or maybe ,optionally in chat mode too. I can't really comment on game mode because I never used it) and as the story is progressing, npcs keep being created and deleted .
Npcs kind of already presist on the character tracking agent but the agent is very unreliable because it is scene based .
What i suggest is the following. Have an agent that runs parallel to generation that does the following:
Npc Character cards
Act almost as normal character cards , can be edited etc. But they also have a personal memory database. Event based .
So it can be recalled by similarity
Npc character cards are chat / rp bound by default but they can also be bound to a specific card if the user wants.
Also these npcs must be associated with triggrr keywords (like in lorebook entreies) so they can have parts of the prompt injected in context (when they are being mentioned, etc)
In my honest opinion this solves 2 fundamental problems of long term roleplay: character consistency and knowledge segregation.
I suggest the following types of render
Scene render:
This is the render that happens when the npc is present in the scene
Injects the description, the appearance, personality and all other fields into the context.
It also injects private memories (recalled based on situation)
Indirect render
This happens only when the npc is being mentioned . (Via the keywords )
It will inject only the npc description field and personality in order to save context space
Memories
Memories must be chronological.
They must extract from the world tracker agent whenever possible.
And must be event based.
npc_conversation etc.
additional fields
Relationships
The relationships field is rendered in both modes it has the list of relationships.
It changes via the agent
Alternatives considered
None
Additional context
I know that this feature is most likely out of the scope of the project, but suggesting it doesn't hurt , does it?
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
.
@SpicyMarinara commented on GitHub (Sep 23, 2026):
You can create character cards or lorebooks for NPCs already.