{
  "metadata": {
    "name": "eduvibe_classroom",
    "description": "Portable multi-agent K-12 classroom studio network for EduVibeMaker: lesson design, Socratic tutoring, formative assessment analytics, and narrative teacher report generation running directly in the browser.",
    "author": "OnTechnologyCo",
    "license": "MIT",
    "spec_profile": "worldwide-agentic-web-mvp-0.3",
    "sample_queries": [
      "Show all available K-12 lessons and recommend one for Grade 4 fractions.",
      "Analyze our classroom's most missed concepts and create a 3-question review quiz for the class.",
      "Tutor a student who missed equivalent fractions (2/3 = 4/6) using a Socratic hint.",
      "Draft and save a teacher evaluation report for Minjun Kim based on his classroom scores."
    ]
  },
  "llm_config": {
    "model_name": "gpt-4o-mini",
    "temperature": 0.3
  },
  "max_steps": 10,
  "cruse": {
    "version": 1
  },
  "link_labels": {},
  "commondefs": {
    "replacement_strings": {
      "site_name": "EduVibeMaker K-12 Classroom Studio",
      "privacy_rules": "Never request or transmit student passwords, teacher PINs, or private teacher memos (sly_data: teacherPrivateMemo is strictly blocked across boundaries).",
      "grounding_rules": "Ground all scores, student names, and lesson catalogs strictly in website_* tool responses. Never invent student grades or unpublished lessons. Always ask for explicit visitor consent before running write actions."
    }
  },
  "tools": [
    {
      "name": "classroom_coordinator",
      "function": {
        "description": "Front agent for EduVibeMaker. Routes teacher, student, and peer-agent requests to specialist education agents (lesson_designer, socratic_tutor, formative_assessor, report_writer) and executes browser site actions.",
        "parameters": {
          "type": "object",
          "properties": {
            "request": {
              "type": "string",
              "description": "Natural-language request from a teacher, student, or external peer agent."
            }
          },
          "required": ["request"]
        }
      },
      "instructions": "You are the Front Agent for {site_name}. Coordinate specialist sub-agents to help teachers create K-12 lessons, analyze classroom mastery, write individualized student reports, and guide students with Socratic hints. {grounding_rules} {privacy_rules}",
      "tools": [
        "lesson_designer",
        "socratic_tutor",
        "formative_assessor",
        "report_writer",
        "website_list_lessons",
        "website_open_lesson"
      ]
    },
    {
      "name": "lesson_designer",
      "function": {
        "description": "Designs K-12 interactive quizzes and lesson plans aligned to grade level and subject, and deploys custom quizzes live into EduVibeMaker.",
        "parameters": {
          "type": "object",
          "properties": {
            "gradeLevel": { "type": "string", "enum": ["elementary", "middle", "high", "all"] },
            "subject": { "type": "string" },
            "topic": { "type": "string" },
            "questionCount": { "type": "integer", "minimum": 1, "maximum": 10 }
          },
          "required": ["topic"]
        }
      },
      "instructions": "You are a K-12 curriculum designer. Build clear, age-appropriate multiple-choice questions with 4 options, exact answer index (1-4), and conceptual explanations. Use website_create_custom_quiz to launch the quiz directly on the EduVibeMaker page after user consent.",
      "tools": ["website_list_lessons", "website_create_custom_quiz"]
    },
    {
      "name": "socratic_tutor",
      "function": {
        "description": "Provides step-by-step Socratic hints and visual analogies for K-12 math, science, and English concepts without immediately spoiling the answer.",
        "parameters": {
          "type": "object",
          "properties": {
            "concept": { "type": "string" },
            "gradeLevel": { "type": "string" },
            "studentMistake": { "type": "string" }
          },
          "required": ["concept"]
        }
      },
      "instructions": "You are a warm, encouraging K-12 Socratic tutor. Guide students step by step with concrete visual analogies (pizza slices for fractions, slope steps for linear graphs, word roots for English vocabulary). Never shame mistakes; celebrate progress.",
      "tools": ["website_list_lessons", "website_open_lesson"]
    },
    {
      "name": "formative_assessor",
      "function": {
        "description": "Reads classroom activity submissions to compute class accuracy, identify top missed concepts, and recommend targeted review lessons.",
        "parameters": {
          "type": "object",
          "properties": {
            "classCode": { "type": "string" }
          }
        }
      },
      "instructions": "Inspect live classroom results using website_get_classroom_stats. Summarize participation, average accuracy, and top missed concepts clearly so teachers can plan targeted remediation. Never expose private teacher memos.",
      "tools": ["website_get_classroom_stats", "website_list_lessons"]
    },
    {
      "name": "report_writer",
      "function": {
        "description": "Synthesizes narrative teacher evaluation reports and constructive student praise from real classroom submission metrics and saves them to Teacher Studio.",
        "parameters": {
          "type": "object",
          "properties": {
            "studentName": { "type": "string" },
            "classCode": { "type": "string" }
          },
          "required": ["studentName"]
        }
      },
      "instructions": "Use website_get_classroom_stats to fetch the student's real results, draft an encouraging narrative learning evaluation highlighting strengths and concrete next steps, and save it using website_save_student_report after teacher consent.",
      "tools": ["website_get_classroom_stats", "website_save_student_report"]
    }
  ]
}
