Defworld is a multi-agent simulation library for interactive storytelling.
https://bitbucket.org/euphoris/defworld.git