TeachBuddy is a lightweight, AI-powered teaching assistant built using Streamlit and Amazon Bedrock's Supervisor Agent. It empowers educators to effortlessly generate academic content, analyze student performance, and manage classroom attendance using natural language queries.
⚙️ Core Technologies Frontend/UI: Streamlit (Python)
AI Backend: Amazon Bedrock Supervisor Agent
Language Processing: Foundation model behind Bedrock Agent
Integration: AWS SDK (boto3) to call the agent programmatically
🧠 Functionality The app provides a friendly interface where users can select one of the following tasks:
📘 Generate Lesson Plan Prompt the agent to create structured and simplified lesson plans for any subject and class.
📝 Create Quiz Automatically generate multiple choice questions tailored to a topic and grade level.
📊 Analyze Student Performance Input student-specific queries and receive analysis, suggestions, and feedback based on retrieved data.
📧 Analyze Class Attendance Ask for attendance summaries for specific classes and dates (e.g., “How was attendance for class 10 yesterday?”).
🖥️ How It Works The user selects a task and optionally edits the pre-filled prompt.
Upon clicking Enter, the app:
Sends the prompt to the configured Bedrock Supervisor Agent using invoke_agent()
Receives a structured, natural language response
Displays the output in an elegant, styled format
The interaction is session-based using a unique sessionId, allowing contextual follow-ups (if enabled in the agent).
✅ Key Features ✅ Minimal setup — fully serverless using AWS services
✅ Friendly UI for teachers and non-technical users
✅ Seamless Bedrock agent integration (no custom model training needed)
✅ Support for both factual Q&A and generative tasks (lesson/quiz)
🔐 Security Considerations The app does not store any personal or sensitive data.
AWS credentials and agent IDs are handled securely via the boto3 SDK.
IAM permissions must allow the following actions for the running user or Lambda:
Built With
- amazon-redshift
- bedrockagent
- iot
- s3bucket
Log in or sign up for Devpost to join the conversation.