Inspiration
I noticed that students spend a lot of time learning, but rarely get the chance to teach what they know. Understanding a topic is one thing, but explaining it clearly to someone else is different.
Many students want to improve their communication and teaching skills, but they don't always have someone available to listen, ask questions, or give feedback.
This gave me an idea: What if students could practice teaching with AI before teaching real people?
That's why I started building TeachVance — Practice. Improve. Teach.
What it does
TeachVance is an AI-powered platform where students practice teaching, receive feedback, and eventually teach other students.
AI Teaching Practice: Students choose a topic and teach virtual AI learners using their camera and microphone. The AI students listen, raise hands, ask questions, and respond to the teacher.
Teaching Tools: Students can write and execute Python code, upload PDF presentations, or share their screens. A floating webcam keeps the presenter visible.
AI Evaluation: After each practice session, students receive a report covering communication, explanation clarity, concept accuracy, and areas for improvement.
Progress Dashboard: Students can track their scores, completed sessions, improvement trends, and topic progress.
Teaching Qualification: Students complete 10 qualifying practice sessions and a final assessment for a topic before becoming eligible to teach real students.
Real Classroom: Human students can join live classrooms and give 5–10 minute presentations. An AI Instructor manages teaching turns, helps with difficult questions, and politely corrects mistakes.
Three optional AI classmates — Hamza, Ananya, and Ethan — can also join as virtual learners to ask questions and give answers. Only human students can present.
How we built it
I built TeachVance using:
- Next.js, React, TypeScript, and Tailwind CSS for the website.
- OpenAI API for AI conversations and teaching evaluations.
- Python and LiveKit Agents for the AI Instructor and virtual classmates.
- LiveKit WebRTC for real-time classrooms.
- Monaco Editor and Pyodide for running Python code in the browser.
- PDF.js for presentation viewing and sharing.
I developed the project step by step, starting with the dashboard and AI practice classroom, then adding evaluation reports, teaching tools, real-time classrooms, and AI Instructor functionality. I also used AI-assisted development tools during implementation and testing.
Challenges we ran into
One of the biggest challenges was creating natural conversations between teachers and AI students.
Initially, AI students sometimes stopped speaking after the first word. We also encountered incomplete OpenAI responses caused by token limits.
Another challenge was coordinating live audio, multiple AI participants, presenter turns, and shared presentations without interruptions or overlapping conversations.
I worked through these problems by improving audio handling, API request management, classroom coordination, and testing.
Accomplishments that we're proud of
I'm proud that TeachVance became more than a simple chatbot.
It now combines AI teaching practice, detailed evaluation reports, progress tracking, real-time classrooms, and AI-assisted peer learning.
Some of my favorite features are the supportive AI Instructor, interactive AI classmates, browser-based Python execution, and synchronized PDF presentations.
The project also passed automated tests and several real LiveKit integration tests using simulated media. Testing with physical devices and additional reliability improvements are still ongoing.
What we learned
Building TeachVance taught me a lot about real-time AI systems, voice interactions, WebRTC, Python execution, and coordinating multiple AI agents.
I learned that creating a useful educational AI system is not just about generating correct answers. It also needs to know when to listen, when to respond, and how to give constructive feedback.
Most importantly, I learned how technology can help students become better communicators and teachers.
What's next for TeachVance
My goal is to make TeachVance accessible to students worldwide.
In the future, I want to add secure student accounts, support for more subjects and languages, improved real-time conversations, better teaching analytics, mobile accessibility, and scalable classroom infrastructure.
I believe learning becomes more meaningful when we can share our knowledge with others.
Everyone can learn. Everyone can teach.
Built With
- javascript
- livekit
- livekit-agents
- local
- monaco-editor
- next.js
- openai-api
- pdf.js
- pyodide
- python
- react
- tailwind-css
- typescript
- web-workers
- webrtc