AI-Powered Teacher Assistant: Revolutionizing Lesson Planning for Educators

This is a submission for the Heroku “Back to School” AI Challenge

What I Built

I built Teacher Assistant, a web application that helps educators generate structured lesson plans in minutes. Teachers often spend significant time every day de…


This content originally appeared on DEV Community and was authored by VICTOR LAKRA

This is a submission for the Heroku "Back to School" AI Challenge

What I Built

I built Teacher Assistant, a web application that helps educators generate structured lesson plans in minutes. Teachers often spend significant time every day designing lesson plans, which can be repetitive and time-consuming. This application leverages AI to streamline the process: educators simply upload the document they intend to teach (e.g., a textbook chapter, reading material, or notes), and the system generates a context-aware lesson plan tailored to the grade level, topic, and duration specified by the teacher.

The generated lesson plan includes:

  • Step-by-step teaching activities
  • Required materials
  • Timed sections for better pacing
  • Formative quiz questions with answers
  • Differentiation for two levels (support & extension)

This helps teachers save time and focus more on meaningful student interaction rather than paperwork.

Category

Educator Empowerment

Demo

Checkout the project here: Teacher Assistant


Flow of the application:

  1. Teacher uploads a PDF document of the lesson content.
  2. The system extracts text and creates vector embeddings, stored in a pgvector-powered database.
  3. Teacher specifies topic, grade and duration.
  4. With one click, a tailored lesson plan is generated, aligned with the uploaded material.

Screenshots

Screenshots showcasing the Teacher Assistant UI, document upload workflow, and generated lesson plans.

Application homepage screenshot

Uploaded file screenshot

Document page screenshot

Lesson plans page screenshot

Lesson plan screenshot

Lesson plan screenshot

Lesson plan screenshot

How I Used Heroku AI

The application integrates multiple Heroku AI features:

1. Heroku Managed Inference and Agents

  • Embeddings Generation: Used Cohere embeddings API to convert uploaded document text into embeddings.
  • Lesson Plan Generation: Used Claude Sonnet 4 to generate structured lesson plans based on both teacher input (grade, topic, duration) and retrieved contextual embeddings.

2. pgvector for Heroku Postgres

  • All embeddings are stored and queried in a pgvector-enabled Postgres database.
  • This ensures semantic search capabilities to retrieve the most relevant content from the uploaded material during lesson plan generation.

Together, these components enable a seamless multi-agent workflow: one agent handles document embedding and storage, while another focuses on contextual lesson plan generation.

Technical Implementation

  • Frontend: React + TypeScript, with Tailwind CSS for styling.
  • Backend: Express + TypeScript
  • AI Workflow:

    • On document upload, text is extracted and embeddings are generated via Managed Inference (Cohere).
    • Embeddings are stored in Postgres with pgvector extension for efficient semantic retrieval.
    • When the teacher requests a lesson plan, embeddings are queried to extract the most relevant context, and an agent (Claude Sonnet 4) generates the structured plan.
  • Multi-Agent Architecture:

    • Document Agent: Handles embedding creation and storage.
    • Planning Agent: Generates the lesson plan using retrieved context and teacher inputs.
  • Database: Heroku Postgres with pgvector.

Challenges Solved

  • Efficient context retrieval: Implemented semantic search over lesson documents using pgvector to ensure lesson plans are accurate and aligned with actual teaching material.

  • Multi-agent coordination: Designed a workflow where one agent enriches the knowledge base (embeddings) and another produces actionable lesson plans.

  • User experience: Created a minimal, intuitive interface where teachers can generate professional-grade lesson plans with a single click.

Results

I have pitched and demoed Teacher Assistant to few educators. The response was overwhelmingly positive, several teachers expressed strong interest in adopting it immediately, finding it a valuable tool to save time and improve teaching quality. The application demonstrates how AI can meaningfully empower educators while improving classroom experiences.


This content originally appeared on DEV Community and was authored by VICTOR LAKRA


Print Share Comment Cite Upload Translate Updates
APA

VICTOR LAKRA | Sciencx (2025-09-28T22:56:01+00:00) AI-Powered Teacher Assistant: Revolutionizing Lesson Planning for Educators. Retrieved from https://www.scien.cx/2025/09/28/ai-powered-teacher-assistant-revolutionizing-lesson-planning-for-educators/

MLA
" » AI-Powered Teacher Assistant: Revolutionizing Lesson Planning for Educators." VICTOR LAKRA | Sciencx - Sunday September 28, 2025, https://www.scien.cx/2025/09/28/ai-powered-teacher-assistant-revolutionizing-lesson-planning-for-educators/
HARVARD
VICTOR LAKRA | Sciencx Sunday September 28, 2025 » AI-Powered Teacher Assistant: Revolutionizing Lesson Planning for Educators., viewed ,<https://www.scien.cx/2025/09/28/ai-powered-teacher-assistant-revolutionizing-lesson-planning-for-educators/>
VANCOUVER
VICTOR LAKRA | Sciencx - » AI-Powered Teacher Assistant: Revolutionizing Lesson Planning for Educators. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/09/28/ai-powered-teacher-assistant-revolutionizing-lesson-planning-for-educators/
CHICAGO
" » AI-Powered Teacher Assistant: Revolutionizing Lesson Planning for Educators." VICTOR LAKRA | Sciencx - Accessed . https://www.scien.cx/2025/09/28/ai-powered-teacher-assistant-revolutionizing-lesson-planning-for-educators/
IEEE
" » AI-Powered Teacher Assistant: Revolutionizing Lesson Planning for Educators." VICTOR LAKRA | Sciencx [Online]. Available: https://www.scien.cx/2025/09/28/ai-powered-teacher-assistant-revolutionizing-lesson-planning-for-educators/. [Accessed: ]
rf:citation
» AI-Powered Teacher Assistant: Revolutionizing Lesson Planning for Educators | VICTOR LAKRA | Sciencx | https://www.scien.cx/2025/09/28/ai-powered-teacher-assistant-revolutionizing-lesson-planning-for-educators/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.