The screw was three millimeters in diameter and nowhere to be found.
Sanja Rajić, a mathematics and programming teacher at the gymnasium in Smederevska Palanka in Serbia, had been building a mechanical finger with her students in the school’s robotics section. The assembly required six 3D-printed parts, each held together by an M3 screw. She searched hardware stores across town. Shop assistants shrugged. No one had it. It became another problem for the students to solve and a chance to see whether AI could help them solve it.
When she came back empty-handed, nobody suggested quitting. Instead, they turned to the Petlja AI Assistant, developed by Serbian education nonprofit Petlja Foundation on Microsoft Azure using Azure OpenAI Service to support teachers with lesson preparation, teaching materials and other classroom tasks. This time, they used it differently: they asked what “M3” meant, how to configure the 3D printer, and how to keep the print from shifting mid-run.
The first attempt failed. So did the second and third. The printed screw came out at five millimeters. Students reached for percentages: 80, then 70, then 60. At 60 percent, the part fit. The mechanical finger worked.
“If there’s a problem, we’ll create our own way to solve it,” Rajić says. “We didn’t stop. Maybe we would have stopped before AI.”
That session, in a robotics section Rajić runs on top of her regular teaching duties, using a tool she had volunteered to test three years earlier, captures something essential about how AI is entering Serbian education. Not through mandates, but through teachers willing to experiment, take initiative and bring change into their own classrooms.
The teacher who raised her hand
In the autumn of 2023, Rajić attended a conference in Belgrade where Nebojša Vasiljević, then director of Petlja, presented an early pilot of the AI Assistant, a tool built around a simple question: what would change if teachers spent less time on paperwork and more time with students? She raised her hand while Vasiljević was still talking. “I want this. I will learn this.” She sent an email that afternoon. Within days, she had access.
Petlja could move quickly because much of the technology was already in place. The organization had built its educational platform using Microsoft technologies, with .NET and C# at its core and Azure providing the cloud infrastructure. For the AI Assistant, Azure OpenAI Service provides access to generative AI models within that environment, while Petlja’s platform supplies the educational context around teachers’ questions.
For Milan Simić, Petlja’s current director, that infrastructure allows a small nonprofit to focus on education rather than running servers. “Azure allowed us to be cloud-native from day one, avoiding the overhead of managing our own infrastructure and letting us focus on learning experiences rather than servers,” he says. Microsoft’s support has also included access to its experts and direct financial support.
The first thing Rajić tested was lesson preparation. In the Serbian educational system, formal “preparations” require teachers to set out a lesson’s goals, expected outcomes, teaching methods and tasks. Even for an experienced teacher, putting that structure together can take a couple of hours, she says. “The AI writes the entire preparation. That is two hours of work. I edit based on my experience, but it gives me the structure.”
For Rajić, AI does not replace teacher judgment. It gives her a starting point that she reviews and adapts to her classroom, leaving more time for her students.
For a lesson comparing Haskell and Prolog, two programming languages that teach different approaches to problem-solving, she started with a simple example: adding two numbers in each language. She then used the AI to build more complex exercises, activities for different knowledge levels and a full lesson plan. When it suggested material for “high school or university students,” she narrowed the target to fourth-year IT-track students. It adjusted, then generated two versions of a test.
“What I care about is that students don’t run from mathematics,” she says.
None of this happens without the right support. Rajić’s robotics section exists because school principal Nataša Marković backed it from the start. “She gives us wind in our sails,” Rajić says.

Three years in, Rajić knows how to use the tool on her own terms. “I learned that the more specific I am, the better it responds. Now I know how to push back, how to say: that’s fine, but let’s try another way.”
Students as creators
Ana Stojanović and Barbara Radulović are second-year students at the Palanka Gymnasium who spend extra afternoons in Rajić’s section. This year, they built something beyond the curriculum.

