In-IDE Toolkit for Developers of AI-Based Features
This paper introduces an AI Toolkit plugin for JetBrains IDEs that integrates tracing and evaluation directly into the development workflow, enabling non-ML software engineers to effectively test, debug, and reproduce AI-based features through a user-centric, IDE-native approach.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are a chef trying to create a new, complex dish using a mysterious, super-smart sous-chef (an AI agent). You give the sous-chef instructions, and it starts chopping, sautéing, and plating. But sometimes, the dish tastes great; other times, it's a disaster. The problem? The sous-chef doesn't always do things the same way twice, and if the food tastes bad, you have no idea why it happened. Was it the salt? The temperature? Did the sous-chef get confused by a specific ingredient?
This is the daily struggle for software engineers building AI features. They are the chefs, and the AI is the unpredictable sous-chef.
The Problem: The "Black Box" Kitchen
Currently, if a developer wants to see what their AI is doing, they have to stop cooking, leave their kitchen (their code editor), and go to a separate, complicated dashboard on the internet. It's like leaving your kitchen to go to a different building just to check the temperature of your oven. It's clunky, confusing, and most developers just skip it. They end up guessing why things went wrong, or they wait until customers complain to figure it out.
The Solution: The "Smart Apron" (AI Toolkit)
The authors of this paper, a team from JetBrains (the company behind popular coding tools like PyCharm), built a plugin called the AI Toolkit. Think of this as a "smart apron" that you wear while you are cooking in your own kitchen. It doesn't ask you to leave your workspace.
Here is how it works, using simple analogies:
1. The "Instant Replay" Camera (Tracing)
When you click "Run" to start your code, the toolkit automatically turns on a camera. It doesn't just record the final dish; it records every single step the AI took.
- The Analogy: Imagine a camera that records your sous-chef saying, "I'm adding salt," "I'm checking the timer," and "I'm confused about this vegetable."
- The Benefit: You can pause the video, rewind, and see exactly where the mistake happened without leaving your IDE (your coding environment). It turns a "black box" mystery into a clear, step-by-step movie.
2. The "Recipe Tester" (Evaluation)
In the old way, testing if your AI works was like tasting the soup once and hoping it's good. The toolkit changes this to be like a professional recipe tester.
- The Analogy: You can take a specific example from your "Instant Replay" video (e.g., "The time the AI messed up the vegetable") and save it as a "test case." Now, every time you change your recipe, the toolkit automatically runs that specific test case to see if you fixed the problem or made it worse.
- The Benefit: It treats AI testing just like a standard software test. You don't need to be a math genius or an AI expert to do it; you just click a button, and it runs a battery of checks for you.
3. The "One-Click" Workflow
The biggest innovation is that this happens inside the tool developers already use.
- The Analogy: Instead of having to set up a whole new lab, hire a new team, and learn a new language to test your cooking, the toolkit just adds a few new buttons to your existing kitchen counter.
- The Benefit: Developers don't have to switch contexts. They run their code, see the "movie" of what happened, and save a test case, all without ever opening a web browser.
What They Found
The team tested this new "smart apron" with real developers:
- High Interest: When developers saw a pop-up suggesting they install it right after they clicked "Run," about 58% installed it immediately.
- Real Usage: Once installed, about 40% of those users actually used it to record their first "movie" (trace).
- Sticking Power: People who used it kept using it. They didn't uninstall it. This suggests that having these tools right where they work makes a huge difference.
The Catch (Limitations)
The paper admits that right now, this "smart apron" only fits one specific type of "sous-chef" (a framework called LangGraph). If a developer is using a different type of AI framework, the toolkit can't see them yet. The team plans to make it compatible with more frameworks soon.
The Bottom Line
This paper argues that to make AI development reliable, we need to stop treating it like a mysterious science experiment that happens in a separate lab. Instead, we need to bring the tools for observation and testing directly into the developer's daily workspace. By making it easy to "watch" the AI and "test" its recipes right where the code is written, even developers who aren't AI experts can build better, more reliable AI features.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.