KonkanTech

AI Agents from Scratch

Understand how AI agents really work, and build one step by step.

AI agentsContext engineeringAgent loopsDecision gatesEvalsAI safety basics
Level
Beginner
Duration
21 lessons · about 20 hours · Self-paced
Format
Online
Next batch
24 Nov 2026

About this course

A self-paced course for anyone who wants to understand how AI agents work and build one with confidence. In 21 lessons, with clear diagrams, you learn what an agent really is and when to use one, then build it up one layer at a time: the context it sees, the loop that lets it decide, the gates that make cheap decisions, the harness that limits what it can reach, and the evals that tell you it works. You finish with a plan to take an agent to production. Each module ends with a hands-on build. The course is tool-neutral and pairs well with an AI coding assistant. Start any time and learn at your own pace. Adapted from the open-source Second Brain OS agents course, under the MIT licence.

What you'll learn

  • Explain what an AI agent is and when to use one instead of a workflow
  • Build the core of an agent: context, the loop, gates, harness and evals
  • Limit what an agent can reach and know when it is working
  • Plan how to take an agent from prototype to production

Syllabus

8 modules · 30 lessons

1Module 1: What agents are
  • What an Agent Is
  • Agents or Workflows?
  • The Five Layers of an Agent
  • Module task: Map your agent idea
2Module 2: Context: what the agent sees
  • How Models Read Context
  • The Four Places Context Lives
  • Practice: Engineer Your Context
  • Module task: Engineer your context
3Module 3: The loop: who decides
  • The Four Parts of a Loop
  • Loops versus Workflows
  • Practice: Build a Loop
  • Module task: Build the loop
4Module 4: Gates: cheap decisions
  • Cheap Decisions and Gates
  • Gates in Practice
  • Practice: Build a Gate
  • Module task: Build a gate
5Module 5: The harness: what it can reach
  • The Four Rings of a Harness
  • The Office: Model plus Harness
  • Practice: Build a Harness
  • Module task: Build a harness
6Module 6: Evals: how you know
  • Two Kinds of Checks
  • Judges and Golden Sets
  • Practice: Build an Eval Suite
  • Module task: Build an eval suite
7Module 7: Production
  • From Prototype to Production
  • Operating Agents
  • Your Day-One Plan
  • Module task: Your day-one production plan
8Final quiz and certificate
  • Final quiz (8 questions)
  • KonkanTech certificate

AI tutor included

Stuck on a lesson? Ask the AI tutor. It answers from this course's own material.

Earn a certificate

Pass the course to get a verifiable certificate from KonkanTech.