# ulams > ulams is an open, AI-native, headless LMS built on Laravel and React: courses that stay in sync with their sources, adapt to each learner and cite every generated element. This file indexes the documentation as Markdown; every page is also available as HTML at the same address without `index.md`. Machine-readable resources: the OpenAPI document is at https://ulams-dev.github.io/ulams/openapi.json, JSON Schemas at https://ulams-dev.github.io/ulams/schemas/index.json, the guides as one file at https://ulams-dev.github.io/ulams/llms-full.txt. Agents working on the repository should read AGENTS.md at its root first. ## Getting started - [Getting started](https://ulams-dev.github.io/ulams/getting-started/index.md): Where to begin with ulams - what it is, the six demo academies, running the stack locally and the local hosts it uses. - [Demo academies](https://ulams-dev.github.io/ulams/getting-started/demos/index.md): The six demo tenants (The Coffee Atlas, On-Call, Night Sky Explorers, Gravity Lab, Poland, Measured and The Scottish Book), what each one shows, and how demo mode logs you in and resets hourly. - [Local hosts and ports](https://ulams-dev.github.io/ulams/getting-started/hosts/index.md): Every host and port of the local ulams stack - Caddy routes for tenants, API, H5P, content origins and storage, plus the dev servers and tools. - [Quick start](https://ulams-dev.github.io/ulams/getting-started/quick-start/index.md): Run ulams locally - clone, install with Yarn through Corepack, start the Docker API stack, the admin, both learner frontends, the docs and the demo academies. - [What is ulams](https://ulams-dev.github.io/ulams/getting-started/what-is-ulams/index.md): ulams in brief - a headless, multi-tenant LMS forked from Wellms, its Living Course and cited AI, and its open-source licensing. - [What's new](https://ulams-dev.github.io/ulams/getting-started/whats-new/index.md): What each phase of the ulams roadmap has delivered so far (Phases 0 to 4 and 6, and the CLI, MCP server, API, webhook and course-as-code work of Phase 7), with links to the page that documents each feature. ## Content creators - [Content creators](https://ulams-dev.github.io/ulams/creators/index.md): How course authors and tutors build courses in ulams, from the course form to lessons, topics, quizzes, certificates and access. - [Access, prices and publishing](https://ulams-dev.github.io/ulams/creators/access-and-publishing/index.md): Control who sees and opens a course with its status, dates and public flag, grant access to users and groups, handle access requests, invite by e-mail and sell it. - [Adapt Learning courses](https://ulams-dev.github.io/ulams/creators/adapt/index.md): Use courses built with the Adapt Learning framework by uploading their SCORM export, or keep the JSON source in ulams and build it into a SCORM package. - [Audio topics](https://ulams-dev.github.io/ulams/creators/audio/index.md): Add a narration, podcast or music clip to a lesson with an audio topic that accepts MP3 and OGG files. - [Certificates](https://ulams-dev.github.io/ulams/creators/certificates/index.md): How a course issues a PDF certificate when a learner finishes it, how to pick the certificate template for a course, and where to download issued certificates. - [cmi5 packages](https://ulams-dev.github.io/ulams/creators/cmi5/index.md): What cmi5 support exists today, how cmi5 packages and assignable units are uploaded through the API, and what is still missing for authors and learners. - [Code exercises](https://ulams-dev.github.io/ulams/creators/code-exercises/index.md): Give learners files to edit and tests to run in JavaScript or TypeScript, right in the lesson, in an isolated browser sandbox, with practice attempts recorded for you. - [Build a course with AI](https://ulams-dev.github.io/ulams/creators/course-builder/index.md): Turn a Markdown, PDF or DOCX source into a cited course in your academy through an interview, an approved outline and approved generation, then refine it by chatting. - [See where learners struggle](https://ulams-dev.github.io/ulams/creators/course-insights/index.md): Open the Insights page of any course to see progress, completion, quiz results, who needs support and the sections that confuse people, with groups under 10 learners hidden, and ask for an AI-proposed improvement of a section learners struggle with. - [How a course was produced](https://ulams-dev.github.io/ulams/creators/course-production/index.md): The Production page of the studio shows how long each stage of a course took, what the model calls cost and how much of what the AI wrote you kept, from the academy's own recorded runs. - [Course versions and variants](https://ulams-dev.github.io/ulams/creators/course-versions-and-variants/index.md): Variants of one course for different levels and roles, drafted together by the Course Builder from the same cited sources and reviewed as a diff against the base course. Numbered course versions with a comparison screen for any two of them. - [Create a course](https://ulams-dev.github.io/ulams/creators/create-a-course/index.md): Create a course in the admin panel and work through the course editor tabs, from attributes and media to access, certificates and statistics. - [External tool topics (LTI)](https://ulams-dev.github.io/ulams/creators/external-tool/index.md): Launch an external LTI 1.3 tool inside a lesson, pick content from the tool with deep linking, and receive the learner's score back in ulams. - [GIFT syntax reference](https://ulams-dev.github.io/ulams/creators/gift-syntax/index.md): The GIFT question syntax that ulams quizzes understand, with an example, grading rules and pitfalls for each of the eight supported question types. - [Keep a course in sync with a Git repository: a worked example](https://ulams-dev.github.io/ulams/creators/git-sync-worked-example/index.md): A real run of Living Course on a small runbook repository, from the commit to the reviewed proposal, the suggested lesson and the applied update, with the actual requests, counts and limits. - [H5P content](https://ulams-dev.github.io/ulams/creators/h5p/index.md): Create, upload, preview and export interactive H5P content in the admin library and use it in H5P topics, with completion reported by xAPI. - [Image topics](https://ulams-dev.github.io/ulams/creators/image/index.md): Show a diagram, infographic or photo as a lesson topic, and give it alternative text and a caption through the topic summary. - [Import, export and clone courses](https://ulams-dev.github.io/ulams/creators/import-export/index.md): Export a course as a ZIP file, import it on another ulams installation, or clone it, and what each content type carries across. - [Interactive lessons](https://ulams-dev.github.io/ulams/creators/interactive/index.md): Put your own JavaScript on a lesson, a 3D scene, a map or a small simulation, as a zip package with a manifest that plays in a sandbox, reports progress and shows a text version. - [Layouts](https://ulams-dev.github.io/ulams/creators/layout/index.md): Build a lesson from learning components, such as timelines, flip cards, steps and practice activities, by writing a JSON document that is checked against the approved component set. - [Lessons and topics](https://ulams-dev.github.io/ulams/creators/lessons-and-topics/index.md): Build a course program in the admin panel with nested lessons and topics, reorder them by drag and drop, and set the fields every topic shares. - [LiaScript courses](https://ulams-dev.github.io/ulams/creators/liascript/index.md): Write interactive courses in LiaScript Markdown in the admin editor, keep every change as a version with diff and restore, and play them in lessons. - [PDF topics](https://ulams-dev.github.io/ulams/creators/pdf/index.md): Add slides, handouts or a reading as a PDF topic that learners read in the lesson player and that you preview page by page in the admin. - [Pricing a course built with AI](https://ulams-dev.github.io/ulams/creators/pricing/index.md): Choose free or paid in the Course Builder interview, confirm the price before publishing, and what happens in the cart when you apply and publish. - [Project topics](https://ulams-dev.github.io/ulams/creators/project/index.md): Let learners hand in files with a project topic, notify tutors about new submissions, and review, download or delete the files in the course editor. - [Quizzes](https://ulams-dev.github.io/ulams/creators/quizzes/index.md): Build quiz topics with eight GIFT question types, set attempts, time limit and pass score, import and export questions, and grade answers in quiz reports. - [Rich text topics](https://ulams-dev.github.io/ulams/creators/rich-text/index.md): Write lesson text in the Markdown editor of a rich text topic, with headings, lists, tables, code, math and embedded media. - [SCORM packages](https://ulams-dev.github.io/ulams/creators/scorm/index.md): Upload SCORM 1.2 and 2004 packages to the SCORM library, preview them, and use them as lesson topics or as a whole course. - [Style profiles](https://ulams-dev.github.io/ulams/creators/style-profiles/index.md): Upload your organisation's style guide and the Course Builder reads it into a cited style profile (theme, voice, terminology, banned phrases, reading level, components, image rules) that an admin approves as a diff. - [Video and embeds](https://ulams-dev.github.io/ulams/creators/video/index.md): Add video to a lesson by uploading a file that is converted to HLS streaming, or by embedding a YouTube or Vimeo link with an OEmbed topic. ## Learners - [Learners](https://ulams-dev.github.io/ulams/learners/index.md): What learners see in ulams - the server-rendered reference frontend used by the demo academies, and the legacy React learner app. - [Accessibility](https://ulams-dev.github.io/ulams/learners/accessibility/index.md): Keyboard shortcuts, lesson view options, reduced motion and the accessibility statement, and how a learner reports a barrier. - [Account](https://ulams-dev.github.io/ulams/learners/account/index.md): The account page of the reference frontend - the learner's profile, their courses with progress and continue links, their personal API tokens, and logging out. - [Approving a CLI sign-in](https://ulams-dev.github.io/ulams/learners/cli-sign-in/index.md): What the Authorize the ulams CLI page asks you, how to read the code, narrow the permissions and the lifetime, and how to revoke the token later. - [Code exercises](https://ulams-dev.github.io/ulams/learners/code-exercises/index.md): How to edit code in a lesson, run its tests in your browser and read the results, and what happens to your attempts. - [Course page](https://ulams-dev.github.io/ulams/learners/course-page/index.md): The course page of the reference frontend - header with facts and tutors, the program, the description, progress for returning learners and the enrol card. - [Course player](https://ulams-dev.github.io/ulams/learners/course-player/index.md): The lesson player of the reference frontend - the program tree, how each topic type renders, progress and completion, quizzes and the finish page. - [Choosing your version of a course](https://ulams-dev.github.io/ulams/learners/course-versions/index.md): How to choose and switch between the versions of a course for your level or role, what carries over when you switch, the optional placement check, the hint to switch and what "assigned by your organisation" means. - [Error pages](https://ulams-dev.github.io/ulams/learners/error-pages/index.md): The branded 404 and 500 pages of the reference frontend - when learners see them and what they offer. - [Events](https://ulams-dev.github.io/ulams/learners/events/index.md): The events pages of the reference frontend - webinars, in-person events and 1:1 consultations, listed and shown in detail, read-only. - [Extra help for you](https://ulams-dev.github.io/ulams/learners/extra-help/index.md): What the "Extra help for you" card on a lesson is, why you see it, how to rate it, hide it and use its practice question. - [Home and landing pages](https://ulams-dev.github.io/ulams/learners/home/index.md): What the root page of the reference frontend shows - a tenant's landing page, the ulams platform page, or the demo academy picker. - [Legacy React learner app](https://ulams-dev.github.io/ulams/learners/legacy-react-app/index.md): The React learner app inherited from Wellms (front/src) - what it still does, how it differs from the reference frontend, and its status. - [Lesson view](https://ulams-dev.github.io/ulams/learners/lesson-view/index.md): How to change the spacing, parts, navigation and hints of your lessons, and what the suggested lesson view means. - [Arriving from another LMS (LTI)](https://ulams-dev.github.io/ulams/learners/lti-launch/index.md): What happens when a learner opens a ulams course from Moodle, Canvas or another LTI 1.3 platform, and lands in the reference frontend through /lti/launch. - [My training, certificates and skills](https://ulams-dev.github.io/ulams/learners/my-training/index.md): Where a learner sees their required training, learning paths, certificates (download, verify, badge) and skills, and what a manager sees of their team. - [Notes and bookmarks](https://ulams-dev.github.io/ulams/learners/notes-and-bookmarks/index.md): Per-topic notes and bookmarks for learners - the bookmarks_notes API, where the legacy React app exposes it, and its absence from the reference frontend. - [Personalisation and privacy](https://ulams-dev.github.io/ulams/learners/personalisation/index.md): See what an academy knows about how you move through a course, switch extra help and reminders off, download your data and delete it. - [Signing in and out](https://ulams-dev.github.io/ulams/learners/signing-in/index.md): How learners sign in to the reference frontend - e-mail and password, the demo student, automatic sign-in on demo tenants, and logging out. ## Administrators - [The admin panel](https://ulams-dev.github.io/ulams/admin/index.md): How to sign in to the ulams admin panel, what the dashboard shows, where each menu group leads and why some items are hidden. - [API tokens](https://ulams-dev.github.io/ulams/admin/api-tokens/index.md): Create, list and revoke scoped API tokens for the ulams CLI, agents and CI, and read what each token did in the agent audit log. - [Connect a BI tool](https://ulams-dev.github.io/ulams/admin/bi-connectors/index.md): Read a saved report from Excel, Power BI or Tableau through a read-only OData feed with a token limited to that one report, and from Looker Studio, Metabase or Superset with the CSV and JSON lines recipes. - [Categories and tags](https://ulams-dev.github.io/ulams/admin/categories-and-tags/index.md): Build the category tree used to classify courses, events and users, and understand how free-form tags are added and suggested. - [Certificates](https://ulams-dev.github.io/ulams/admin/certificates/index.md): Issue certificates that expire, let anyone verify one from its QR code, and revoke a certificate that is no longer valid. - [Compliance and required training](https://ulams-dev.github.io/ulams/admin/compliance/index.md): Make a course mandatory with a due date, let certificates expire and renew themselves, and have overdue training escalated to a manager. - [Consultations](https://ulams-dev.github.io/ulams/admin/consultations/index.md): Sell one-to-one consultations with proposed terms, approve or move booked terms, and handle free consultation access requests. - [Course Builder settings](https://ulams-dev.github.io/ulams/admin/course-builder/index.md): Turn the Course Builder on, give tutors access, set upload limits and AI budgets, read the cost log and run the queue and event stream. - [Demo mode](https://ulams-dev.github.io/ulams/admin/demo-mode/index.md): Turn a throwaway tenant into a public demo with password-less login and an hourly reset of all its data. - [Dictionaries](https://ulams-dev.github.io/ulams/admin/dictionaries/index.md): Build glossaries of words with descriptions, categories and videos in the admin panel, import them from CSV, and limit free views for visitors. - [Files](https://ulams-dev.github.io/ulams/admin/files/index.md): Browse, search, upload and delete files in the tenant's storage from the admin panel, and how upload folders and tutor access are organised. - [H5P libraries](https://ulams-dev.github.io/ulams/admin/h5p-libraries/index.md): Install, restrict and remove H5P content types for every academy from the platform, and seed sample H5P content with make h5p-seed. - [Learner Insights settings](https://ulams-dev.github.io/ulams/admin/learner-insights/index.md): Turn on learner insights for a tenant, tune the struggling and at-risk rules, choose privacy and retention settings and backfill existing data. - [Living Course settings](https://ulams-dev.github.io/ulams/admin/living-course/index.md): Enable source sync for the Course Builder, set the connectors, polling, webhooks and AI cost limits, give reviewers access, and run the queue, scheduler and backfill commands. - [LTI 1.3 integrations](https://ulams-dev.github.io/ulams/admin/lti/index.md): Register external LTI 1.3 tools that ulams launches in lessons, and LMS platforms such as Moodle that launch ulams courses. - [My profile](https://ulams-dev.github.io/ulams/admin/my-profile/index.md): Change your own name, avatar, extra profile fields, password and per-user settings from the My profile screen of the admin panel. - [Notifications](https://ulams-dev.github.io/ulams/admin/notifications/index.md): How ulams records in-app notifications for platform events, how to read them in the admin panel, and how to send bulk push messages to users. - [Other integrations](https://ulams-dev.github.io/ulams/admin/other-integrations/index.md): Connect ulams to MailerLite mailing groups and to Mattermost chat channels; both are configured through package settings and have no screens of their own. - [Pages](https://ulams-dev.github.io/ulams/admin/pages/index.md): Create and edit static pages such as terms of service or a privacy policy in the admin panel, and how frontends read them by slug. - [Policy lifecycle](https://ulams-dev.github.io/ulams/admin/policy-lifecycle/index.md): Turn a policy document into one cited course per department, approve changes that update the courses and retrain the people they affect, and follow who is assigned and which policy version their certificate certifies. - [Questionnaires](https://ulams-dev.github.io/ulams/admin/questionnaires/index.md): Build surveys with rating, text and review questions, attach them to courses, webinars or consultations and read the results. - [Report builder](https://ulams-dev.github.io/ulams/admin/report-builder/index.md): The datasets an administrator can build reports on, how a report definition asks for rows or groups, how small groups are withheld, how reports are saved, shared with roles, exported and scheduled, and where the BI feed is described. - [Reports and analytics](https://ulams-dev.github.io/ulams/admin/reports-and-analytics/index.md): The Analytics menu of the admin panel, covering the notification log, course and tutor report charts, and the reports API. - [Roles and permissions](https://ulams-dev.github.io/ulams/admin/roles-and-permissions/index.md): Create roles, choose their permissions in the admin panel, and understand how permissions decide which menu items and API calls a user gets. - [Sales](https://ulams-dev.github.io/ulams/admin/sales/index.md): Products, orders, payments and vouchers in the admin panel, the payment gateways, and how a paid order grants course access today. - [Settings](https://ulams-dev.github.io/ulams/admin/settings/index.md): Edit tenant settings in the admin panel, from global keys and the learner theme and accent to package configuration, and how each kind is stored. - [Stationary events](https://ulams-dev.github.io/ulams/admin/stationary-events/index.md): Publish in-person events with a place, dates, participant limit and program, assign authors, and sell seats as a product. - [Tasks](https://ulams-dev.github.io/ulams/admin/tasks/index.md): Create to-do tasks for users, link them to a course, lesson or topic, track completion and send overdue reminders. - [Teacher and competency challenges](https://ulams-dev.github.io/ulams/admin/teacher-and-competencies/index.md): Admin screens for teacher subjects and competency challenges that are still in the panel but have no backend in this repository. - [Templates](https://ulams-dev.github.io/ulams/admin/templates/index.md): Edit the email, PDF and SMS templates that ulams sends when an event happens, use variables, preview them and choose which template is used. - [Tenants](https://ulams-dev.github.io/ulams/admin/tenants/index.md): Create, list, update and delete tenants with the ulams:tenant commands, each with its own database, bucket, keys and theme. - [Translations](https://ulams-dev.github.io/ulams/admin/translations/index.md): Override the API's and frontends' texts per language with database translations, and change the labels of the admin panel itself. - [Course tutor settings](https://ulams-dev.github.io/ulams/admin/tutor/index.md): Switch on the course tutor, set its daily and monthly limits, choose the model profile and see what learners and authors can and cannot see. - [User groups](https://ulams-dev.github.io/ulams/admin/user-groups/index.md): Create nested user groups, let learners join registerable groups at sign-up, and add or remove group members in the admin panel. - [Users](https://ulams-dev.github.io/ulams/admin/users/index.md): Find, create, edit and delete user accounts in the admin panel, import and export them as CSV, and add extra fields to the user model. - [Webinars](https://ulams-dev.github.io/ulams/admin/webinars/index.md): Schedule live webinars with trainers, run them in Jitsi or JaaS rooms, optionally stream to YouTube, and sell access as a product. ## Developers - [Developers](https://ulams-dev.github.io/ulams/developers/index.md): Developer documentation for ulams, covering architecture, the API packages, tenancy, auth, the reference frontend, local setup, testing and contribution guides. - [Adding a web page](https://ulams-dev.github.io/ulams/developers/adding-a-web-page/index.md): Add a learner page to the ulams reference frontend, with SDK data, catalogue components, a new component when needed, and accessibility tests. - [Adding an admin screen](https://ulams-dev.github.io/ulams/developers/adding-an-admin-screen/index.md): Add a screen to the ulams admin panel with a route, an access rule, a page, an API service and menu translations, using the LTI screen as the example. - [Adding an endpoint](https://ulams-dev.github.io/ulams/developers/adding-an-endpoint/index.md): Add an API endpoint the ulams way, with a package route, Swagger interface, FormRequest and policy, resource, service, permission seeder and tests. - [ulams for AI agents (MCP)](https://ulams-dev.github.io/ulams/developers/agents/index.md): Expose a ulams instance to Claude Code, Claude Desktop and other MCP clients with ulams mcp, with toolsets, read-only mode and confirmation of destructive tools. - [API browser](https://ulams-dev.github.io/ulams/developers/api-browser/index.md): Browse and try every ulams REST endpoint, grouped by area, with request and response examples, search and a server picker. - [API packages](https://ulams-dev.github.io/ulams/developers/api-packages/index.md): Every package in api/packages, grouped by domain, with what it does, who uses it, its main models and its admin screen. - [API reference](https://ulams-dev.github.io/ulams/developers/api-reference/index.md): Where to find the ulams REST API reference (Swagger UI, the generated spec, SDK types, the endpoint index) and why the docs site does not embed the spec. - [Architecture](https://ulams-dev.github.io/ulams/developers/architecture/index.md): The services that make up a ulams deployment, how Caddy routes each host, and where requests go from the browser to the database. - [Authentication](https://ulams-dev.github.io/ulams/developers/authentication/index.md): How ulams issues and refreshes Passport tokens, how roles and permissions apply, and how each frontend, the demo mode and LTI launches keep a session. - [Continuous integration](https://ulams-dev.github.io/ulams/developers/ci/index.md): The GitHub Actions workflows of ulams, what each one runs, when it runs, how it caches and which check guards pull requests. - [Use ulams from Claude Code](https://ulams-dev.github.io/ulams/developers/claude-code/index.md): Install the ulams CLI from the repository, log in to an instance and add ulams mcp to Claude Code and Claude Desktop so agents can build and manage courses. - [Build courses from the command line](https://ulams-dev.github.io/ulams/developers/cli-builder/index.md): Drive the AI Course Builder and Living Course with ulams commands or MCP tools: start from a file or URL, answer the interview, approve the outline, generate, apply, publish, chat with one element, undo, stream events and review source updates. - [Course folders from the command line](https://ulams-dev.github.io/ulams/developers/cli-course/index.md): Keep a course in Git and sync it with an academy: ulams course init, pull, push, diff, status, apply, publish, resolve and absorb-drift (proposed versions, a person approves, three-way merge with conflict files, reading admin edits back, exit codes, JSON for agents), plus offline validate and fmt with SARIF for GitHub code scanning. - [The ulams CLI](https://ulams-dev.github.io/ulams/developers/cli/index.md): Install the ulams command line tool, log in to an instance, understand its JSON output and exit codes, and call any API endpoint from scripts and agents. - [Coding standards](https://ulams-dev.github.io/ulams/developers/coding-standards/index.md): The linters, formatters, hooks, styling rules, blocked imports and commit conventions that ulams code follows, and which of them are enforced where. - [The Sylius commerce service](https://ulams-dev.github.io/ulams/developers/commerce-sylius/index.md): The headless Sylius 2.3 service behind the commerce package. How the catalogue is kept in step with LMS prices, how orders are read back, the ulams bridge bundle, the commerce compose profile, the nightly drift check and sweep, and what is verified only against a real Sylius. - [Container images](https://ulams-dev.github.io/ulams/developers/container-images/index.md): The seven ulams container images on GHCR, how each Dockerfile builds them, their tags, platforms, licences and runtime configuration. - [Course Builder API](https://ulams-dev.github.io/ulams/developers/course-builder-api/index.md): Every endpoint under /api/admin/course-builder, the AI-free course-as-code endpoints (export and import a blueprint) course releases (the versions learners got) and the comparison of any two versions, the run and AG-UI event model, how to read the event stream with curl, the actions you can send to a run, and what happens at the cost limits. - [Course folder format](https://ulams-dev.github.io/ulams/developers/course-folder-format/index.md): The Markdown and YAML format of a course in Git: folder layout, lesson files with block directives, quiz files, ids and ordering, how it maps to Blueprint v3 and round-trips, the JSON Schemas for editors, and every validation issue code. - [Course variants API](https://ulams-dev.github.io/ulams/developers/course-variants-api/index.md): The endpoints that route learners between the variants of one course, the picker data, the learner's own variant and the choice to change it, the optional placement check, hints to switch, admin assignment and assignment rules, and how one entitlement covers the whole family. - [Debugging](https://ulams-dev.github.io/ulams/developers/debugging/index.md): Where each ulams service logs, and which debugging tools the local stack has, from Laravel logs and Horizon to MailHog, Adminer and Sentry. - [Entitlements and order events](https://ulams-dev.github.io/ulams/developers/entitlements-and-order-events/index.md): How a verified, idempotent order event from the commerce provider becomes (or removes) access to a course. Covers the entitlement model, the signed webhook, replay and duplicate handling, refunds, reconciliation and what is still missing. - [Generative UI](https://ulams-dev.github.io/ulams/developers/generative-ui/index.md): Page documents rendered by @ulams/ui today (A2UI-shaped trees, bindings, validation, fallbacks) and the AG-UI streaming from the Course Builder. - [The interactive bridge](https://ulams-dev.github.io/ulams/developers/interactive-bridge/index.md): The ulams-ix v1 postMessage protocol between a lesson page and an interactive package, its JSON Schemas, the origin and nonce checks and the MIT library that implements both ends. - [Knowledge export](https://ulams-dev.github.io/ulams/developers/knowledge-export/index.md): Export a course, or every published course of an academy, as a pack of cited chunks for retrieval in company agents. Covers the file format, how citations are decided, the API and CLI, automatic re-export and the webhook. - [The landing feature index](https://ulams-dev.github.io/ulams/developers/landing-feature-index/index.md): How the collapsed "everything it does" list on the platform landing is built, how to add a feature to it, and the test that keeps it in step with the packages. - [Learner Insights and tutor evals](https://ulams-dev.github.io/ulams/developers/learner-evals/index.md): Run the remediation and tutor eval commands on golden fixtures, on the fake driver for free or on the real model within a monthly cap, and read the reports, checks and thresholds. - [Legacy learner app](https://ulams-dev.github.io/ulams/developers/legacy-front/index.md): The React learner app inherited from EscolaLMS (front/src), the shared libraries in front/src/lib that the admin also uses, and its status next to front/web. - [Living Course internals](https://ulams-dev.github.io/ulams/developers/living-course/index.md): How source revisions, deterministic change detection, impact analysis, update proposals, learner progress rules and the audit trail fit together, with the endpoints, events and connector contract. - [LLM layer and Course Builder](https://ulams-dev.github.io/ulams/developers/llm-layer/index.md): How the ai and course-builder packages work, the AG-UI event stream, the builder UI catalogue, how to add a pipeline step and how to run the eval command. - [Local development](https://ulams-dev.github.io/ulams/developers/local-development/index.md): Run the whole ulams stack on your machine, from the Docker API stack and demo tenants to the admin, learner frontends and this site. - [Machine-readable docs and schemas](https://ulams-dev.github.io/ulams/developers/machine-readable/index.md): What the docs site publishes for AI agents and tools - llms.txt, a Markdown version of every page, the OpenAPI document and the public JSON Schemas for the course blueprint, webhook events and the UI catalogue. - [Monorepo layout](https://ulams-dev.github.io/ulams/developers/monorepo/index.md): How the ulams repository is organised, which Yarn workspaces exist, what Turborepo runs and where shared code lives. - [OpenAPI and the SDK](https://ulams-dev.github.io/ulams/developers/openapi-and-sdk/index.md): How the API's OpenAPI document is built from Swagger annotations in the packages, and how @ulams/sdk regenerates its typed paths from it. - [Outgoing webhooks](https://ulams-dev.github.io/ulams/developers/outgoing-webhooks/index.md): Send signed, versioned event payloads from an academy to your own URLs. Covers endpoints, the event types, the HMAC signature and how to verify it, retries and backoff, the delivery log, test sends, replays and the SSRF rules for target URLs. - [Performance](https://ulams-dev.github.io/ulams/developers/performance/index.md): What ulams measures and does for performance today, from the reference frontend budget and caches to queues, HLS video and PHP settings. - [Rate limits](https://ulams-dev.github.io/ulams/developers/rate-limits/index.md): Every throttle the API registers (device login, tokens, platform API, per-token limits, webhooks, public endpoints), the environment variables that tune them, and what a 429 looks like. - [Reference frontend](https://ulams-dev.github.io/ulams/developers/reference-frontend/index.md): How front/web works (Astro SSR, tenant resolution, BFF, H5P proxy, LTI landing) and how to use @ulams/sdk and @ulams/ui in your own frontend. - [SCIM 2.0 API](https://ulams-dev.github.io/ulams/developers/scim-api/index.md): The SCIM 2.0 server of a tenant for developers of provisioning clients - base URL and authentication, discovery documents, Users and Groups, filters, PATCH, pagination, ETag and If-Match, the error format with scimType, and what is deliberately not supported. - [Scoped API tokens](https://ulams-dev.github.io/ulams/developers/scoped-tokens/index.md): Scopes, token endpoints, the agent audit log, Idempotency-Key, X-Request-Id and GET /api/meta, the server side of the ulams CLI. - [SDK usage](https://ulams-dev.github.io/ulams/developers/sdk/index.md): Working examples for @ulams/sdk on a server (Node with a scoped token) and in the browser, pagination, error handling, idempotent writes and the error codes the API returns. - [Tenancy](https://ulams-dev.github.io/ulams/developers/tenancy/index.md): How one API deployment serves many tenants with separate databases, buckets, keys and Redis prefixes, and what that means for your code and tests. - [Testing](https://ulams-dev.github.io/ulams/developers/testing/index.md): How ulams is tested, from PHPUnit suites per package and JS unit tests to Playwright, axe, visual regression, H5P integration and tenant isolation. - [Webhooks](https://ulams-dev.github.io/ulams/developers/webhooks/index.md): The inbound webhooks the API accepts (Living Course Git pushes, Stripe, Jitsi recordings), how each one is authenticated, their status codes, and a pointer to the outgoing webhooks. ## Extending ulams - [Extending ulams](https://ulams-dev.github.io/ulams/extending/index.md): What you can extend in ulams today (API packages, topic types, UI components, templates, payment drivers, events, LTI, H5P) and what is still planned. - [Events and listeners](https://ulams-dev.github.io/ulams/extending/events-and-listeners/index.md): React to ulams domain events from your own package with Event::listen, what the wildcard listeners do, and the state of outgoing webhooks. - [H5P content types](https://ulams-dev.github.io/ulams/extending/h5p-content-types/index.md): Install and restrict H5P content types in the isolated H5P service, through the Hub, uploads or the seed CLI, and the GPL rules that keep it separate. - [LTI tools](https://ulams-dev.github.io/ulams/extending/lti-tools/index.md): LTI 1.3 as an integration path, with ulams as a platform that launches external tools and as a tool that Moodle or Canvas launch, including the supported services. - [A new API package](https://ulams-dev.github.io/ulams/extending/new-package/index.md): Build a ulams API module as a package in api/packages, walking through the example-plugin package from provider and settings to the tenant isolation test. - [A new topic type](https://ulams-dev.github.io/ulams/extending/new-topic-type/index.md): Add a kind of lesson content end to end, from the content model and resources in the API to the admin form and rendering in the reference frontend. - [Payment drivers](https://ulams-dev.github.io/ulams/extending/payment-drivers/index.md): How the payments package implements gateways (Free, Stripe, Przelewy24, RevenueCat), its settings and webhooks, and what adding another provider takes today. - [Templates and channels](https://ulams-dev.github.io/ulams/extending/templates-and-channels/index.md): How notification templates bind an event, a channel and a variables class, and how to add a template type for your own event or a new delivery channel. - [A UI catalogue component](https://ulams-dev.github.io/ulams/extending/ui-components/index.md): Add a component to the @ulams/ui catalogue, with its JSON schema in the registry, the Astro component, a plain-text fallback and the tests that check them. - [Embeddable web components](https://ulams-dev.github.io/ulams/extending/web-components/index.md): The learner widgets of @ulams/ui as framework-free custom elements (catalogue, my courses, continue), with their attributes, how they authenticate and how to embed them on another site. ## Operators - [Operators](https://ulams-dev.github.io/ulams/operators/index.md): Run ulams in production - requirements, a single-server install from the published images, TLS, tenants, backups, upgrades and high availability. - [Accessibility and the European Accessibility Act](https://ulams-dev.github.io/ulams/operators/accessibility/index.md): The accessibility target of the learner site (WCAG 2.2 AA, EN 301 549 clause 9), what is tested automatically and by hand, the known limitations and how an operator fills in the per-tenant accessibility statement. - [Authoring metrics](https://ulams-dev.github.io/ulams/operators/authoring-metrics/index.md): How the platform records the time every Course Builder stage takes, how long the figures are kept, and how to rebuild them for builds that ran before they were recorded. - [Backups and restore](https://ulams-dev.github.io/ulams/operators/backups/index.md): What to back up in a multi-tenant ulams installation - secrets, the platform and per-tenant databases, buckets and volumes - and how to restore them. - [Landing contact form](https://ulams-dev.github.io/ulams/operators/contact-form/index.md): How the ULAMS public contact form sends enquiries to the private inbox. - [Content origin](https://ulams-dev.github.io/ulams/operators/content-origin/index.md): Why SCORM, cmi5, Adapt, LiaScript and Interactive packages are served from a per-tenant content origin, the separate-domain and same-site modes, and how to configure it in production. - [DNS and TLS](https://ulams-dev.github.io/ulams/operators/dns-and-tls/index.md): Host names, wildcard DNS and certificates for a multi-tenant ulams - on-demand TLS with a tenant check, or wildcard certificates through a DNS challenge. - [Learner Insights data flows and DPIA](https://ulams-dev.github.io/ulams/operators/dpia-learner-insights/index.md): What Learner Insights stores, what may reach an AI provider, how long it is kept, and a data protection impact assessment template for tenants that switch it on. - [E-mail](https://ulams-dev.github.io/ulams/operators/email/index.md): Outgoing e-mail for ulams - SMTP settings, the MJML rendering service, per-tenant sender addresses and what to check with SPF and DKIM. - [Environment](https://ulams-dev.github.io/ulams/operators/environment/index.md): How configuration reaches each ulams container - LARAVEL_ variables, tenant env files, service variables - and the main categories to set in production. - [First admin and first tenant](https://ulams-dev.github.io/ulams/operators/first-tenant/index.md): How the first platform administrator is created, how to provision a tenant with ulams:tenant:create in production, and what its initial accounts are. - [H5P service in production](https://ulams-dev.github.io/ulams/operators/h5p/index.md): Run the isolated H5P service with a least-privilege config directory - exporting per-tenant settings, the production mounts, new tenants, connections, libraries and learner sessions. - [Hardening and supply chain](https://ulams-dev.github.io/ulams/operators/hardening/index.md): Verify the signature and SBOM of ulams images with cosign, pin by digest, how images are scanned for vulnerabilities, the patch policy and a hardening checklist for TLS, secrets, network exposure, least privilege and backups. - [High availability](https://ulams-dev.github.io/ulams/operators/high-availability/index.md): Which ulams components are stateless and which hold state, a reference topology without single points of failure, and the limits of the current runtime. - [Image service](https://ulams-dev.github.io/ulams/operators/image-service/index.md): Choose how ulams resizes images - Cloudflare Image Transformations, Astro's sharp, the originals, or the optional PHP resize API - per deployment, with the settings, the free-plan budget, the kill switch and the optional WAF rule. - [Admin and front images](https://ulams-dev.github.io/ulams/operators/images/index.md): How to run the admin and legacy front container images - port, user, runtime settings in runtime-config.json, health check and what the reverse proxy must add. - [Install on MyDevil (shared hosting)](https://ulams-dev.github.io/ulams/operators/install-mydevil/index.md): Run the ulams API on a MyDevil.net shared hosting account with PostgreSQL and cron, with the front, DNS, TLS and storage on Cloudflare - what works, what does not, the limits, the costs and when to move to a VPS. - [Default language](https://ulams-dev.github.io/ulams/operators/language/index.md): Choosing the interface language of an academy - the tenant default language setting, which learner pages follow the course and which follow the default, and what is translated into Polish and Chinese. - [Licensing for operators](https://ulams-dev.github.io/ulams/operators/licensing/index.md): Licences of the ulams images and infrastructure an operator runs or redistributes - the GPL H5P image and its source offer, ffmpeg and SeaweedFS. - [Migrate from Wellms](https://ulams-dev.github.io/ulams/operators/migrate-from-wellms/index.md): Moving a Wellms (EscolaLMS) installation to ulams - what changed, two migration paths, custom package changes, removed features and a verification checklist. - [Monitoring and logs](https://ulams-dev.github.io/ulams/operators/monitoring/index.md): Liveness and readiness probes, Prometheus metrics for the API, queues, Caddy, H5P and PDF, JSON logs with a request id, Horizon, and Sentry error tracking. - [One-command Docker and Kubernetes](https://ulams-dev.github.io/ulams/operators/one-command-stack/index.md): Launch a complete ULAMS academy locally or on a server with the CLI, Docker Compose or Kubernetes. Includes Phase 2 trial mode, TLS, credentials and persistent storage. - [Platform tenant API](https://ulams-dev.github.io/ulams/operators/platform-api/index.md): Create, inspect and delete tenants over HTTP or with ulams tenants: off by default, platform hosts only, platform administrators only, queued operations with progress. - [Public-site analytics](https://ulams-dev.github.io/ulams/operators/public-analytics/index.md): Umami pageviews, CTA events and developer exclusions on ULAMS-owned public sites. - [Queues and the scheduler](https://ulams-dev.github.io/ulams/operators/queues-and-scheduler/index.md): The queue connections for long jobs (builder and long-job, with retry_after), how the queue workers and the scheduler loop run per tenant, the environment variables that control them and the per-minute scheduler lock. - [Requirements](https://ulams-dev.github.io/ulams/operators/requirements/index.md): What a ulams server needs - CPU, memory and disk estimates, operating system, Docker, network ports, outbound access and DNS records. - [SCIM provisioning](https://ulams-dev.github.io/ulams/operators/scim/index.md): Let Microsoft Entra ID, Okta or another identity provider create, update and deactivate the accounts and groups of a tenant with SCIM 2.0 - tokens and rotation, what is mapped, groups and the roles they can grant, how deprovisioning works and what is kept, recipes for Entra ID, Okta and Keycloak, limits, security notes and how to check conformance. - [Security headers and the CSP](https://ulams-dev.github.io/ulams/operators/security-headers/index.md): The Content Security Policy of the learner front, the admin and the content origins, how violations are reported and collected, and how to switch from report-only to enforced. - [Security](https://ulams-dev.github.io/ulams/operators/security/index.md): Security notes for running ulams - untrusted uploads, content and H5P isolation, SVG handling, CSP headers, tenant isolation, secrets and network exposure. - [Self-hosting on one server](https://ulams-dev.github.io/ulams/operators/self-hosting/index.md): Install ulams on a single server with the published GHCR images, Docker Compose and Caddy, from DNS and secrets to the first health check. - [Single sign-on (SAML 2.0)](https://ulams-dev.github.io/ulams/operators/single-sign-on-saml/index.md): Connect a tenant to its identity provider with SAML 2.0 - Keycloak, Microsoft Entra ID and Okta recipes, the service provider metadata and keys, metadata refresh and certificate rotation, signed and encrypted assertions, SHA-1 policy, single logout and what each error means. - [Single sign-on (OpenID Connect)](https://ulams-dev.github.io/ulams/operators/single-sign-on/index.md): Connect a tenant to its identity provider with OpenID Connect - Keycloak, Microsoft Entra ID, Okta and Google examples, the settings of a provider, who gets an account, how existing accounts are linked, the audit trail and what each error means. - [Social login](https://ulams-dev.github.io/ulams/operators/social-login/index.md): Switching on sign-in with Google and Facebook for a tenant - provider credentials, redirect URIs, allowed return origins, linking rules for existing accounts, and what each error means. - [Object storage](https://ulams-dev.github.io/ulams/operators/storage/index.md): S3-compatible storage for ulams - SeaweedFS by default, any S3 service works, one bucket and one key per tenant, the variables for the API and the H5P service, public URLs, and moving data over from MinIO. - [Theme and logo](https://ulams-dev.github.io/ulams/operators/theme/index.md): Choosing the look of an academy in the admin - the preset, an accent colour checked against WCAG 2.2 AA, the logo (PNG or SVG, at most 200 KB) with its alt text, and importing brand colours as a diff you approve. - [Upgrades](https://ulams-dev.github.io/ulams/operators/upgrades/index.md): Upgrading ulams - image tags, what runs on start, migrations for the platform and every tenant, the H5P schema, rollback and infrastructure upgrades. - [Install on a VPS with Cloudflare](https://ulams-dev.github.io/ulams/operators/vps-cloudflare/index.md): Production install of ulams on one VPS behind Cloudflare - tunnel, DNS and TLS, R2 storage, cache rules, e-mail, first tenant, backups, upgrades, monitoring, hardening and troubleshooting - with the costs. ## Contributing - [Contributing](https://ulams-dev.github.io/ulams/contributing/index.md): How to take part in ulams, from reporting a bug to merging a pull request, with the rules for decisions, documentation and security reports. - [Brand](https://ulams-dev.github.io/ulams/contributing/brand/index.md): The ulams brand identity, Orbital Folio: concept, logo variants with downloads, clear space, minimum sizes, colours and contrast rules, do and don't, and how the assets are built and used in code. - [Code of conduct](https://ulams-dev.github.io/ulams/contributing/code-of-conduct/index.md): The Contributor Covenant 2.1 code of conduct that applies to everyone taking part in the ulams project. - [Contributing guide](https://ulams-dev.github.io/ulams/contributing/contributing-guide/index.md): How to contribute to ulams: issues, pull requests, branches, commits, tests, docs, decisions and the licence of contributions. - [Decisions and documentation](https://ulams-dev.github.io/ulams/contributing/decisions-and-documentation/index.md): When a change needs an architecture decision record, the MADR template used in ulams, how ADRs are approved, and why docs ship with the code. - [Security policy](https://ulams-dev.github.io/ulams/contributing/security-policy/index.md): How to report a security vulnerability in ulams privately, what to include, and how disclosure works. - [Translating the interface](https://ulams-dev.github.io/ulams/contributing/translating/index.md): Where the interface strings of the learner pages live, how the Polish and Chinese tables are kept in step with English, how to add or fix a translation, and the checks that fail when a key or placeholder is missing. - [Writing docs](https://ulams-dev.github.io/ulams/contributing/writing-docs/index.md): How the ulams documentation site works, how to add a page, what the coverage check enforces, and which pages are generated from the repository. ## Roadmap - [Roadmap](https://ulams-dev.github.io/ulams/roadmap/index.md): Progress of the ulams roadmap: phases, done and open items, decisions made and open decisions (docs/ROADMAP-TODO.md). ## Optional - [Reference (generated from the code)](https://ulams-dev.github.io/ulams/reference/index.md): 191 pages - [Architecture decision records](https://ulams-dev.github.io/ulams/decisions/index.md): 187 pages - [UI component catalogue](https://ulams-dev.github.io/ulams/catalogue/index.md): 66 pages