opncrafter
🤖

OpenAI Agents

The API powering most production AI applications in 2025.

OpenAI's APIs and the Assistants API v2 are the starting point for most developers building real AI applications. If you want to go from "I've used ChatGPT" to "I've deployed a production AI feature", the OpenAI API is where you begin. It handles the hard parts — token streaming, context windows, tool calling — so you can focus on building your product.

In this track, I cover the Assistants API v2 (Threads, Runs, and the new File Search), function calling with structured outputs, context management strategies, and a complete project: an AI math tutor with a Code Interpreter. These aren't toy examples — they're the patterns I use in production.

By the end of this track, you'll understand how LLMs actually work (not just how to call them), how to give your agent tools it can use to take real-world actions, and how to manage long conversations without hitting context limits. Whether you're building a customer support bot, a coding assistant, or a data analysis tool, these fundamentals apply.

📚 Learning Path

  1. Understanding LLMs first principles
  2. Assistants API and thread management
  3. Function calling and tool use
  4. Context management strategies
  5. Build: AI Math Tutor with Code Interpreter

5 Guides in This Track

Understanding LLMs

How transformer models tokenize text, attend over context, and generate responses — the mental model every AI engineer needs before writing agent code.

Read Guide →

Assistants API v2

A complete guide to OpenAI Assistants API v2 — Threads, Runs, File Search, and the new streaming events that replace the polling loop.

Read Guide →

Tools & Function Calling

How to define strict JSON schemas, handle parallel tool calls, and build reliable function calling pipelines with OpenAI GPT-4o.

Read Guide →

Context Management

Strategies for managing the 128k context window — token budgeting, summarization chains, and persistent memory with vector stores.

Read Guide →

Project: Math Tutor

Build a step-by-step math tutor using the OpenAI Code Interpreter tool — Python execution, chart generation, and session memory included.

Read Guide →
← Browse all topics