← Main NPC
Eren Yeager · traits
01 · Scene What happened in your game? i Describe any game event — speech, an in-world occurrence, or something the NPC observes. The AI reads this and picks one action from the menu on the right.


Player is in scene — speech licensed addressee_present: true i When true the NPC is licensed to speak. When false any dialogue is suppressed — the NPC may still take a silent action.
02 · Action Menu What can the NPC do? i Define the NPC's allowed moves for this scene. In a real game this list changes dynamically — the AI picks exactly one action and uses it to form a private intent before deciding whether to speak.
i The exact JSON body this sandbox POSTs to /api/perceive. Expand to see how your inputs map to the SDK request shape.

      
03 · NPC Response perceive() output
POST /perceive → backend
Configure the scene and action menu, then hit Run to see the NPC decide.