The Crafty component adds an entity a ability to carry conversation. As data source it uses JSON file. For building data structure you can use prepared Dialogues builder (http://kibo.github.com/dialoguesBuilder/).