# Jupyter Agents: training LLMs to reason with notebooks

DevFeed: [Jupyter Agents: training LLMs to reason with notebooks](<https://devfeed.tech/articles/jupyter-agents-training-llms-to-reason-with-notebooks-7298.md>)

Original publisher: [Read original article](<https://huggingface.co/blog/jupyter-agent-2>)

Author: Baptiste Colle; Hanna Yukhymenko; Leandro von Werra

Published: 2025-09-10T00:00:00Z

Content type: article

Language: en

Sources: [Hugging Face - Blog](<https://devfeed.tech/sources/hugging-face-blog.md>)

Topics: [Jupyter Notebook](<https://devfeed.tech/topics/jupyter-notebook.md>), [Data analysis](<https://devfeed.tech/topics/data-analysis.md>), [Data Science](<https://devfeed.tech/topics/data-science.md>), [LLMs](<https://devfeed.tech/topics/llms.md>), [Fine-tuning](<https://devfeed.tech/topics/fine-tuning.md>), [Open Source Models & Datasets](<https://devfeed.tech/topics/open-source-models-datasets.md>), [Benchmark](<https://devfeed.tech/topics/benchmark.md>), [Human-AI evaluation](<https://devfeed.tech/topics/human-ai-evaluation.md>), [smolagents](<https://devfeed.tech/topics/smolagents.md>), [qwen](<https://devfeed.tech/topics/qwen.md>), [ide](<https://devfeed.tech/topics/ide.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [cursor](<https://devfeed.tech/tags/cursor.md>), [data](<https://devfeed.tech/tags/data.md>), [data-science](<https://devfeed.tech/tags/data-science.md>), [datasets](<https://devfeed.tech/tags/datasets.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [fine-tuning](<https://devfeed.tech/tags/fine-tuning.md>), [jupyter](<https://devfeed.tech/tags/jupyter.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llms](<https://devfeed.tech/tags/llms.md>), [qwen](<https://devfeed.tech/tags/qwen.md>), [research](<https://devfeed.tech/tags/research.md>), [smolagents](<https://devfeed.tech/tags/smolagents.md>)

## AI overview

The article presents Jupyter Agent, a system that executes code inside Jupyter notebooks to support data analysis and data science workflows. It describes a pipeline for generating training data, fine-tuning smaller models, and evaluating them on the DABStep benchmark, with examples involving Qwen models and smolagents.

## Source excerpt

We're on a journey to advance and democratize artificial intelligence through open source and open science.