Skip to main content

Frequently asked questions

Before you start​

How much does it cost?​

miyagi is free and open source, under the MIT licence. There are no plans or fees. What makes the assistant work is your Claude subscription (Pro or Max).

How is it different from asking an AI chat?​

A chat gives you some text and you do the rest in Moodle. miyagi goes into your course and does the work there: it enters the grade with its feedback, replies in the forum, creates the assignment with its rubric. It also remembers your course from one session to the next and asks your permission before your students see anything.

Does it work with my school's Moodle?​

It works with the Moodle you already use and with your own teacher session, through the moodle-teacher extension: nothing needs to be installed on the server. It's made for Moodle 4 and 5, and it's tested on Moodle 5.2. When you connect the classroom, it can look (without changing anything) at which activity and question types it sees in your course.

Do I need to know how to program?​

No. On Windows you install it with a double click (The desktop app) and then you use it by talking to it. On Mac and Linux you install it by pasting one line into the terminal. Install and Getting started walk you through it.

Control and safety​

Can it publish something without me noticing?​

In the conversation, before saving a grade, replying in the forum or publishing content, it asks your permission with a summary of what it's going to publish. If it tries to change something in Moodle without having asked, the program itself stops it and asks you. To delete, remove or restore something it always asks you again. The only way for it to publish without asking is if you deliberately launch it in autonomous mode with miyagi run in the terminal.

What if it gets something wrong?​

You see every grade, every reply and every resource before it reaches your students, and you can say no or ask it to change it. Anything new it tests hidden in Moodle before showing it. If you don't like something about how it works, correct its notes or write it in instructions.md.

Can it delete things or leave my course?​

It has instructions not to delete anything, not to change enrolments, not to touch Moodle's settings and not to go into other courses. Even so, use Guided mode to review everything it publishes.

Is my password safe?​

miyagi doesn't ask for it or store it. The first time it needs to get into Moodle, the moodle-teacher extension opens a browser window for you to log in yourself, and neither miyagi nor the model sees your password. The same goes for the desktop app's built-in browser: it doesn't see those tabs or their session. The extension keeps that session, so it doesn't ask you again until it expires.

What happens to my students' data?​

It reads what you would see in Moodle in order to do its work, but your students reach it under an alias (“A-7KQ2XM”), never with their name. You do see their names in the app and the web version: miyagi puts them on screen without them reaching the assistant, and the eye button hides them to project. If the submission is a file, it asks your permission to save it on your computer under the alias, and deletes it when it's done grading (we cover it in the tutorial). In its notes it doesn't keep records about individual students, only class trends. More detail in Security and privacy.

Does it run programs on my computer?​

It doesn't run programs on your computer: the assistant has no terminal. For computing courses you can install the docker-lab extension, and then it runs practicals only inside Docker labs, without internet unless you allow it and without touching anything outside each lab. It's in Practicals in Docker.

How it works​

Where are its notes?​

In the course's knowledge folder: text files you can open with any editor (or with Obsidian, which shows how they link together). It's in The course's memory.

How does it test what it creates before students see it?​

It prepares it in the course's drafts folder, uploads it to Moodle hidden (with your permission), tests it there as a teacher and asks your permission again to show it. Whatever you leave hidden stays in the Drafts view and in knowledge/drafts.md, and the bell reminds you.

Can I give it my own instructions?​

Yes. Create an instructions.md file in the course folder and write there whatever you want it to always keep in mind: “grade out of 10”, “keep it short in the forum”, “spelling counts for 10%”. You can also create your own shortcuts and skills: Shortcuts and instructions.

What language does it speak?​

The one you chose when setting up the course, which is also the language of its menus and messages if it's Spanish, English, French or German. To change the menus just once, add --language=en (or es, fr, de) to the command. If you write to it in another language, it follows you. What it publishes in Moodle is always in the course's language, whatever language you speak to it in.

Can it download, compress or make PDFs?​

Yes, inside the course's drafts folder and with its own tools, without a terminal: it downloads files and complete web pages, copies, compresses and decompresses (for example, for a SCORM package) and converts notes to PDF. For safety there are size limits, which you can change: Configuration.

Does a browser window open while it works?​

No. miyagi works in Moodle without a window. One only opens for you to log in, the first time or when your session expires.

Does the app work on Mac or Linux?​

No: the desktop app only installs on 64-bit Windows. On Mac and Linux use the web version or the terminal, with Node.js.

Why does Windows warn me when I install it?​

Because the installer isn't signed yet. Click More info and Run anyway.

Can I pick up a conversation from another day?​

Yes. In the app and in the web version they're in the conversations column, and Search conversations finds them by a word. In the terminal, miyagi chat --continue opens the last one, and /resume inside the chat lets you choose any earlier one. It's in The conversation.

Can I write to it while it's working?​

Yes, in the app and on the web: your message is queued and it reads it as soon as the action in progress ends, without stopping the work. Not in the terminal: wait for it to finish or stop it (Esc). It's in The conversation.

If you came from another version​

I was using moodle-agent​

Your teacher classroom folder works as it is: run miyagi chat inside it and the assistant will reorganise its notes into the new format the first time.