Skip to content

Start building

Integration · Education

AI agents for Moodle

Search courses, list a course's participants, assignments, submissions and grades, find users, grade assignments and send Moodle messages on an institution's own Moodle site, through its REST web services.

Actions
10
Read
8
Write
2

Actions

What your agents can do in Moodle

10 actions. Each one is a tool your agents can call and a step your workflows can run.

Read 8

Look things up. Nothing changes.

  • Get site and user info

    Reads the Moodle site's name and version and who the token belongs to: userid, username, fullname, the site's siteurl, and functions, the web service functions this token may call.

  • Search courses

    Finds courses whose name, short name or summary matches the text, a page at a time, optionally only courses the connected user is enrolled in.

  • List a user's courses

    Lists the courses one user is enrolled in (the connected user's ID comes from get_site_info).

  • List a course's participants

    Lists the people enrolled in a course, optionally only active enrollments or one group, limit at a time from offset.

  • Find users

    Finds users by exact email address, username, ID number or user ID (up to 50 values at once).

  • List assignments

    Lists the assignments in one or more courses (or every course the connected user is enrolled in, when none are given).

  • List assignment submissions

    Lists the submissions to one or more assignments, optionally only those in one status (like submitted, draft or new) or changed since a time.

  • Get course grades

    Reads the gradebook of a course: every grade item (assignments, quizzes, the course total) with each student's grade, for one student or for all.

Write 2

Create, change or send.

  • Grade an assignment

    Saves a student's grade on their latest attempt at an assignment, with an optional feedback comment (HTML) when the site's feedback comments are on.

  • Send a message

    Sends a private Moodle message from the connected user to one or more users by user ID; Moodle notifies them by their own message settings.

A person can approve first

Any write action can be set to wait for a person's approval before it runs, so an agent asks before it changes anything.

Connection

How it connects

Connect it once in the console, then give it to the agents and workflows that need it.

API key

Paste an API key from your Moodle account.

What you enter

  • Web service token

Settings

  • Moodle address

Kept safe

  • Credentials are stored encrypted with your organization's own keys.
  • They are opened only by the process that makes the call, at the moment it runs, and never go into a prompt or the browser.
  • Calls go only to the tool's own servers.

How we protect your data

Ideas

Ideas to start with

Starting points made only from the actions above. Mix them with any other tool your agents can use.

  • 01

    Ask about your Moodle data

    Ask a question in plain words. The agent can get site and user info, search courses or list a user's courses in Moodle, then answers with what it found.

  • 02

    Let an agent update Moodle

    Have the agent grade an assignment or send a message in Moodle as part of a larger task. Turn on approval and a person signs off on each change first.

  • 03

    Share what it finds in Slack

    Give one agent Moodle and Slack: it can get site and user info in Moodle and post a summary to a Slack channel in the same run.

FAQ

Moodle and MyDeepAgents

Can MyDeepAgents connect to Moodle?

Yes. The Moodle connector has 10 actions: 8 read and 2 make changes. Your agents can call them as tools, and your workflows can run them as steps.

How do I connect Moodle?

Paste an API key from your Moodle account. You'll need: Web service token. The connection also asks for: Moodle address. Credentials are stored encrypted with your organization's own keys and are opened only at the moment of a call.

Can an agent change data in Moodle without asking?

Only if you let it. Each of the 2 actions that change data can be set to wait for a person's approval before it runs.

Can I use Moodle in workflows as well as agents?

Yes. Every Moodle action also works as a step in a workflow, and the same connection serves your agents and your workflows.

Early access

Put Moodle to work

Connect it in a few minutes, give an agent the actions it needs, and decide which changes wait for a person.