MDMA
Transforms Markdown into interactive applications with embedded forms, approvals, webhooks, and dynamic UI components.
MDMA revolutionizes AI conversations by transforming plain text responses into actionable, interactive documents. It extends standard Markdown with embedded, structured UI components like forms, tables, approval gates, and webhooks, defined within fenced `mdma` code blocks. This enables Large Language Models (LLMs) to generate dynamic, validated user interfaces directly in their responses, eliminating the need for custom UI development or complex text parsing, and allowing users to interact with AI output in a structured, predictable manner.
Key Features
01Extends Markdown with 9 built-in interactive components including forms, tables, approval gates, and webhooks.
02Enables AI agents to generate structured, actionable UI components directly from an LLM-compatible specification.
03Provides a headless state management engine for reactive MDMA documents, handling bindings and events.
04Includes a React renderer for out-of-the-box display and customization of all MDMA component types.
05Offers CLI tools for interactive prompt building and static document validation with lint rules.
069 GitHub stars
Use Cases
01Streamlining AI conversations by enabling users to complete forms, approve steps, or review data directly within the chat interface.
02Developing interactive AI applications where LLMs generate dynamic UIs for user interaction.
03Automating workflows like bug reporting, patient intake, or HR onboarding with structured, AI-generated components.