AI Agents take control of our code

4 min read Original article ↗

Press enter or click to view image in full size

AI Agent Revolution

Aleksandra Płońska

It happens right now: AI Agents are becoming increasingly popular. AI-powered assistants are becoming the norm across software tools, especially in data science. GitHub has Copilot, Amazon offers CodeWhisperer, and tools like Hex and Deepnote embed AI into notebooks.

But most of these tools still fall short in one crucial area:
They don't directly work inside your notebook kernel, where your data lives and where your code runs.

That's where MLJAR Studio changes the game.

What Was Missing in Classic Notebooks?

Jupyter notebooks are incredibly flexible, but they lack one crucial feature:

👉 an AI assistant that actually understands and executes your code, knows your variables and works locally on your machine.

That missing piece is now here.

MLJAR Studio comes with a built-in AI Agent that works inside your notebook, like a real teammate. It writes code, analyzes data, explains results, and helps you learn — right where you need it.

Press enter or click to view image in full size

AI Agent panel in MLJAR Studio

3 Modes of the AI Agent in MLJAR Studio

MLJAR Studio offers three distinct modes to match your workflow. Whether you're coding, exploring data, or learning, there's a mode for you.

📊 Data Analyst Mode

This mode helps data analysts with their tasks. With a Data Analyst Agent, you can perform complicated analysis and machine learning tasks without coding or knowledge of Python. Just by using your data, you can achieve results without coding skills.

Ask data questions — no code shown. The Agent explores, visualizes, and summarizes the results. You stay focused on insights, not syntax.
The notebook still stores all the code in the background.

📌 Prompt: "Which product category grew fastest in Q2?" 💡 Output: Chart + summary, no code displayed

💻 Code Assistant Mode

This mode is perfect for saving time. If you know the Python syntax and want full control over the executed code, this mode will fit your needs.

You write a prompt in plain English. The Agent returns clean Python code. You choose when to run it. You decide whether to use the suggested code snippet or write it yourself.

📌 Prompt: "Plot sales by region for the past 12 months." 💡 Output: Full code snippet

🎓 Teacher Mode

An interactive tutor that helps users truly learn, the Agent reveals only part of the code snippet, while the rest is offered as a multiple-choice exercise (A/B/C). You chose the correct answer. Learn by doing — get explanations after each choice.
Perfect for beginners and interactive learning.

📌 Prompt: "Show me how groupby works." 💡 Output: Code quiz with a hint and explanation

Press enter or click to view image in full size

AI Agent modes

How to start?

You begin by choosing one of three modes: data analyst, code assistant, or teacher. Next, you type a question or instruction using plain English.
Example: "Create a scatter plot of income vs. age grouped by gender." The AI Agent reads your notebook's state, including defined variables, data frames, imports, and prior cells. It adjusts the response to your current context.

How output is generated is defined by the chosen mode. AI Agent can:

  • return Python code for you to run,
  • show a chart or summary directly, or
  • present a learning quiz with choices.

All actions are transparent and logged inside the notebook, so you stay in control.

Press enter or click to view image in full size

AI Agent — Data Analyst Mode

Why Work with the AI Agent?

Using the AI Agent in MLJAR Studio makes working with data faster and easier. You can write simple instructions in plain English, and the Agent will generate working Python code for you in just a few seconds. This is especially helpful when you're exploring data or building machine learning models. The Agent also helps you learn while you work — you can see how the code works on real data and understand each step. If something goes wrong, the Agent can look at the error message and suggest how to fix it. You don't have to spend time searching for solutions — the Agent helps right away. It can also create charts and summaries directly, so you can focus on insights instead of writing code. All of this happens on your computer, so your data stays private and secure. Plus, the Agent uses good coding practices and helps you avoid common mistakes, which makes your work more reliable.

Ready for the revolution?

AI Agents are the future of coding, but MLJAR Studio is already there.
With three unique modes and seamless integration in your notebook, you can generate code, analyze data, and learn Python all in one place.

It's fast. It's private. It's built for data science.

Try MLJAR Studio — and bring your notebook to life with AI.