# Postacie rozmawiające dzięki modelom językowym

EN: **LLM-driven NPCs and generative agents** · id `llmnpc` · aliases: LLM NPCs, generative agents, AI NPC, postacie z modelem językowym, generatywni agenci, conversational NPCs, AI game master

Path: [AI Atlas](https://aiatlasgraph.com/llms.txt) › [AI w grach](https://aiatlasgraph.com/t/gameai.md) › [Zachowanie postaci w grach](https://aiatlasgraph.com/t/gamecharacters.md) › Postacie rozmawiające dzięki modelom językowym

## Description

- PL: Postacie i symulacje społeczne napędzane modelami językowymi z pamięcią, refleksją i planowaniem, osadzone w regułach i stanie gry.
- EN: Characters and social simulations driven by language models with memory, reflection and planning, grounded in game rules and state.

## In one sentence

- PL: Postacie w grze, z którymi rozmawiasz własnymi słowami, a one odpowiadają w roli, pamiętają cię i mają własne plany.
- EN: Game characters you talk to in your own words, who answer in character, remember you and have plans of their own.

## Problem it solves

- PL: Rozmowy z postaciami ograniczają się do kilku gotowych odpowiedzi, więc świat gry szybko wydaje się sztuczny i pusty.
- EN: Conversations with characters are limited to a few canned replies, so the game world soon feels artificial and empty.

## What it does

- PL: Jak aktor improwizujący w roli: zna swoją postać i jej historię, więc odpowie na pytanie, którego nikt nie napisał w scenariuszu.
- EN: Like an improv actor in character: knowing the role and its backstory, it answers questions no script ever covered.

## Everyday example

- PL: Pytasz karczmarza w grze o plotki z miasta, a on opowiada o kłótni kowala z sąsiadem i pamięta, że wczoraj nie zapłaciłeś za piwo.
- EN: You ask a game innkeeper for town gossip, and he tells of the smith's feud with a neighbour and recalls you skipped paying for ale yesterday.

## This concerns you if you…

- PL: chcesz rozmawiać z postaciami w grach naturalnie
- PL: piszesz fabułę lub postacie do gry
- PL: grasz w gry fabularne z AI jako mistrzem gry
- EN: want natural conversations with game characters
- EN: write stories or characters for games
- EN: play role-playing games with AI as game master

## Keywords

generative agents · memory stream · reflection · Smallville · NVIDIA ACE · AI Dungeon · role-playing LLMs · persona consistency · Inworld

## How it works

- PL: Model językowy dostaje opis postaci, stan gry i wspomnienia wyszukane z pamięci zapisanej w języku naturalnym. Okresowo syntetyzuje z doświadczeń wnioski wyższego poziomu i układa plan dnia. Odpowiedzi i akcje są filtrowane przez reguły gry, a mowę generuje synteza głosu.
- EN: The language model gets a character description, the game state and memories retrieved from a natural-language store. It periodically synthesises higher-level reflections from experience and plans its day. Replies and actions are filtered through game rules, and speech comes from voice synthesis.

## Limits

- PL: Postać może wymyślić nieistniejące zadania lub wyjść z roli. Opóźnienie i koszt każdego zapytania rosną z liczbą graczy, a pamięć jest krótka. Trzeba pilnować toksycznych treści, a zmiany modeli u dostawcy psują powtarzalność.
- EN: A character may invent quests that do not exist or break role. Latency and per-query cost grow with player numbers, and memory is short. Toxic output must be guarded against, and provider model updates break reproducibility.

## Key terms

- PL: **strumień pamięci**: Lista doświadczeń postaci zapisana zwykłym językiem.
- PL: **refleksja**: Okresowe wyciąganie ogólnych wniosków z wielu wspomnień.
- PL: **karta postaci**: Opis osobowości, historii i celów podawany modelowi.
- EN: **memory stream**: A list of the character's experiences in plain language.
- EN: **reflection**: Periodically drawing general conclusions from many memories.
- EN: **character sheet**: A description of personality, backstory and goals given to the model.

## Know first

- [Agenci i orkiestracja (Agents and orchestration)](https://aiatlasgraph.com/t/agentsnode.md)
- [Pamięć i stan (Memory and state)](https://aiatlasgraph.com/t/memory.md)

## Related topics

Untyped, symmetric "see also" links.

- [Animacja twarzy z nagrania głosu (Audio-driven facial animation)](https://aiatlasgraph.com/t/audiofacial.md)
- [Pamięć i stan (Memory and state)](https://aiatlasgraph.com/t/memory.md)

## Sources

- [Generative Agents: Interactive Simulacra of Human Behavior](<https://arxiv.org/abs/2304.03442>) `park-generative-agents-2023` · by Joon Sung Park, Joseph C. O'Brien, Carrie J. Cai, Meredith Ringel Morris, Percy Liang, Michael S. Bernstein
- [Large Language Models and Games: A Survey and Roadmap](<https://arxiv.org/abs/2402.18659>) `gallotta-llm-games-2024` · by Roberto Gallotta, Graham Todd, Marvin Zammit, Sam Earle, Antonios Liapis, Julian Togelius, Georgios N. Yannakakis

---

AI Atlas revision 122 (2026-10-30) · HTML: https://aiatlasgraph.com/t/llmnpc · index: https://aiatlasgraph.com/llms.txt · everything: https://aiatlasgraph.com/llms-full.txt · updated 2026-10-30
