From OpenCog

Ghost is a chatbot scripting and robot control subsystem in OpenCog

The Ghost scripting system is a rough port of the ChatScript chatbot scripting system, with extensions reacting to sensory input, and for controlling robot behaviors. See the github repo at /opencog/ghost for documentation and the current code.