AI system architecture