Intelligent artifacts