BrAInUp, created for the 2026 Student Companies Competition, is a student-developed educational well-being app that gives simple daily suggestions based on a short questionnaire. The students led the concept and design, while Rajić and the Petlja AI Assistant supported the technical development.
In another project, a motion-controlled game modeled on Flappy Bird, the students asked the AI Assistant which color their computer-vision setup might detect reliably. It suggested yellow; they tested it, and it worked better for their setup than the alternatives they tried.
Their classes cover more material in an hour because Rajić uses the AI Assistant to help them move past syntax errors and focus on understanding. “You can see she still gets nervous when we don’t understand something,” Barbara says. “You can see that she cares.”

When asked what she would tell a skeptical colleague, Barbara has her answer ready: “AI gives you an idea in a minute. Coming up with a lesson idea on your own, then organizing what you’re going to do – that takes much longer.”
A bigger picture
Petlja was founded in 2017, the year Serbia made programming a mandatory subject in fifth grade. With few teaching materials available at the time, the organization built a platform that allowed students to write and run code directly in a browser. Its work later expanded into informal education and, by 2023, AI tools for teachers.
Milan Simić spent 17 years in the software industry, including time at Microsoft, before joining Petlja in 2023. By then, Microsoft had supported Petlja for years through technology, access to expertise and financial support. For Simić, that reflected a willingness to invest in education whose impact may take years to become visible. “In the process of developing an individual, the earlier you make an intervention, the greater its effect,” he says. “Microsoft understood that.”
The next challenge is scale. Petlja provides the AI Assistant free of charge, but every interaction with a commercial AI service carries a cost. Through the UNICEF TLM4EL project, the team is now fine-tuning an open-source model for Serbian education, with plans to run it on donated hardware. The aim is to reduce operating costs, keep data under local control and eventually make the AI Assistant available to more teachers.
A Petlja-supported study[1] conducted by independent research consultants found practical benefits that mirror Rajić’s experience. Teachers reported saving time, finding new lesson ideas and supporting differentiated teaching, while stressing that AI-generated materials still need to be reviewed and adapted before classroom use.

Today, around 250 teachers have access to the AI Assistant, with 50 to 60 actively using it. Petlja hopes its current work on open-source models will make the tool cheaper to run and easier to expand, but Simić says there is no fixed user target or confirmed funding for a wider rollout yet.
He is clear-eyed about what comes next. Much of Petlja’s development depends on project funding, which can take six to 12 months to secure. In AI, that delay can be enough for technology to move past what was originally planned. Petlja remains a small team running a free tool in one of the world’s fastest-moving technology sectors.
Three years in, Rajić’s students build things that require persistence: five failed print attempts before a screw holds, a lesson assembled exchange by exchange, a game debugged line by line.
The AI does not make that happen. The teacher does.
The students who walk into her classroom next year will not know how many failed prints, rewritten preparations or late-night experiments stood behind a working robotic finger.
Their teacher does.
The screw fits now.
Technical Reference
| Petlja AI Assistant Technology & Partners Infrastructure: Microsoft Azure OpenAI Service, Azure hosting, Azure SQL. Daily operations: Microsoft 365 (Teams, Exchange, Office). Open-source exploration: UNICEF TLM4EL project; open models fine-tuned using Azure GPU infrastructure, with local deployment planned on donated hardware. Partners: UNDP Serbia (project coordination), Ministry of Education of Serbia (funding), UNICEF (open-model phase), Microsoft (technology, expertise and financial support), Tenstorrent (compute hardware). |
Reporting and interviews by Goran Zarić, Propulsion.
[1] Lenka Protić, Jovan Mihojević and Đorđe Volarević, Istraživanje AI Asistenta, research conducted with the support of the Petlja Foundation, 2025.
Top image: Petlja and Microsoft are bringing AI into Serbian classrooms, helping teachers save time, personalise lessons, and inspire students to solve real-world problems. Images courtesy of Danijel Rakić, Propulsion.