Let AI do the teacher busywork — inside your own Moodle.
Connect Claude or ChatGPT to your Moodle site and let it grade assignments, enrol students, message learners, and export the gradebook — every action runs as the teacher, with Moodle's own permissions.
Goldnat for Moodle — Teacher (Pro) · AI grading, enrolment, and gradebook exports for Moodle teachers.
Ask your own AI
Copy this to your AI agent — it will explain everything.
Paste it into Claude, ChatGPT, goldnat.ai or any assistant you use. It reads this plugin's plain-text page and walks you through what it does, how to install it and what to ask.
I run a Moodle site and I'm looking at "Goldnat for Moodle — Teacher (Pro)". Please read https://plugins.goldnat.ai/moodle/moodle-teacher-ai-connect.md (and, if you need more, https://plugins.goldnat.ai/moodle/moodle-teacher-ai-connect and https://plugins.goldnat.ai/moodle/guide). Then explain to me in simple words: 1. what this plugin does and who it is for; 2. what I need before I start, and how to install it; 3. how to connect you (my AI agent) to my site, step by step; 4. what you will and will not be able to do on my site once connected; 5. five concrete things I could ask you to do with it, for a site like mine. Ask me about my site if that helps you give better examples.
Why this plugin
What you get with Goldnat for Moodle — Teacher (Pro).
📝
Automated grading & feedback
AI grades assignment submissions and records the score straight into the Moodle gradebook — submitGrade runs as the teacher, so grades are attributed correctly and respect course permissions.
📊
Full gradebook access & export
Read the complete course gradebook (every student × every grade item), pull one student's grades, or export the whole thing to CSV or Excel (.xlsx) in one call — ready to share or archive.
🎓
Enrolment & messaging on autopilot
Enrol students into courses, search users, update course details, and send learners personal Moodle messages — the day-to-day admin a teacher repeats every week, handled by the AI.
🔐
Permission-aware, runs as the teacher
Every write runs as the authenticated teacher through Moodle's own capability checks. The AI can never do anything the teacher couldn't do manually.
🧩
Builds on the Free Moodle plugin
Pro is a Moodle plugin that extends the Free AI Connect core. Install both: the core provides read tools + OAuth, Pro adds the 10 teacher write/gradebook tools.
💳
Plans that fit a class or a campus
From $149/yr for a single teacher's toolkit up to $599/yr for institution-wide use. Paddle handles billing, local currency, VAT, and tax automatically.
Capabilities
What it does.
OAuth 2.0 + PKCE
Secure by design
Industry-standard OAuth 2.0 flow with PKCE. Every AI agent authenticates with proof-of-key exchange — no secrets stored client-side.
Permission-aware
Native Moodle permissions
Tool calls respect Moodle's capability system. The AI acts as the teacher and only touches courses and students that teacher can access.
REST + JSON
Servio Protocol
Manifest endpoint, tool discovery, structured JSON responses. Compatible with the Model Context Protocol standard.
10 Pro tools
Production ready
61 structured teacher tools — including grading, enrolment, messaging, course updates, and gradebook CSV/Excel export — ready for production use.
In plain language
What you can ask.
Type requests like these to your AI agent once it is connected. It works out which tools to use.
-
“Which students have not submitted the essay?”
The agent compares enrolments and submissions and lists who is missing.
-
“Give everyone in Group B a one-week extension.”
It extends the due date for that group.
-
“Which students are at risk of failing?”
It analyses grades and activity and lists students to check on.
-
“Create a new assignment for next week with this brief.”
It creates the assignment in your course.
-
“Export the gradebook to Excel.”
It exports the course gradebook.
-
“Show me how the class did on the last quiz.”
It reads the quiz statistics.
How it works
From install to your first request.
- Install the free core plugin first: Goldnat for Moodle (https://plugins.goldnat.ai/moodle/moodle-plugin). This plugin runs on top of it.
- Buy Goldnat for Moodle — Teacher (Pro) at goldnat.ai, download it, and upload it in your Moodle admin panel. Enter the license key you receive.
- Connect your AI agent: in goldnat.ai (or another compatible agent) add your site address. You are sent to your own Moodle site to log in and approve what the agent may do (read only, or read and write).
- Ask the agent in plain language. It calls the plugin on your site as you, and shows you the result.
- Full installation guide with screenshots: https://plugins.goldnat.ai/moodle/guide
What it will and won't do
- The agent acts as the Moodle user who connected it. It can never see or change more than that user can.
- You approve the access level when you connect (read only, or read and write), and you can revoke the connection at any time from the plugin page in your admin panel.
- Actions that delete content or cannot be undone ask for an explicit confirmation first.
- Your content stays on your site. The plugin answers the agent's requests directly; it does not copy your site anywhere else.
Get started
Up and running.
1
Install the Free plugin first
Pro is an extension. Install the Moodle AI Connect (Free) plugin before Pro — the core provides the manifest, OAuth, and read tools Pro builds on.
2
Purchase Pro via Paddle
Sign in to your Goldnat account and pick a plan. Paddle handles checkout in your local currency with VAT and tax; your license appears in your account instantly.
3
Install the Pro plugin
Download the Pro plugin ZIP, install it through Moodle's Plugins → Install, and run the upgrade. The Pro tools register into the same manifest the core serves.
4
Grant write scope to your AI agent
When your AI agent reconnects it requests write scope. Approve it, and the 61 Pro teacher tools become callable immediately.
Compatible clients
Works with every AI client.
Pre-configured OAuth integrations for every major AI agent — including our own hosted agent at goldnat.ai. Connect in minutes, not hours.
Tools
Available tool calls.
61 tools exposed via the Servio protocol. AI agents call these by name with structured arguments.
moodle_pro
-
moodle_pro.createGradeItemCreates a new grade item in the course gradebook. -
moodle_pro.updateGradeItemUpdates grade item settings (name, max grade, weight).
moodle
-
moodle.addGroupMemberAdd a user to a group. User must already be enrolled in the group course. -
moodle.analyzeGradeDistributionAnalyzes grade distribution in the course and returns statistics (mean, median, spread). -
moodle.bulkGradeAssignmentGrade multiple students at once for one assignment. Map of userid to {grade, feedback}. -
moodle.createAssignmentCreates a new assignment in the course with name, instructions, and due date. -
moodle.createCalendarEventCreate a calendar event. Personal event if courseid is omitted; course-wide event (visible to all enrolled users) when courseid is provided. -
moodle.createCourseCreates a new course with name, code, and category. -
moodle.createCourseCategoryCreates a new course category to organize courses. -
moodle.createGroupCreate a new group in a course. Returns the created group id. -
moodle.createQuestionCategoryCreate a new question bank category in a course context. Organizes questions across quizzes. -
moodle.createQuizCreate an empty quiz in a course. Returns quiz id + cmid; use createQuestionCategory + question-adding tools to populate. Quiz appears on course page and in gradebook immediately. -
moodle.deleteAssignmentDelete an assignment activity from a course. DESTRUCTIVE — removes the assignment and all student submissions. -
moodle.downloadSubmissionFileDownload a specific file from an assignment submission. Returns a signed URL or the file contents. -
moodle.duplicateCourseDuplicates an existing course including its content and settings into a new course. -
moodle.enrollUserEnrolls a user (student/teacher) in a given course. -
moodle.exportGradebookCSVExports the course gradebook as a CSV file (students × grade items). -
moodle.exportGradebookExcelExports the course gradebook as an Excel (.xlsx) file, returned base64-encoded. -
moodle.extendAssignmentDueDateExtend the due date (and optionally cutoff date) on an assignment. Provide new dates as Unix timestamps. -
moodle.getAssignmentSubmissionsList every submission for an assignment, with status (submitted or not), date, grade, attached files and the learner's comments. -
moodle.getCategoryCoursesList all courses in a given category, with their ID, name, shortname, and visibility. -
moodle.getCourseCategoriesGet details of a specific course category by ID, including name, description, parent, depth, and course count. -
moodle.getCourseGradebookGet the full gradebook for a course: every enrolled student with their grade in each grade item (Pro) -
moodle.getGradeCategoriesGet Grade Categories (Moodle core-gradebook) -
moodle.getGradeCategoryGet Grade Category (Moodle core-gradebook) -
moodle.getGradeFeedbackGet Grade Feedback (Moodle core-gradebook) -
moodle.getGradeHistoryGet Grade History (Moodle core-gradebook) -
moodle.getGradeItemGet Grade Item (Moodle core-gradebook) -
moodle.getGradeItemsGet Grade Items (Moodle core-gradebook) -
moodle.getGradeLettersGet Grade Letters (Moodle core-gradebook) -
moodle.getGradeOutcomesGet Grade Outcomes (Moodle core-gradebook) -
moodle.getGradeScalesGet Grade Scales (Moodle core-gradebook) -
moodle.getGroupGet details of a specific group by ID, including course, name, description, and current member list. -
moodle.getQuizAttemptsList quiz attempts for one learner or for the whole class, with date, score, status (in progress or finished) and time remaining. -
moodle.getQuizQuestionsGet the questions in a quiz, including type (multiple choice, true or false, short answer), question text, options, marks and feedback where permitted. -
moodle.getStudentGradesGet all grades for a single student in a course, item by item, with the course total (Pro) -
moodle.getSubmissionContentRead the full content of a single student assignment submission: online text, submitted files (with URLs), current grade, and feedback. -
moodle.getSubmissionFilesList the files attached to an assignment submission, with names, sizes, types and download links. -
moodle.gradeByGroupAssign the same grade + feedback to every member of a group in an assignment. -
moodle.identifyAtRiskStudentsIdentifies at-risk students based on grades, submissions, and activity, and returns a ranked list. -
moodle.listCourseCategoriesList all course categories on the site with their hierarchy. Optionally filter by parent id. -
moodle.listGroupsList all groups in a course. Returns group id, name, description, and member count. -
moodle.removeGroupMemberRemove a user from a group. Does NOT unenroll them from the course. -
moodle.searchGradesSearch Grades (Moodle core-gradebook) -
moodle.searchUsersSearches users by name or email address. -
moodle.sendMessageSends a personal message to a student or a group of students through the Moodle messaging system. -
moodle.submitGradeEnters a grade for a student's assignment and saves it to the gradebook. -
moodle.updateAssignmentUpdate an existing assignment (name, intro, dates, max grade). -
moodle.updateCourseUpdates the course details (name, description, settings). -
moodle.updateCourseCategoryUpdates an existing course category (name, hierarchy). -
moodle.updateGradeItemUpdate a grade item (grademax/grademin/gradepass/aggregationcoef/hidden). -
moodle.uploadCourseFileUpload a file to a course as a Resource module. Accepts base64-encoded content and creates a downloadable file resource on the course page.
quiz
-
quiz.getAttemptDetailsGet Attempt Details (Moodle quiz) -
quiz.getQuizAccessRulesGet Quiz Access Rules (Moodle quiz) -
quiz.getQuizDetailsGet Quiz Details (Moodle quiz) -
quiz.getQuizStatisticsGet Quiz Statistics (Moodle quiz) -
quiz.getUserBestAttemptGet User Best Attempt (Moodle quiz) -
quiz.listAttemptsList Attempts (Moodle quiz) -
quiz.listQuestionCategoriesList Question Categories (Moodle quiz) -
quiz.listQuizzesList Quizzes (Moodle quiz) -
quiz.searchQuestionBankSearch Question Bank (Moodle quiz)
Pricing
Get the plugin.
Sign in to your Goldnat account to complete purchase — Paddle handles local currency, VAT, and tax automatically. Your license appears in your account immediately.
Pro Basic
Full feature set + support
- ✓ All Free tools
- ✓ enrollUser
- ✓ createCourse
- ✓ updateGrade
Pro Advanced
Full feature set + support
- ✓ All Basic tools
- ✓ bulkEnroll
- ✓ createQuiz
- ✓ manageGroups
Enterprise
Full feature set + support
- ✓ All Advanced tools
- ✓ SLA
- ✓ Dedicated support
- ✓ Multi-campus
FAQ
Common questions.
Which AI agents can I use?
Our own agent at goldnat.ai, and other AI agents that support the Servio protocol. The list of compatible clients is on this page.
Can the AI see or change things I can't?
No. It works as the Moodle user who connected it, with exactly that user's permissions. Connect it with an account that has only the access you want it to have.
Will it change things without asking?
Only if you approved write access when you connected it. Deleting or irreversible actions ask for an explicit confirmation.
How do I disconnect an agent?
Revoke its connection from the plugin page in your admin panel. The agent loses access immediately.
Do I also need Goldnat for Moodle?
Yes. Goldnat for Moodle — Teacher (Pro) runs on top of the free core plugin, which handles the secure connection.
Moodle platform
More plugins for Moodle
Questions about Goldnat for Moodle — Teacher (Pro)?