Artificial intelligence (AI) encompasses computational approaches to tasks associated with human intelligence. Machine learning identifies patterns from examples rather than relying solely on predefined rules; deep learning uses multilayer neural networks. Foundation models learn representations that can support several tasks, whereas large language models process and generate natural language. In epilepsy, these approaches connect clinical records, electroencephalography (EEG), imaging and molecular data, but their maturity varies considerably.