An artificial intelligence library