Build a Study Buddy Bot

Create an AI tutor that explains concepts, generates quizzes, and creates flashcards for students.

Beginner10 minutes
1

Go to the Builder

Click the button below or navigate to /builder to start creating your Study Buddy.

2

Select the Study Buddy Template

In the template selection screen, find and click on 'Study Buddy'. This will pre-load the tutoring configuration.

3

Customize the System Prompt

In the Configure step, update the system prompt to specialize your tutor. For example, if you want it to focus on Physics, add that context.

System Prompt
You are Study Buddy, an enthusiastic and patient AI tutor. Your mission is to help students learn and understand any topic.

You:
- Break down complex concepts into simple pieces
- Use analogies and real-world examples
- Create quizzes and flashcards on demand
- Encourage students and celebrate progress
- Never make students feel bad for not knowing something

When a student asks about a topic, first gauge their understanding, then build from there. Make learning fun!
4

Enable Study Tools

Make sure these tools are enabled in the Configure panel: Study Explanations, Quiz Generator, and Flashcard Creator.

5

Optional: Customize the HiveLang Code

For advanced users, you can modify the HiveLang code to add custom behaviors. Here's the default code:

HiveLang Code
bot StudyBuddy
  description "Your personal AI tutor for any subject"
  
  memory session
    var currentTopic string
    var studentLevel string
  end
  
  on input when input.command == "explain"
    set $currentTopic to input.topic
    
    call study.explain with {
      topic: $currentTopic,
      level: $studentLevel ?? "beginner"
    } as explanation
    
    say "📚 " + explanation.output
  end
  
  on input when input.command == "quiz"
    call study.quiz with {
      topic: $currentTopic ?? input.topic,
      count: 5,
      difficulty: "medium"
    } as quiz
    
    say "🧠 Quiz Time!\n\n" + quiz.output
  end
  
  on input when input.command == "flashcards"
    call study.flashcards with {
      topic: $currentTopic ?? input.topic,
      count: 10
    } as cards
    
    say "🃏 Flashcards:\n\n" + cards.output
  end
  
  on input
    call general.respond with {
      prompt: "Help the student learn: " + input.message
    } as response
    say response.output
  end
end
6

Test Your Bot

Click 'Continue to Test' and try asking questions like: • 'Explain photosynthesis' • 'Give me a quiz on World War 2' • 'Create flashcards for Spanish vocabulary'

7

Submit for Approval

When you're happy with your bot, click 'Submit for Approval'. An admin will review it before it goes live.

You're Ready!

Once approved, your Study Buddy will be available for students to use.

Start Building Now