Python Intelligent Agent