Executable Code
mdxai
AI agent framework for MDX documents
mdxai
Build AI agents and workflows powered by MDX documents.
What is mdxai?
mdxai connects MDX documents to AI systems, enabling:
- AI-Powered Content - Generate and transform MDX with LLMs
- Agent Workflows - Define agentic behaviors in MDX
- Voice Interfaces - Voice-enabled documentation
- Multi-Model Support - Claude, GPT, and more
Features
- Semantic Context - MDXLD types inform AI understanding
- Tool Integration - Define AI tools in MDX
- Streaming - Real-time content generation
- Validation - Type-safe AI outputs
Integrations
| Package | Platform | Description |
|---|---|---|
| @mdxai/claude | Anthropic | Claude AI integration |
| @mdxai/mastra | Mastra | AI workflow framework |
| @mdxai/vapi | Vapi | Voice AI assistants |
Installation
Or install specific integrations:
Quick Example
Architecture
Use Cases
Content Generation
Document Transformation
Voice Documentation
Next Steps
- Getting Started - Set up mdxai
- Claude Integration - Use Claude for generation
- Voice Agents - Build voice interfaces