AI Quiz Maker avatar

AI Quiz Maker

Try for free

This Actor is paid per event

Go to Store
AI Quiz Maker

AI Quiz Maker

harvestlabs/ai-quiz-maker
Try for free

This Actor is paid per event

Transforms user input into a structured study quiz. Given a user's request, the agent extracts the core topic, and generates a multi-difficulty quiz in various formats (Markdown, HTML, JSON).

Developer
Maintained by Community

Actor Metrics

  • 2 monthly users

  • No reviews yet

  • No bookmarks yet

  • Created in Mar 2025

  • Modified 16 hours ago

Apify AI Agent Actor: Study Quiz Generator

Overview

The Study Quiz Generator is an autonomous AI agent built on Apify that transforms user input into a structured study quiz. Given a user's request (e.g., "I need to study for a quiz about World War 2"), the agent extracts the core topic, scrapes relevant Wikipedia pages asynchronously, and generates a multi-difficulty quiz in various formats (Markdown, HTML, JSON).

Features

  • Autonomous Topic Extraction: The agent identifies key study topics from natural language input.
  • Asynchronous Web Scraping: Retrieves data from multiple Wikipedia pages simultaneously for efficiency.
  • Intelligent Quiz Generation: Constructs easy, medium, and hard questions based on extracted information.
  • Multi-Format Output: Outputs quizzes in Markdown, HTML, and structured JSON format for various use cases.

Workflow

Workflow Diagram

  1. User Input Processing: The AI agent processes a free-text request to determine the main study topic.
  2. Web Scraping: Asynchronously scrapes Wikipedia pages relevant to the extracted topic.
  3. Content Analysis: Extracts key facts, events, and figures, organizing them into a structured knowledge base.
  4. Question Generation: Creates quiz questions of varying difficulty levels.
  5. Multi-Format Export: Outputs the quiz in Markdown (for readability), HTML (for web integration), and JSON (for programmatic use).

How to Use

  1. Deploy the Apify AI agent on the Apify platform.
  2. Provide a study request as input.
  3. The agent autonomously scrapes and processes data.
  4. Retrieve the generated quiz in your preferred format.

Example Input

"I need to study for a quiz about World War 2"

Output

Be sure to check the "Storage > Key-value store output tab for the HTML/MD report files.

Example Output Format

1{
2    "easy": [
3        {
4            "question": "What year did World War 2 start?",
5            "answers": ["1939", "1940", "1941", "1942"]
6        }
7        // 5 questions
8    ],
9    "medium": [
10        {
11            "question": "Which countries were part of the Axis powers?",
12            "answers": ["Germany", "Italy", "Japan", "Hungary"]
13        }
14        // 5 questions
15    ],
16    "hard": [
17        {
18            "question": "What was Operation Barbarossa?",
19            "answers": ["The German invasion of the Soviet Union"]
20        }
21        // 5 questions
22    ]
23}

Sample output HTML

This AI agent autonomously handles the entire study quiz generation process, making it a powerful tool for students, educators, and self-learners!