Labs

Lab 1a: Why a Framework?

What happens when you try to build an AI agent with just raw LLM API calls

Scenario: You want to build an AI agent that writes a blog post, reviews it, and iterates until its good. You reach for the OpenAI SDK and start coding...

🚨

Raw LLM API Approach

openai.chat.completions.create() in a loop

🤔

Click "Next Challenge" to see what goes wrong

🔷

LangGraph Solution

Each problem has a built-in answer

🔷

Solutions appear as challenges are revealed