AI Agents & Tool Calling in TypeScript
Build structured AI agents with TypeScript's type system. Type tool definitions, model agent state with discriminated unions, build typed tool routers, and create safe agentic pipelines. Follow the ideas in small steps: first understand the concept, then practice it in the browser, and finally connect it to a realistic coding problem. Each lesson builds on the previous one so the track becomes a skill you can explain and use, not just a list of terms.
180 interactive lessons across 6 units · 36+ hours · advanced level
What you will learn
Build practical skills in TypeScript, AI Agents, Tool Calling, OpenAI, Types through browser-based coding exercises, guided feedback, unit quizzes, a debugging challenge, and a final project.
Course access
Unit 1, including its first 30 lessons and unit quiz, is free. The remaining 5 units require a CodeLearning365 Pro subscription.
AI Agents & Tool Calling in TypeScript curriculum
The curriculum progresses from foundations to applied practice and mastery. Representative topics from every unit are listed below.
Unit 1: Foundations
30 lessons covering topics such as The Agent Loop, Typed Tool Definitions, Your First Typed Tool Call, Typed Tool Dispatch Table, Multi-Step Reasoning.
- The Agent Loop
- Typed Tool Definitions
- Your First Typed Tool Call
- Typed Tool Dispatch Table
- Multi-Step Reasoning
Unit 2: Core Concepts
30 lessons covering topics such as Power Up 031: Typed File System Tools, Power Up 032: The ReAct Pattern with Types, Power Up 033: Typed HTTP API Tools, Power Up 034: Typed Forced Tool Use, Power Up 035: Typed Agent Orchestration.
- Power Up 031: Typed File System Tools
- Power Up 032: The ReAct Pattern with Types
- Power Up 033: Typed HTTP API Tools
- Power Up 034: Typed Forced Tool Use
- Power Up 035: Typed Agent Orchestration
Unit 3: Building Skills
30 lessons covering topics such as Power Up 061: The Agent Loop, Power Up 062: Typed Tool Definitions, Power Up 063: Your First Typed Tool Call, Power Up 064: Typed Tool Dispatch Table, Power Up 065: Multi-Step Reasoning.
- Power Up 061: The Agent Loop
- Power Up 062: Typed Tool Definitions
- Power Up 063: Your First Typed Tool Call
- Power Up 064: Typed Tool Dispatch Table
- Power Up 065: Multi-Step Reasoning
Unit 4: Applied Practice
30 lessons covering topics such as Power Up 091: Typed File System Tools, Power Up 092: The ReAct Pattern with Types, Power Up 093: Typed HTTP API Tools, Power Up 094: Typed Forced Tool Use, Power Up 095: Typed Agent Orchestration.
- Power Up 091: Typed File System Tools
- Power Up 092: The ReAct Pattern with Types
- Power Up 093: Typed HTTP API Tools
- Power Up 094: Typed Forced Tool Use
- Power Up 095: Typed Agent Orchestration
Unit 5: Projects
30 lessons covering topics such as Power Up 121: The Agent Loop, Power Up 122: Typed Tool Definitions, Power Up 123: Your First Typed Tool Call, Power Up 124: Typed Tool Dispatch Table, Power Up 125: Multi-Step Reasoning.
- Power Up 121: The Agent Loop
- Power Up 122: Typed Tool Definitions
- Power Up 123: Your First Typed Tool Call
- Power Up 124: Typed Tool Dispatch Table
- Power Up 125: Multi-Step Reasoning
Unit 6: Mastery
30 lessons covering topics such as Power Up 151: Typed File System Tools, Power Up 152: The ReAct Pattern with Types, Power Up 153: Typed HTTP API Tools, Power Up 154: Typed Forced Tool Use, Power Up 155: Typed Agent Orchestration.
- Power Up 151: Typed File System Tools
- Power Up 152: The ReAct Pattern with Types
- Power Up 153: Typed HTTP API Tools
- Power Up 154: Typed Forced Tool Use
- Power Up 155: Typed Agent Orchestration