Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Foundations of Agentic Tool Use in TypeScript

via CodeSignal

Overview

Master the practical building blocks of agentic systems in TypeScript. Covering Factors 1, 3, 4, 8, and 9, this course teaches structured model outputs with the official OpenAI TypeScript SDK, typed tool schemas, explicit context management, and controlled loops that execute tools and compact errors back into context.

Syllabus

Structured Outputs in TypeScript

  • Make a Basic Responses API Call
  • Build a Product Categorizer with a System Prompt
  • Parsing Structured City Data
  • Extracting and Printing To-Do Tasks
  • Handle Invalid JSON Safely

Native Tool Calling

  • Replace Prompted JSON with Native Tool Calls
  • Require Tool Use with tool_choice
  • Parse the Final Answer Tool Call
  • Expanding a Tool Schema with Confidence
  • Route Multiple Tool Calls

The Tool Execution Loop

  • Defining Tool Schemas for Math Functions
  • Execute the Model's Tool Calls
  • Managing Context During Tool Execution
  • Complete the Tool Execution Loop
  • Supporting Parallel Tool Calls

Building Agentic Loops

  • Build the Agent Loop Control Skeleton
  • Inspecting Model Tool Calls in the Agent Loop
  • Complete the Agent Execution Cycle
  • Add Post-Loop Summary Checks
  • Extend the Agentic Loop for a More Complex Calculation

Reviews

Start your review of Foundations of Agentic Tool Use in TypeScript

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.