Skip to content
IntermediateFor developers

Build Apps with LLM APIs

From your first API call to streaming, structured data and tool-using agents in Python

  • 6 lessons
  • 25 min
  • English

A hands-on course for developers who want to put large language models inside real software. You will write Python against the Claude API from the very first lesson: keep API keys safe, hold multi-turn conversations, measure tokens and cost, cut bills with prompt caching, stream answers into a web endpoint, extract validated structured data, and give the model tools it can call. The final lesson turns one of those tools into a tiny MCP server that any MCP client can use. Every concept comes with small, runnable code and a graded coding exercise. The patterns carry over to other providers, but the examples use the official Anthropic Python SDK.

Presented by

Arjun Mehta

Arjun Mehta

Building with LLM APIs

For developers: from your first API call to agents in production, with code that runs.

What you'll be able to do

  • Make authenticated API calls from Python with keys kept out of source control
  • Build multi-turn chat features with system prompts and managed history
  • Measure token usage, estimate cost per request and cut repeat costs with prompt caching
  • Stream model output to a terminal and to a web endpoint
  • Extract validated, typed data with structured outputs and Pydantic
  • Implement the tool use loop and expose a tool as a minimal MCP server

Recommended first: AI Foundations

Course content

2 modules, 6 lessons

Set up the SDK and keys, send messages with system prompts and history, and understand what every call costs.

Stream answers, extract structured data, and let the model call your tools, then share a tool with any MCP client.

Build Apps with LLM APIs · Parendum Academy