AI Chat

Blocks ::: block_ai_chat
Maintained by ByCS Lernplattform, Tobias Garske, Philipp Memmel
The “AI Chat Block” offers a fully-fledged chatbot client with chat history and various display options (docked on the right, modal and full-screen mode). It enables seamless integration of AI-supported communication into your Moodle platform.
Latest release:
349 sites
431 downloads
18 fans
Current versions available: 2

This innovative plugin integrates a powerful chatbot client powered by advanced AI technology. With the ability to save chat histories, it provides continuous and contextualized communication that significantly improves the learning process. The context length can be configured by setting. 

The prerequisite for the block_ai_chat is the local_ai_manager. With its help, the chatbot can be used with any language models such as GPT4o, Google Gemini or LLama3.

The “AI Chat Block” can be used flexibly in different display variants: docked on the right for discreet integration, as a modal window for targeted interactions or in full screen mode for an immersive chat experience. This versatility ensures that the chatbot can be seamlessly integrated into different usage scenarios to meet the needs of users.

Whether for technical support, learning assistance or general inquiries, the “AI Chat Block” is available around the clock and provides instant answers. By customizing the AI personality and conversation style, the chatbot can be optimally adapted to the specific requirements of your institution. Experience a new dimension of user interaction with the “AI Chat Block” and take your Moodle platform to the next level.

Release February 2025:

Teachers can define their own personas within the chatbot in courses, with which students can interact. This opens up new possibilities for teaching, as students can, for example, discuss with a historical figure or examine complex issues from different perspectives. Administrators or tenant managers also benefit from this function: They can define personas on the dashboard and thus adapt the chatbot to the specific needs of their organization.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

ByCS Lernplattform (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments

Show comments
  • 我的蚂蚁
    Mon, 17 Nov 2025, 6:22 PM
    Does the AI Chat window on the course page support adding course content as chat context?
  • Philipp Memmel
    Tue, 18 Nov 2025, 5:46 PM
    Hi, if the buttons are resposive this probably means a mismatch between your moodle version and the version of the AI chat block you installed. Please make sure you have the AI chat version that is compatible with Moodle 5.1. Eventually download the latest main branch from Github.

    Regarding the second question: Currently, the chatbot does not support sending additional context from the course, no. This is a feature we are looking forward to, but are not there yet.
  • 我的蚂蚁
    Tue, 18 Nov 2025, 6:23 PM
    Thank you very much for your reply! The AI chat plugin I am using is version 2.1 (2025101300). Through testing, it has been found that this version of the AI chat plugin works normally under Moodle 5.1, but the aforementioned abnormality occurs under Moodle 5.1+.
  • Philipp Memmel
    Tue, 18 Nov 2025, 6:42 PM
    Hi. Thank you very much. I can reproduce the issue and will investigate. I raised https://github.com/bycs-lp/moodle-block_ai_chat/issues/43. If you find other bugs, feel free to report them directly on github.
  • 我的蚂蚁
    Thu, 20 Nov 2025, 2:43 PM
    Additionally, the window mode switching function of the AI chat plugin does not work properly under non-HTTPS addresses that are also non-local addresses.
  • Philipp Memmel
    Thu, 20 Nov 2025, 3:21 PM
    Could you please raise an issue in github with precise reproduction steps what exactly does not work? Is it that the window mode is not being saved across page reloads?
  • 我的蚂蚁
    Thu, 20 Nov 2025, 3:29 PM
    The toggle button is displayed properly, yet clicking the relevant button cannot switch to the corresponding window mode.
  • Philipp Memmel
    Thu, 20 Nov 2025, 3:49 PM
    Please raise a separate issue on git with the precise versions of block_ai_chat as well as your moodle version. I cannot really reproduce this issue besides on latest moodle main the dropdown of the window mode button is not visible like the other menu. Besides that a bigger rework is on the way which is developed on the latest moodle main. So I'm confident that this issue will be resolved with this rework.
  • 我的蚂蚁
    Thu, 20 Nov 2025, 5:35 PM
    OK,Thank you very much.
  • Vladimír Výboh
    Tue, 3 Feb 2026, 8:19 PM
    Where can I set the options that are written in the plugin description? For example, to have the chat on the left. We have Moodle 4.5
  • Philipp Memmel
    Tue, 3 Feb 2026, 8:56 PM
    You mean the chat docked on the right? There is a "three-dots-menu" in the top right corner of the chatbot modal.
  • Vladimír Výboh
    Tue, 3 Feb 2026, 9:15 PM
    I found the "three-dot menu", but when I click there, nothing happens. The same goes for the side button to maximize the window. Only the "x" to close the chat works.
  • Philipp Memmel
    Tue, 3 Feb 2026, 9:44 PM
    We had this bug at some point, but fixed it. I don't think the version for 4.5 has been affected by this. Besides that we are not maintaining actively for moodle version below 5.0. If you can update your site and use the latest version of block_ai_chat it will work.
  • italo enio
    Mon, 16 Feb 2026, 12:06 AM
    Hello. Most students use their cell phones to access course content. Could you tell me how I can display the Chat Bot in the Moodle app? I can see it on the desktop, I can see it in the mobile browser, but I can't see it in the Moodle app... Do I need to activate a specific feature? The institution I work for wants to purchase a Moodle App license, but I haven't been able to access the Chat Bot in the basic app.

    Another request, if possible, could you consider setting up a small image for the personas (visually identifying the bots would be great)?
  • Philipp Memmel
    Mon, 16 Feb 2026, 1:26 PM
    I'm not sure if "blocks" are a thing in the moodle app. We do not use it, because it's super slow and extremely limited. If blocks are not supported in the moodle app, I recommend to have a look at https://moodle.org/plugins/mod_aichat. It's our activity version of this course wide block chat. Not sure, if it works on moodle app out of the box. Maybe that solves the issue for you.

    Regarding persona images: We intentionally do not offer this option for pedagogical reasons. It's already very hard for students to realize and keep in mind that they are not talking to a person but to a machine generating random words. We want to avoid that teachers are tempted to add nice little images of real personas and personify the AI chat even more.
1 2
Please login to post comments