Page languageFrançaisEnglish
Teacher area
Laurent PoupetClaude trainer and artificial intelligence architectStudent area

Track 4 · intermediate to advanced

Programming with Claude and going live

Building your own applications with Claude: messages, tool calls, streaming answers, caching, batch processing, files, monitoring and evaluation.

  • 8 one-hour lessons
  • One to one, online
  • Taught in French
  • In the Claude app, no terminal

Who this track is for

For developers who want to build their own applications with Claude through its application programming interface: messages, tool calls, streaming answers, caching, batch processing, files, then monitoring and evaluation in production.

The lessons, in order

Title, goal and prerequisites of each lesson. The content (step-by-step instructions, exercises with solutions, quizzes) is for students only.

  1. Make Your First API (application programming interface) Call

    Goal. You can have Claude install, in the desktop app’s Code tab, the Claude software development kit (SDK) in Python or TypeScript, store your application programming interface (API) key in a .env file that Claude creates and you fill in yourself, have a first message sent to Claude and read the response (text, stop reason, tokens used).

    Prerequisites. No Claude track required. The Claude desktop app installed (Mac or Windows) with its Code tab, and an account on the Claude Console (platform.claude.com): you will create the key yourself during the lesson. Claude itself checks that Python 3.10 or newer (or Node.js 20.12 or newer) is present and installs it, with your approval, if it is missing. No terminal is needed.

    1 hourStudents only

  2. Messages API and Choosing Your Model

    Goal. You master the user and assistant roles, the system prompt, the Messages API parameters (max_tokens, stop_sequences, and the ones current models reject), and you can choose between claude-fable-5-1, claude-opus-5-5, claude-sonnet-5-5 and claude-haiku-4-5 by reading usage and stop_reason.

    Prerequisites. Lesson 1: Make your first API call (development kit installed by Claude, key stored in .env, a working ask.py script). The Code tab open on that folder.

    1 hourStudents only

  3. Tool Use: Schemas and Loops

    Goal. You define a tool with its JSON (JavaScript Object Notation, a text data format) schema, write the loop that executes tool_use blocks and returns tool_result blocks, handle parallel calls and errors, and know what tool_choice allows on current models.

    Prerequisites. Lessons 1 and 2: first call, user and assistant roles, history resent on every call, reading stop_reason. The multi-turn chat.py conversation from the lesson 2 homework is the starting point.

    1 hourStudents only

  4. Streaming Responses

    Goal. You receive Claude’s responses as a stream in Python and TypeScript, recognize the events and deltas (text, tool arguments), retrieve the complete final message, and know why streaming is mandatory for long responses.

    Prerequisites. Lessons 1 to 3: basic calls, system prompt, tool loop. The tool-enabled chat (chat.py) from the lesson 3 homework is about to switch to streaming.

    1 hourStudents only

  5. Prompt Caching

    Goal. You place cache breakpoints (cache_control) on the stable parts of your requests, choose between automatic and explicit caching and between five-minute and one-hour lifetimes, verify the savings in usage, and spot what silently invalidates the cache.

    Prerequisites. Lessons 1 to 4: system prompt, multi-turn history, tools, streaming. You have seen input tokens grow on every turn: this lesson tackles that cost.

    1 hourStudents only

  6. Message Batches

    Goal. You group dozens or thousands of Messages requests into an asynchronous batch processed at half price, track its status, retrieve the results line by line matching them by custom_id, and handle errored or expired requests.

    Prerequisites. Lessons 1 to 5: Messages requests, system prompt, tools, caching. You prepared a file of twenty questions about your document (lesson 5 homework).

    1 hourStudents only

  7. Files and Documents

    Goal. You upload files (PDF, text, images) with the Files API, reference them by file_id in document and image blocks, enable citations, manage the file lifecycle (list, metadata, deletion, expiration) and estimate a document’s cost in tokens.

    Prerequisites. Lessons 1 to 6, especially lesson 5 (caching) and lesson 6 (batches). You have a few-page PDF, an image and a text file at hand (lesson 6 homework).

    1 hourStudents only

  8. Production and Monitoring

    Goal. You take a Claude application to production: keys separated per environment, error handling and retries, respect for rate limits, structured logging of every call (request id, tokens, cost), spend tracking, and an evaluation set that runs before every prompt change.

    Prerequisites. Lessons 1 to 7: the full set of API notions (Messages, tools, streaming, caching, batches, files). The reading assistant from lesson 7’s homework is the application we get ready for production.

    1 hourStudents only

Glossary terms covered

Questions about this track

  • How long is this track?

    8 one-hour lessons, so 8 hours of one-to-one lessons, at your pace: one lesson at a time, in the order that suits you.

  • What do I need to start?

    No Claude track required. The Claude desktop app installed (Mac or Windows) with its Code tab, and an account on the Claude Console (platform.claude.com): you will create the key yourself during the lesson. Claude itself checks that Python 3.10 or newer (or Node.js 20.12 or newer) is present and installs it, with your approval, if it is missing. No terminal is needed.

  • How do I start?

    With the 30-minute trial lesson for $20, booked on italki: I assess your level, then open the lessons for you in the order that suits you.

  • Do I need an access key?

    Yes: you create your own key on the Claude Console during the first lesson, then we store it properly in an environment variable before your first call.

  • Do I need to install a programming language?

    Claude itself checks that Python or Node.js is present and installs it with your approval if it is missing. No terminal is needed.

The other tracks

Trial lesson · 30 min · $20

Book (new tab)