# Introducing Interactive Content XBlock (ICXBlock): Track and Grade LLM-Generated Interactive Content

**URL:** <https://discuss.openedx.org/t/introducing-interactive-content-xblock-icxblock-track-and-grade-llm-generated-interactive-content/18753>\
**Category:** Show & Tell\
**Tags:** xblock\
**Created:** [April 8, 2026, 4:03pm UTC](https://discuss.openedx.org/t/introducing-interactive-content-xblock-icxblock-track-and-grade-llm-generated-interactive-content/18753 "2026-04-08T16:03:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nadheemabdulla](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/nadheemabdulla/32/8233_2.png) [@nadheemabdulla](https://discuss.openedx.org/u/nadheemabdulla)\
**Post date:** [April 8, 2026, 4:03pm UTC](https://discuss.openedx.org/t/introducing-interactive-content-xblock-icxblock-track-and-grade-llm-generated-interactive-content/18753/1 "2026-04-08T16:03:33Z")

</div>

Hi everyone!

Sharing something we’ve built over the last week: an open-source **Interactive Content XBlock** for Open edX platform.

* * *

## Why We Built This

Many of us have been prompting Claude or ChatGPT to generate simulations and interactive content, then copy-pasting the output into Open edX. It works – but there are real limitations: learner interaction isn’t tracked, grading doesn’t carry through, and the output is often inconsistent.

So we built a solution and open-sourced it for the community.

* * *

## What It Does

The **Interactive Content XBlock** (ICXBlock) lets course authors define custom HTML, CSS, and JavaScript content directly in Studio. It then automatically captures learner interactions for grading, analytics, and state restoration.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/a/a6526185b2ff16b5cb27085269946ac680213071.png)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/6/657e6cb6113b1c791822f881b424bbc407440f7e.png)

**Key features:**

| **Feature** | **Description** |
| --- | --- |
| Custom HTML/CSS/JS | Full creative control in Studio |
| Interaction Tracking | Captures learner actions via a simple `submitInteraction(data)`API |
| Auto-Grading | Via author JavaScript or server-side answer matching |
| Completion Tracking | Emits completion events on submission |
| Feedback Display | Configurable correct/incorrect messages |
| Previous Response | Optionally restores a learner’s last submission |
| Test Grading Panel | Verify grading config before publishing |
| Debug Mode | Staff-only state panel |
| Masquerade Support | View individual student state via Open edX’s native feature |

* * *

## How to Create Content With It

Just prompt any LLM to create HTML/CSS/JS and paste the output into the XBlock fields.

We’ve also built a dedicated tool to make this even easier — add your own Gemini API key and prompt directly to generate simulations, roleplays, or interactive quizzes. The tool runs entirely in your browser, so your API keys never leave your device.

> **[Interactive XBlock Content Generator | Blend-ed](https://www.blend-ed.com/interactive-xblock)**
>
> Generate interactive XBlock content for Open edX using AI. Compose, review, and export interactive learning components.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/8/8902a2b06fc4951ae41bfb4c07c31da143b62948.png)

**Installation & configuration:** [GitHub - blend-ed/interactive-content-xblock: An XBlock that allows you to create interactive contents in your course along with grading and tracking learner inputs · GitHub](https://github.com/blend-ed/interactive-content-xblock)

* * *

## What’s Next

We’ve already integrated ICXBlock into **[Open edX AI Course Creator](https://www.blend-ed.com/openedx-ai-plugin)** –so courses generated directly in your Open edX Studio will now include interactive components out of the box.

* * *

Try it on your instance and share your feedback - we’ll keep improving the plugin.

I’ll be posting a demo video in the comments in a few days walking through how everything works.

If you’d like us to handle the setup for you, book a call at \*\* [Book a Demo | See Blend-ed Agentic AI LMS in Action](http://blend-ed.com/book-a-demo) \*\*

A big thank you to the [Blend-ed team](https://blend-ed.com/), and especially @zameel7 , Product Lead, for driving this from concept to release. 🙌
