Skip to content
Zarif Automates
AI Careers10 min read

How to Learn AI from Scratch: Free Resources Guide

ZarifZarif
|Published |Updated

Learning AI from scratch used to mean paying for a bootcamp or a graduate program. It doesn't anymore. Every major model lab, university, and cloud provider has open-sourced its teaching material. Access isn't the bottleneck now. Curation is. There are more free AI courses than one person can finish, and picking the wrong order is what leaves most beginners stuck watching tutorials instead of building things that work.

This guide is the order that works. Ninety days, zero dollars, and you end with a working AI application you built and deployed yourself. Every resource below was free and current as of May 2026. No paid upsells dressed up as free trials.

Definition

In 2026, learning AI from scratch means building the skills to use, customize, and deploy machine learning and generative AI systems. You start with no programming background and get there through hands-on projects, not passive video watching.

TL;DR

  • A working zero-to-deployed path takes about 90 days at 8 to 10 hours a week, using only free resources
  • Start with Elements of AI for concepts (no code required), then Python through the free Codecademy track, then Google's Machine Learning Crash Course
  • Hugging Face hosts thousands of free pretrained models and runs a free course. This is where you actually start building
  • The two free courses that matter most for generative AI are DeepLearning.AI's short courses and Anthropic's free Claude Skills training
  • Spend most of your time building, not watching videos. A shipped project teaches you more than another tutorial

Why You Can Actually Do This Without Paying

As of 2026, OpenAI, Anthropic, Google, Microsoft, and Hugging Face all maintain free curriculum, and it beats what most paid bootcamps offered a few years back. Add MIT OpenCourseWare, Stanford's CS courses on YouTube, and the University of Helsinki's Elements of AI, and you have a full syllabus without paying for any of it.

The catch is order. Jump straight into building an LLM agent without understanding tokens, embeddings, or basic Python, and you hit a wall in week one and quit. The path below avoids that.

The 90-Day Path

The plan runs three months. Month one covers foundations: what AI is, basic Python, and core machine learning concepts. Month two covers the modern AI stack: transformers, LLMs, prompting, and embeddings. Month three is shipping: build, deploy, and document one real project.

Month 1: Foundations

Week 1 to 2: Take Elements of AI from the University of Helsinki. It's free, needs no programming, and gives you the conceptual scaffolding (supervised vs unsupervised learning, neural networks, ethics) every later course assumes you already have. Budget 8 to 12 hours across the two weeks. Skip nothing.

Week 3 to 4: Learn enough Python to be useful. The free Codecademy Python 3 track or the free CS50P from Harvard on edX both work. Focus on lists, dictionaries, functions, file I/O, and basic API calls. You don't need decorators or async yet.

By the end of month 1, you should be able to write a Python script that hits an API, parses the JSON response, and prints a result.

Month 2: The Modern AI Stack

Week 5 to 6: Google's Machine Learning Crash Course. It's free, well-paced, and built around TensorFlow with practical exercises. Do every exercise, not just the watching. This is where most learners cheat themselves. The exercises are the entire point.

Week 7 to 8: Hugging Face's free course on transformers and large language models. By the end, you should be able to load a pretrained model, run inference, and fine-tune a small model on a custom dataset. Hugging Face is also where you'll spend most of your future career, so getting comfortable with the platform is itself the lesson.

Alongside this, work through DeepLearning.AI's short courses. Most run 60 to 90 minutes, are free, and cover specific practical topics: prompt engineering, RAG, agent design, evaluation. Pick the four closest to what you want to build and finish them.

Get the launch announcement and future updates on useful sources, AI engineering, and careers. No fixed schedule.

Month 3: Ship Something Real

This is the month most beginners skip. Courses feel like progress. Building feels like failure. But the only way to actually learn AI is to build something, get stuck, debug it, and ship.

Pick one project from this list:

  1. A document Q and A system over your own PDFs using a free embedding model and Claude or GPT for generation.
  2. A Telegram or Discord bot that summarizes news articles you forward it.
  3. A fine-tuned Hugging Face model that classifies emails into custom categories.
  4. A Streamlit app that takes a URL, scrapes the page, and returns a structured summary.

Set a hard deadline: shipped to a public URL or repo by day 90. Document what you built in a public README. The README is what you show a hiring manager or client. The code is just proof you can write it.

The Free Resource Stack

ResourceWhat You LearnTimeBest For
Elements of AI (University of Helsinki)AI concepts, no code10 to 15 hoursAbsolute beginners
Codecademy Python 3 (free track)Working Python skills20 to 25 hoursNon-programmers
CS50P (Harvard via edX)Python fundamentals plus problem solving40 to 60 hoursLearners who want depth
Google Machine Learning Crash CourseCore ML, TensorFlow basics15 hoursBridging concepts to code
Hugging Face CourseTransformers, LLMs, fine-tuning20 to 30 hoursModern AI practitioners
DeepLearning.AI Short CoursesTargeted practical skills1 to 2 hours eachJust-in-time learning
Anthropic Claude Skills (free training)Building with Claude5 to 10 hoursLLM application developers
fast.ai Practical Deep LearningDeep learning, top-down approach40 to 60 hoursCareer-track learners

