All resources khaliladib.com

Learning path · 6 resources · all free · in order

Learn AI agents from zero.

If I had to learn AI agents again, this is the order I'd follow: one strong course for the full picture, the ideas that tell you when you actually need an agent, a first hands-on build, tools, one framework, and finally how to make it reliable enough to ship.

  1. 01Stanford CS329Z
  2. 02Building effective agents
  3. 03Hugging Face Agents Course
  4. 04Tools + MCP
  5. 05One framework
  6. 06Make it reliable
  1. Stanford CS 329Z: Engineering AI Agents course page

    01 Start here

    CS329Z: Engineering AI Agents

    Stanford · Fall 2026 · Diyi Yang, Michael Ryan, John Yang

    Stanford's brand-new course on building agentic systems, from simple LLM pipelines all the way to autonomous agents. You build the core pieces from scratch first, then see how frameworks abstract them.

    What you'll learn

    • RAG and retrieval for agents
    • Tool use and function calling
    • Agent design patterns and frameworks like DSPy
    • Memory and multi-agent systems
    • Evaluation, benchmarks and LLM-as-judge
    • Agent safety and guardrails
    Best forEngineers who want the whole picture of agents in one place.
    Good to knowLecture videos and slides are linked from the course page as they're released.
  2. Anthropic's Building effective agents article

    02 Read before you write code

    Building effective agents

    Anthropic · engineering blog · 2024

    The clearest explanation of when you need an agent and when a simple workflow is better. Most teams that ship agents that work use simple, composable patterns, not complex frameworks.

    What you'll learn

    • Workflows vs agents, and how to choose
    • Prompt chaining and routing
    • Parallelisation and orchestrator-workers
    • Evaluator-optimizer loops
    • When to give a model real autonomy
    Best forAnyone about to build their first agent.
    Good to knowAnthropic notes the tooling has moved on since 2024; the design ideas still hold.
  3. Hugging Face AI Agents Course welcome page

    03 Your first working agent

    Hugging Face Agents Course

    Hugging Face · free · free certificate

    A hands-on course that takes you from what an agent is to building and evaluating your own, with a free certificate at the end.

    What you'll learn

    • The think, act, observe loop behind every agent
    • Building agents with smolagents
    • LlamaIndex and LangGraph
    • Agentic RAG
    • Testing your agent on a benchmark
    Best forLearning by building, step by step.
    CertificatePass the Unit 1 quiz for the fundamentals certificate; finish the final project for the full one.
  4. Diagram from Anthropic's Writing effective tools for agents

    04 Where most agents break

    Tools + MCP

    Anthropic · Writing effective tools for agents · 2025 · plus the MCP docs

    In my experience, most agents don't fail because of the model. They fail because of the system around it, and the tools are the biggest part of that system. This guide shows how to design tools an agent can actually use well.

    What you'll learn

    • Which tools to build, and which not to
    • Naming and namespacing tools clearly
    • Returning useful, token-efficient results
    • Writing tool descriptions the model understands
    • Testing and improving tools with evals
    • MCP: the standard way to plug tools into agents
  5. Pydantic AI documentation

    05 Build one for real

    Pick one framework and stick with it

    Pydantic AI or LangGraph

    Don't jump between five frameworks. Pick one, build something real with it, and learn it properly. These are the two I'd choose between.

    What you'll learn

    • Pydantic AI: typed agents with validated, structured output. If you know FastAPI, it feels familiar.
    • LangGraph: agents as graphs with state, retries and human approval steps.
    • Wiring tools, memory and model calls together
    • Running and debugging a real agent end to end
  6. 12-Factor Agents on GitHub

    06 What companies hire for

    12-Factor Agents + an evals course

    HumanLayer (Dex Horthy) · GitHub · plus DeepLearning.AI's Evaluating AI Agents

    A demo isn't a product. 12-Factor Agents is a short set of principles for agents that hold up in production, and an evals course teaches you to prove your agent works.

    What you'll learn

    • Own your prompts and your context window
    • Tools are just structured outputs
    • Own your control flow instead of handing it to a framework
    • Ask a human for approval through a tool call
    • Small, focused agents beat one giant one
    • How to trace, test and score an agent's behaviour

Want to go deeper?

More free reading once you've done the six above.

Want the books behind it?

5 books every AI engineer should read, in order. Chapter 6 of AI Engineering is all about agents.

See the books