🏗️ Phase 1: Fundamentals

Understand how Claude works, learn what agents are, and build your first real AI project. The foundation for everything.

📚 What You'll Learn

Agent Architecture

What agents are, how they think, and why they're the future of AI applications.

How Claude Works

Context windows, tokens, reasoning, and how to structure your prompts for Claude.

Claude Code Basics

How to use Claude Code effectively to write code, debug, and build projects.

Your First Agent

Build a real working agent that takes input, reasons, and produces output.

🤖 What's an Agent?

An agent is not just a chatbot. It's an AI system that:

🎯 Thinks Independently

Gets a task, breaks it down, figures out what to do—without you telling it each step.

🔧 Takes Actions

Runs code, calls APIs, writes files, reads data—actually does things in the real world.

🔄 Reasons & Iterates

Checks if something worked. If not, tries again. Learns from mistakes in the same session.

📊 Handles Complexity

Multi-step workflows, large projects, complex decision trees—all automatic.

Real Example: You tell an agent "research product-market fit for AI apps" and it writes Python scripts to scrape data, analyzes trends, writes reports, and emails you the results. All in one go.

💭 How Claude Works (The 3 Things You NEED To Know)

1️⃣ Context Window (Max Input)

Claude has a "working memory" called a context window. It can hold:

  • • Claude 3.5 Sonnet: 200K tokens (~150K words)
  • • That's roughly: 300-400 pages of text, or 10 full codebases
  • • Once you hit the limit, old info is "forgotten"

Pro tip: Put your most important instructions at the END. Claude pays more attention to recent context.

2️⃣ Tokens (The Currency)

Everything Claude processes is measured in "tokens":

  • • 1 token ≈ 4 characters (roughly)
  • • You pay per token (input + output)
  • • Claude 3.5 Sonnet: $3/1M input tokens, $15/1M output tokens
  • • So a 1000-word article = ~250 tokens = $0.0007

Pro tip: Be specific. Rambling costs more money AND gets worse results.

3️⃣ Reasoning vs Speed

Claude has a "thinking" mode (slower, more accurate) and a "speed" mode (faster, good enough):

  • • Use thinking for: complex problems, debugging, strategy
  • • Use speed for: quick questions, formatting, copywriting
  • • (You'll learn to spot the difference by Phase 2)

💻 Claude Code: Your Coding Superpower

Claude Code is different from ChatGPT or Copilot. It's not just autocomplete—it's a full coding agent.

What it does: You describe what you want. Claude Code writes it, runs tests, fixes errors, and shows you the result. It can create full projects in minutes.

Two Ways to Use Claude Code

🖥️ Desktop App

Native Mac/Windows. Keyboard: Cmd+K (Mac) or Ctrl+K (Windows). Type what you want, Claude Code builds it.

💻 CLI Tool

Command line: type claude "your task here". Perfect for automation scripts.

// Example: Ask Claude Code to build something $ claude "Create a Python script that tracks my sleep and outputs a weekly report" // What it does: // 1. Writes the Python script // 2. Tests it (runs it locally) // 3. Asks for clarifications if needed // 4. Shows you the output // 5. Saves the file in your project

🚀 Your First Real Project

Build a Research Agent that takes a topic and writes a research report.

📋 Research Agent Project

What it does: You give it a topic (e.g., "latest AI safety research"). The agent researches it, finds real sources, writes a structured report with citations.

What you'll learn:

  • How to structure prompts for Claude Code
  • How agents reason through multi-step tasks
  • How to handle errors and iterate
  • How to test your agent works correctly

Time to build: 2-3 hours

Steps:

  1. Open Claude Code (Desktop or CLI)
  2. Ask it to build a research agent (give specific requirements)
  3. Test it with 2-3 different research topics
  4. Fix any bugs (Claude will help)
  5. Push to GitHub (you'll learn this in a later phase)
📖 See Claude Code in Action →

🧠 Key Concepts to Understand

System Prompt

Instructions you give Claude about how to behave. Like a personality blueprint.

Prompt Engineering

The art of asking Claude the right question to get the best answer (covered in Phase 2).

Chain of Thought

Asking Claude to "think out loud" before answering. Makes it smarter.

Tools/APIs

Claude can call external services (like Google Search, Twitter API) to get real data.

Reasoning Models

Claude's "thinking" mode. It spends tokens thinking before answering. Slower but smarter.

Context Windows

How much information Claude can hold at once. More = better understanding, costs more.

📖 Further Reading