S01E01 · Theo / Core

Mechanics Behind Generative AI

Materials

Ready

Available materials

Optional reading, documentation, and tools for exploring the topics in this lesson. These include the lesson’s external references and selected further reading from the research notes.

LLM mechanics and tokenization

Reliability and reasoning

APIs, structured outputs, and code execution

  • OpenAI API quickstart — A starting point for making API requests and generating responses from a model.
  • Responses API reference — Reference documentation for the request and response format discussed in the lesson.
  • Gemini Interactions API — Google’s documentation for its interaction API, useful for comparing how providers structure model interactions.
  • Structured outputs — OpenAI’s guide to generating responses that follow a JSON Schema, including limitations and error handling.
  • Function calling — OpenAI’s guide to defining tools, receiving generated arguments, executing functions, and returning results to the model.
  • Cloudflare Code Mode — Documentation on letting models write code that combines tool calls and runs in a sandbox.
  • Daytona — A sandbox platform for running code, relevant to the lesson’s discussion of executing agent-generated scripts.

Model comparison and access

  • Artificial Analysis — Model comparisons covering capabilities, speed, and pricing. Useful when choosing models for different tasks.
  • OpenRouter — A platform for accessing models from multiple providers through a shared API.

Coding tools and harnesses

  • Cursor — An AI-assisted code editor for working with models and agents inside a development environment.
  • Claude Code — Anthropic’s coding agent for working on software projects.
  • Omp — A coding-agent harness included in the lesson’s discussion of alternatives for working with different models.
  • Pi — An extensible coding-agent harness for customizing how you work with models and tools.
  • T3 Code — An interface for working with coding agents on software projects.
  • OpenCode — An open-source coding agent that supports working with different model providers.
  • Superset — A workspace for coordinating coding agents and their work on a project.

Agent design and self-management

  • Building effective agents — Anthropic’s practical guidance on workflows, agents, and combining models with tools and retrieval.
  • OpenCode 2 — The article linked in the self-management section, discussing the design of OpenCode’s next iteration.

To prepare