What I Built
Kodee Classroom is a tool for teaching programming in secondary school. Students don't write code from scratch. They get a small Python program with a couple of bugs and have to fix it. While they work, an AI tutor gives them hints, but it's not allowed to give them the answer. Meanwhile, the teacher can see what the class is getting wrong.
The idea came from thinking about a teacher with 30 kids in front of them. You can't sit next to every student, and by the time you realise half the class is stuck on the same thing, the lesson is basically over. We wanted the teacher to see that in the first five minutes, not the last.
It works a bit like Kahoot. The teacher logs in and asks an assistant for an exercise ("a program that calculates the average grade, with 2 bugs"). You can type it or just say it out loud. The assistant writes the buggy program, the hints and some test cases. We don't trust the model for the expected output, though: we run the correct solution and use whatever it prints.
Students join with a room code and a nickname, no account. They get an editor and a terminal in the browser, and their Python runs right there thanks to Pyodide, so our server never executes their code. To test with different data, we rewrite the program's variables through the AST before running it, without touching the student's file.
The part I'm proudest of is what happens when a student fails. In the background, the model writes one short sentence about the mistake behind their attempt, something like "divides by a fixed number instead of the length of the list". We turn that sentence into an embedding and compare it with the other students' mistakes. That way, two kids with completely different code but the same wrong idea end up in the same group. The teacher sees "7 students are doing this", clicks once, and all seven get a hint. Before it goes out, a second model checks that the hint doesn't give away the fix, because the first one sometimes does.
A few things we learned along the way. Comparing the code itself to find similar mistakes doesn't work well, but comparing a description of the mistake does, as long as you force the model to always describe it the same way. "Don't give the answer" can't just be a line in the prompt, you need to check it. And everything had to work without internet or API keys, because we didn't trust the venue Wi-Fi for the demo. Without AI, it falls back to generic hints and groups students by which tests they fail.
We used React, TypeScript and Vite on the frontend, with Monaco for the editor and xterm.js for the terminal. The backend is FastAPI with Socket.IO for everything real-time, PostgreSQL with pgvector, and OpenAI for the AI parts.
Project Images
Partner Technologies
We used Auth0 for teacher login. Only teachers have accounts (the students are minors, so we didn't want to ask them for anything). Having an account isn't enough, though: the token has to carry a teacher permission, which we set up with RBAC in Auth0. The backend verifies the token itself, signature, audience, issuer and permission included, and the same token goes with the Socket.IO connection, so the teacher's live actions are checked on the server too. Each room belongs to the first teacher who opens it. If Auth0 isn't configured, the app runs in demo mode without login.
Tiger Data was our database, and it ended up doing more than we expected. Besides the usual stuff (rooms, quizzes, attempts, leaderboard), it's where the mistake grouping happens. We store the embedding of each failed attempt with pgvector, and grouping is a single query with cosine distance: if the closest mistake is under 0.3, the student goes into that group, otherwise a new one is created. Since all the state lives there, we could destroy and recreate the server without losing anything.
We deployed on Vultr, in one Docker container with Caddy in front for HTTPS. We picked the New York region because it was closest to our database, and the app makes a few queries per action. We also tried Vultr's inference API for the embeddings. It's compatible with OpenAI's, so it was just a matter of changing the URL.
We used ElevenLabs so teachers can dictate instead of typing. The browser records the audio, sends it to our backend, and the backend asks ElevenLabs for the transcript and puts it in the chat. Small thing, but it makes it much easier to ask for an exercise while you're walking around the classroom.
Hackathon Experience
We built Kodee Classroom at HackEPS 2026, for JetBrains' No code / Low code challenge. The first commit went in on Saturday at 13:41, and we were still merging pull requests on Sunday morning.
The project didn't start the way it ended. Our first version had a Node server, and we rewrote it in Python with FastAPI a few hours in, because that's what most of the team was comfortable with. Looking back it was the right call, but losing that time on day one hurt.
The JetBrains challenge was about building with AI agents, so we took it seriously. We used JetBrains Air with Junie and Claude Code, and we wrote a short set of rules for the agents (folder structure, no giving students the answer, Spanish for anything the user sees) so the code wouldn't turn into five different styles. Every task done with an agent went into a log in the repo, and by Sunday it had more than sixty entries. The agents were great for the tedious stuff and for debugging weird things, like a trash icon that showed up as a solid square because of how Vite inlines SVGs. They still needed someone checking their work, though. One of them found that any student could post in the chat as "Teacher" just by sending the right field, which none of us had noticed.
The other lesson was about the demo itself. We deployed to Vultr on a free sslip.io domain, and then discovered that the venue Wi-Fi blocked it. Luckily we had built the whole app to keep working without the AI or the login, precisely because we didn't trust the network.




