# Moodle LMS + Agentic OS Integration > Source: https://ibl.ai/resources/integrations/moodle-agentic-os *Deploy owned, purpose-built AI agents directly inside your Moodle environment — no vendor lock-in, full data sovereignty.* Moodle is the world's most widely deployed open-source LMS, trusted by thousands of institutions for its flexibility and extensibility. Pairing it with ibl.ai Agentic OS unlocks a new layer of intelligent automation — purpose-built AI agents that act on real learning data, not generic prompts. Agentic OS connects to Moodle via open APIs and LTI standards, enabling agents to read course activity, learner progress, and engagement signals in real time. These agents can automate support workflows, surface at-risk learners, personalize content delivery, and orchestrate multi-step instructional tasks without replacing your existing Moodle setup. Unlike SaaS AI bolt-ons, ibl.ai agents run on your infrastructure. Your institution owns the agent code, the training data, and the deployment environment — making this integration ideal for privacy-conscious institutions that demand FERPA compliance and full auditability. ## Capabilities ### Real-Time Learner Intelligence Agents continuously monitor Moodle activity streams — logins, submissions, forum participation — to build dynamic learner profiles and surface actionable insights to instructors and advisors. ### Automated At-Risk Detection Purpose-built agents analyze engagement patterns and grade trajectories to identify at-risk learners early, triggering automated outreach or escalation workflows without manual intervention. ### Contextual AI Agent Deployment Embed specialized agents directly into Moodle courses via LTI. Each agent has a defined role — tutor, coach, assessor — ensuring focused, reliable behavior rather than open-ended chatbot responses. ### Workflow Orchestration Across Systems Agentic OS coordinates multi-step workflows that span Moodle and connected systems like SIS, CRM, or HR platforms — automating credential triggers, compliance reporting, and learner lifecycle events. ### Owned Infrastructure, Full Data Control All agent logic, learner interaction data, and model outputs reside on your infrastructure. No data leaves your environment to third-party AI vendors, ensuring FERPA compliance and institutional data sovereignty. ### Extensible Agent Library Start with pre-built agents for common education workflows and extend them using the Agentic OS SDK. Custom agents can be built, versioned, and deployed without rebuilding your Moodle environment. ## Setup ### Step 1: Enable Moodle Web Services & REST API (~30 minutes) Activate Moodle's Web Services framework and create a dedicated service token with scoped permissions for course, user, and grade data. Assign the token to a service account with appropriate role capabilities. Requirements: - Moodle 3.11 or higher - Site administrator access - Web Services plugin enabled - REST protocol enabled under Site Administration > Plugins ### Step 2: Configure LTI 1.3 Tool Registration (~45 minutes) Register ibl.ai Agentic OS as an external LTI 1.3 tool in Moodle. This enables deep-link launches, grade passback, and context-aware agent sessions directly within Moodle course pages. Requirements: - LTI 1.3 support (Moodle 3.9+) - ibl.ai Agentic OS platform URL and public key - Course administrator or site administrator role ### Step 3: Deploy Agentic OS on Your Infrastructure (~2–4 hours) Provision the ibl.ai Agentic OS runtime on your preferred infrastructure — on-premise servers, private cloud, or a dedicated VPC. Use the provided Helm charts or Docker Compose manifests for containerized deployment. Requirements: - Linux server or Kubernetes cluster - Docker 20+ or Kubernetes 1.24+ - Minimum 8 vCPU, 32 GB RAM for production - Outbound HTTPS access to Moodle instance ### Step 4: Connect Moodle Data Source in Agentic OS (~20 minutes) In the Agentic OS admin console, add Moodle as a data source by entering the API base URL, service token, and webhook endpoint. Run the connection test to validate data ingestion and event streaming. Requirements: - Agentic OS admin console access - Moodle API token from Step 1 - Network connectivity between Agentic OS and Moodle ### Step 5: Configure and Activate AI Agents (~1–2 hours) Select and configure purpose-built agents from the Agentic OS agent library — such as at-risk detection, learner support, or content recommendation agents. Define triggers, escalation rules, and output channels (Moodle messages, email, dashboard). Requirements: - Agentic OS agent configuration access - Defined learner personas and course mappings - LLM backend credentials (OpenAI, Azure OpenAI, or self-hosted) ### Step 6: Test, Monitor, and Go Live (~2–3 hours) Run end-to-end tests using sandbox learner accounts. Validate agent responses, grade passback accuracy, and event trigger timing. Enable production monitoring dashboards in Agentic OS before full rollout. Requirements: - Sandbox Moodle course with test enrollments - Agentic OS monitoring dashboard enabled - Stakeholder sign-off on agent behavior and escalation paths ## Technical Requirements **Moodle Environment:** - Moodle 3.11 or higher (Moodle 4.x recommended) - Web Services framework enabled with REST protocol - LTI 1.3 external tool support - Moodle Webhooks plugin or Event Monitoring configured - HTTPS enforced on Moodle instance - Dedicated Moodle service account with scoped API permissions **Agentic OS Infrastructure:** - Linux-based host (Ubuntu 20.04+ or RHEL 8+ recommended) - Docker 20+ or Kubernetes 1.24+ for containerized deployment - Minimum 8 vCPU, 32 GB RAM, 200 GB SSD for production - PostgreSQL 14+ for agent state and interaction storage - S3-compatible object storage for knowledge base and logs - Outbound HTTPS access to Moodle API endpoint - LLM backend access (OpenAI API, Azure OpenAI, or self-hosted model endpoint) **Security & Compliance:** - OAuth 2.0 or API token-based authentication between systems - TLS 1.2+ enforced on all data-in-transit - Role-based access control configured in Agentic OS admin console - Data residency on institution-controlled infrastructure - Audit logging enabled for all agent actions and data access - FERPA data handling policies documented and enforced ## FAQ **Q: Does this integration require replacing or modifying our existing Moodle setup?** No. The Moodle + Agentic OS integration is additive. It connects to Moodle via standard Web Services APIs and LTI 1.3 — no core Moodle code modifications are required. Your existing courses, plugins, and configurations remain fully intact. **Q: Where does learner data go when agents process it?** All learner data stays on your institution's infrastructure. Agentic OS is deployed on your servers or private cloud, so data never flows to ibl.ai's systems or third-party AI vendors unless you explicitly configure an external LLM endpoint you control. **Q: Is this integration FERPA compliant?** Yes. Because Agentic OS runs on customer-owned infrastructure and all data remains within your environment, the integration is designed to support FERPA compliance by default. ibl.ai also supports SOC 2 and HIPAA-aligned deployment configurations. **Q: What LLM or AI model does Agentic OS use with Moodle data?** Agentic OS is model-agnostic. You can connect it to OpenAI, Azure OpenAI, Anthropic, or a self-hosted open-source model. The choice of LLM backend is entirely yours, giving you control over cost, performance, and data privacy. **Q: Can we build custom agents for our specific Moodle workflows?** Yes. Agentic OS includes an SDK for building custom agents tailored to your institution's workflows. You can extend pre-built agents or create new ones from scratch, then deploy them into your Moodle environment without vendor involvement. **Q: How long does the Moodle + Agentic OS integration take to set up?** A standard integration — including API configuration, LTI setup, infrastructure deployment, and initial agent activation — typically takes one to two days for a technical team. Complex multi-system orchestration workflows may require additional configuration time. **Q: Does Agentic OS support Moodle Workplace or Moodle for Business?** Yes. Agentic OS integrates with any Moodle distribution that exposes the standard Web Services API and supports LTI 1.3, including Moodle Workplace, MoodleCloud (with API access enabled), and self-hosted Moodle instances. **Q: What happens if our Moodle instance goes offline — do agents stop working?** Agents that depend on real-time Moodle data will pause event-driven tasks during downtime. However, Agentic OS queues pending actions and resumes processing once connectivity is restored, ensuring no data loss or missed workflow triggers.