Harvard University · on edX

CS50's Introduction to Artificial Intelligence with Python

Beginner 70 hours English University CertificateFREE
Our recommendation
A hands-on introduction to the ideas behind modern AI — search, knowledge, optimisation, machine learning and large language models — using Python. It is engaging and project-driven, but it expects you to already program in Python, so it is not a true beginner course.

Good for: People who already know some Python and want to understand how AI techniques work.

Less suitable if: You cannot yet program, or you want deep mathematical theory.

Skills you'll gain

Artificial intelligenceSearch algorithmsMachine learningOptimisationNeural networksPythonLarge language models

Is this course right for you?

A good fit if you…

You can already write Python
You want to understand AI techniques hands-on
You enjoy project-based learning

Consider something else if you…

You have never programmed
You want heavy mathematical theory
You only want to use AI tools, not build with them

Requirements: CS50x or about a year of Python experience.

Realistic time: About 70 hours; a couple of months part-time.

About this course

CS50's Introduction to Artificial Intelligence with Python is HarvardX's deep dive into the ideas that power modern AI. Over seven self-paced weeks you work through graph and adversarial search, knowledge representation and logical inference, probability and Bayesian networks, optimization and constraint satisfaction, machine learning, reinforcement learning, neural networks and natural language processing — implementing each in your own Python programs through hands-on projects.

What you'll learn

Implement graph and adversarial search algorithms
Represent knowledge and perform logical inference
Apply probability and Bayesian networks
Solve optimization and constraint problems
Build machine learning and reinforcement learning models
Create neural networks and NLP programs in Python

This course includes

70h
On-demand video
Yes
Certificate
Yes
Mobile access
English
Language

What it costs

Free at cs50.harvard.edu/ai, with a free CS50 certificate on completing the projects. An optional edX verified certificate is available for a fee.

Comparison · LBS

Compare alternatives for CS50's Introduction to Artificial Intelligence with Python

Same topic, different options. We surface the trade-offs others hide so you can pick the course that actually fits your time, budget, and goals.
edX
CS50's Introduction to Artificial Intelligence with Python
Price
Free
Audit free · HarvardX certificate available (paid)
Duration
70 hrs
Level
Beginner
Certificate
University Certificate
MIT OpenCourseWare4.9(15,000)
Linear Algebra (18.06)
Price
Free
Completely free, openly licensed — no certificate
Duration
34 hrs
Level
Intermediate
Certificate
Stanford Online4.9(9,000)
CS231n: Deep Learning for Computer Vision
Price
Free
Free lecture materials; some versions paid
Duration
50 hrs
Level
Advanced
Certificate
Stanford Online4.9(7,000)
CS224n: Natural Language Processing with Deep Learning
Price
Free
Free lecture materials; some versions paid
Duration
50 hrs
Level
Advanced
Certificate
Prices & availability can change — confirm on the provider's site. We're not affiliated with any single provider.

Is the certificate recognised?

A free CS50 certificate from Harvard on completing the projects, plus an optional paid edX verified certificate. The projects you build are the real takeaway.

Instructor

DJ
David J. Malan
edX instructor

Taught by David J. Malan, Gordon McKay Professor of the Practice of Computer Science at Harvard, and Brian Yu, a Senior Preceptor in Computer Science at Harvard.

About this provider

ED
edX
Non-profit online learning platform founded by Harvard and MIT. 45M+ learners worldwide.
Visit edX

Frequently asked questions

You need CS50x or roughly a year of Python experience. It is not a first programming course.
Yes, a free CS50 certificate on completing the projects. edX also offers an optional paid verified certificate.
Yes. Alongside search, optimisation and machine learning, it now covers the ideas behind large language models.
It is challenging and project-heavy, but very doable if your Python is solid.
Yes for understanding how AI actually works, rather than just using tools. Pair it with your own projects.
About 70 hours; a couple of months part-time.
Free
to audit
Enroll now