Agentic Coding · Workshop · Universities & research

Jupyter Notebooks for Lectures with Coding Agents: A Workshop for Lecturers

Let students experiment with the maths in your lectures, with notebooks your coding agent drafts quickly, that are tested on every change and open without installation hurdles.

  • Workshops & trainings since 2014
  • jocapps GmbH · Freiburg, Germany
  • The team behind Mathe-VollLogo
Format
Workshop
Duration
1 day (7.5 hours)
Delivery
Live online · On-site (in-house) · Hybrid
Group size
4–12 participants
Level
Intermediate
Language
German or English

Tools: Claude Code · Jupyter · Jupytext · ipywidgets · nbval · Jupyter Book

A good notebook turns a formula on the board into an experiment: students change a parameter and see how a Fourier series or an eigenvalue problem behaves. Maintaining Jupyter notebooks for lectures is tedious, though, because cells depend on hidden state, diffs are barely readable and something quietly breaks after a library update. In this workshop you have a coding agent develop notebooks from your lecture content, pair them with readable text files using Jupytext, test them automatically and prepare them for a JupyterHub or a course website.

Who the Jupyter workshop is for

Lecturers and teaching staff in maths, physics, statistics and engineering who support lectures or problem classes with Jupyter notebooks and have basic Python skills.

What you'll walk away with

  • Plan notebooks that guide students step by step through a lecture topic
  • Use Jupytext-paired text files so that the agent and Git work cleanly with notebooks
  • Add interactive elements with ipywidgets, such as sliders for parameters
  • Run notebooks top to bottom automatically and test them with nbval
  • Publish notebooks on a JupyterHub, as downloads or as a course website with Jupyter Book

Typical scenarios

  1. For a numerical methods lecture, a notebook lets students change the step size of the explicit Euler method and watch instability appear.
  2. A linear algebra group switches its notebooks to Jupytext, and the agent's changes finally show up as readable diffs in review.
  3. Before term starts, a CI pipeline runs every notebook of a statistics lecture and reports cells that give different results after a library update.

Does this fit your team?

Pick a few dates that suit you. The request is non-binding, and the agenda is tailored in a short call beforehand.

Request dates

What the Jupyter workshop covers

  1. Planning notebooks for teachingStructure, a clear thread, room for students' own experiments, and what belongs in a notebook rather than the lecture notes.
  2. The agent and the notebook formatWhy agents struggle with raw notebook JSON and how Jupytext gives the agent and Git readable sources.
  3. Developing content with the agentFrom board notes to notebook: calculations, plots and explanations that the agent drafts and you check for correctness.
  4. InteractivitySliders and drop-downs with ipywidgets, sensible value ranges and widget-free variants for static output.
  5. Testing and maintenanceRunning notebooks automatically, comparing results with nbval, pinning dependencies and stripping output before each commit.
  6. PublishingThe university's JupyterHub, download packages or a course website with Jupyter Book, compared side by side.

Before the Jupyter workshop: prerequisites

  • Basic Python skills and some experience with Jupyter
  • A lecture topic for which you would like to build a notebook
  • Jupyter installed locally or access to a JupyterHub, plus a coding agent

Materials you keep

  • A repository template for lecture notebooks with Jupytext, tests and an instruction file
  • A notebook on your lecture topic developed during the workshop
  • A checklist for notebooks that work in teaching

How it works

  1. Request with preferred datesTick the date proposals that suit you or name a period of your own.
  2. Short callWe talk about your goals, prior knowledge and the tools your team already uses.
  3. Agenda for your teamYou receive a plan tailored to your group, with exercises that match your subject and material.
  4. Course and materialsThe course runs online, on-site or hybrid, and you keep the materials afterwards.

Why train with us

  • jocapps GmbH has offered workshops and trainings since 2014. The topics have moved with the technology; today the focus is on agentic coding and prompt engineering.
  • Hands-on rather than slides: you practise on realistic examples from maths and STEM, or on your own tasks, code or prompts if you wish.
  • Online, on-site or hybrid, held in German or English.
  • jocapps GmbH is certified to ISO 27001 (information security) and ISO 9001 (quality management).

Questions about the Jupyter workshop

Do students need to install Python?

Not necessarily. If your university runs a JupyterHub, students open notebooks in the browser. Cloud services and local installations are alternatives. Which option suits your university's infrastructure and data protection requirements is a question for your IT centre and data protection officer.

Can the agent work directly in ipynb files?

Technically yes, but in practice this often produces hard-to-read changes and broken cell output. We therefore use Jupytext pairs: the agent edits a readable text file and the notebook is synchronised from it. That keeps review and version control manageable.

Does this also work for problem classes rather than lectures?

Yes. The same structure supports exercise notebooks with gaps for students to fill. If you want to grade submissions automatically, the training on auto-graded programming exercises in this catalogue adds tests and feedback to what you build here.

Is the workshop held online or on-site, and in which language?

Both are possible: live online, at your premises (in-house) or hybrid. The course is held in German or English; you choose when you send the request.

Can the content be tailored to our team?

Yes. The agenda, examples and emphasis are agreed in the call beforehand, based on your team's prior knowledge, subjects and tools. On request we work with your own exercises, data or code.