Jarvis is not an AI, he is VI, virtual intelligence, not artificial. There’s a difference. If Jarvis was an artificial intelligence Tony wouldn’t have wanted or needed to create Ultron, who was only born due to Tony and Bruce studying the mind stone to create the foundation for their AI.