Tools You Will Use (All Free Tier)

Get accounts and basic familiarity with these. All have a free tier that's enough for learning.

GitHub for code hosting and version control. Learn git init, git add, git commit, and git push, and you can handle most of what you'll need.

Google Colab for free GPU compute. You don't need to buy a GPU to learn deep learning. Colab gives you one in the browser.

Hugging Face for models, datasets, and Spaces (free hosting for demo apps).

OpenAI, Anthropic, or Google AI Studio for API access. Anthropic and Google offer free tiers on Claude and Gemini that are generous enough to learn on. Pick one provider and focus.

VS Code for editing. The Cursor and Windsurf editors are also free for individuals and ship with built-in AI assistance that speeds up your learning once you know basic Python.

Tip

Use the AI you're learning to learn the AI. Pick one model (Claude or ChatGPT) and treat it as your tutor. When a course loses you, paste the confusing paragraph in and ask it to "explain this to me as if I've only finished week 3 of a Python course." When your code breaks, paste the error in and ask for the most likely cause.

Common Beginner Mistakes

Three failure patterns show up again and again.

The first is tutorial purgatory. You finish course after course, never build anything original, and six months later you can't answer "what did you actually make?" The cure is the month-3 project rule. Stop watching once you can build.

The second is tool obsession. You spend three weeks deciding between PyTorch and TensorFlow, Claude and GPT, LangChain and direct SDK calls. None of that matters in month 1. Use whatever the course you're taking uses, and switch later if you have a real reason to.

The third is skipping the math. You don't need a math degree, but you do need basic comfort with vectors, matrices, derivatives, and probability. If you've never seen these, work through 3Blue1Brown's free YouTube series on linear algebra and calculus.

Building a Portfolio That Gets You Hired or Funded

If your goal is a job or freelance income, the courses are necessary but not enough. What gets attention is a public portfolio of three to five small, working projects with clear writeups.

Each project should answer four questions: what problem does this solve, how does it work technically, what did you learn, and what would you do differently. A reviewer skims fast, so make the writeup easy to skim.

Publish on GitHub with a clean README and a deployed demo (Hugging Face Spaces or Vercel are free and easy). Cross-post the writeup on Medium, LinkedIn, or your own site for SEO. A repo plus a deployed demo plus a writeup is a stronger signal than a repo alone.

What to Do After Day 90

If you finished the path and shipped a project, you're already ahead of a lot of people who picked up the "AI engineer" title in 2024 and haven't built anything since. Pick a specialization based on what you enjoyed:

  • LLM application development: go deeper on RAG, agent frameworks (LangGraph, CrewAI), and evaluations.
  • Machine learning engineering: go deeper on the full fast.ai course, then learn MLOps fundamentals (MLflow, model serving).
  • Research: go deeper on Stanford's CS224N (NLP) and CS231N (vision) on YouTube. Both are free.
  • AI for business: go deeper on workflow automation tools (Make.com, n8n, Zapier) and building agents that solve specific business problems.

The first 90 days are the hardest, because every concept is new. Months 4 through 12 compound. You'll pick up in days what used to take weeks.

FAQs

Do I need a math or computer science background to learn AI?

No. Elements of AI needs no math or programming, and the path above is built for absolute beginners. You'll need to pick up basic Python and some comfort with vectors and probability along the way, but both fit inside the 90-day window. Most people who fail at learning AI fail because they never build, not because they lacked the math.

How much money do I really need to spend?

Zero, if you stick to the free resources here. The only optional spend is API credits beyond the free tiers (typically $5 to $20 a month once you're building something real) and a domain name if you want a project under a custom URL.

Should I learn machine learning or generative AI first?

In 2026, generative AI is where most of the new jobs are, but you can't fully understand it without a base in machine learning. The path above builds that ML foundation in months 1 and 2, then moves into LLMs and generative AI in months 2 and 3. Skip the ML base and you can use APIs, but you won't be able to debug them when they break.

Can I get an AI job after 90 days of self-study?

For most people, no. Ninety days plus one shipped project gets you to junior-friendly territory, not a senior or specialized role. Plan on 6 to 12 months total to land a paid role: the 90-day path, then 3 to 6 months of harder projects, open-source contributions, and writing publicly about what you're learning. The whole year still costs zero dollars.

Which programming language should I learn?

Python. It's the dominant language for AI and machine learning, every major library and framework is Python-first, and the Hugging Face ecosystem assumes it. JavaScript is useful later if you build front-end interfaces, but Python is non-negotiable for the work itself.

What about AI for non-technical careers?

If your goal is to use AI in marketing, sales, operations, or another non-engineering role, you can compress the path. Skip the programming-heavy material in months 1 and 2, and focus on Elements of AI, the DeepLearning.AI short courses on prompt engineering and RAG, and hands-on projects in tools like Make.com, n8n, ChatGPT Custom GPTs, or Claude Projects. That's six weeks instead of twelve, with results you can point to at work.

Zarif

Zarif

Zarif builds AI agents and automation workflows and writes about what holds up in production: the sources worth following, the roles the AI era is creating, and agent workflows you can inspect end to end.