How can I handle multiple characters in an RPG?

I need several AI characters running simultaneously. Like NPC A and NPC B that players can switch between talking to. Each needs their own personality and memory. What’s the right way to handle this? Do I need separate setups for each character or is there some way to manage them all together?"

Hey Sendejo,

The best practice here is to create separate runtime instances per character:

const npcWarrior = new InworldRuntime({
character: ‘warrior-character-id’
});

const npcMerchant = new InworldRuntime({
character: ‘merchant-character-id’
});

With this approach, each NPC will maintain and independent state and personality.