Welcome to the official examples repository for Motia - a modern backend framework for building event-driven applications with built-in observability and state management.
✨ Newly Reorganized: 60+ examples now organized into 8 logical categories from beginner to expert level. Browse the organized catalog →
For detailed tutorials and guided walkthroughs of these examples, visit our comprehensive documentation:
- Examples Documentation - Step-by-step guides with code explanations
- Getting Started - Quick start guide for Motia
- Core Concepts - Understanding Steps, Events, and Flows
We've organized 60+ examples into 8 logical categories based on complexity and use case.
| Category | Level | Examples | Description |
|---|---|---|---|
| 🚀 Getting Started | Beginner | 5 | Core Motia concepts - API steps, events, middleware, queues, real-time |
| 🔧 Foundational | Intermediate | 10 | Common patterns - APIs, workflows, automation, infrastructure |
| 🤖 AI Agents | Int-Expert | 20 | Chat agents, specialized agents, multi-agent systems |
| 📚 RAG & Search | Advanced | 9 | Vector databases, embeddings, knowledge bases |
| 🔌 Integrations | Intermediate | 9 | GitHub, Stripe, Gmail, social media platforms |
| 📊 Monitoring | Intermediate | 3 | Cron-based monitoring and intelligent alerts |
| 📧 Marketing | Int-Advanced | 3 | Email campaigns, content automation |
| 🚀 Advanced | Expert | 7 | Production-ready systems, computer vision, e-commerce automation |
View full catalog with descriptions →
An advanced AI chess battleground where language models compete in real-time, evaluated by Stockfish for move-by-move quality analysis.
Key Features:
- Multi-LLM Competition: Multiple AI models compete simultaneously with live leaderboards
- Move-by-Move Evaluation: Stockfish engine analyzes every move for quality scoring
- Real-Time Streaming: Live game updates using Motia Streams architecture
- Advanced Analytics: Comprehensive statistics tracking blunders, accuracy, and insights
- Production Scalability: Built for high-throughput concurrent games
Evaluation System:
- Every move scored against Stockfish recommendations
- Centipawn loss tracking for precise skill measurement
- Blunder detection (>100 centipawn swings)
- Quality-based leaderboards over simple win/loss ratios
Technologies: TypeScript, Python, Stockfish Engine, OpenAI, Motia Streams
🎯 Live Platform: ChessArena.ai
A real-time GitHub stars counter showcasing production-ready deployment capabilities - this exact implementation powers the live star count on the Motia website!
Key Features:
- Real-Time Updates: Instant star count updates across all connected clients using Motia Streams
- Production Security: GitHub webhook signature verification and request validation
- One-Click Deployment: Deploy instantly to Motia Cloud with built-in monitoring
- Type-Safe Development: Full TypeScript support with auto-generated types
- Minimal Code: Built with just 2 simple steps - webhook handler and real-time stream
Technologies: TypeScript, GitHub Webhooks, Motia Streams
🚀 Live Demo: See it running on Motia.dev
Both examples demonstrate Motia's power for building production-ready, real-time applications that scale in the cloud with minimal infrastructure complexity.
Generate complete full-stack applications using 7 specialized AI agents working together.
Key Features:
- Architect, Engineer, Test Designer, and Code Refiner agents
- Produces production-ready code with tests
- Download complete applications
- Real-time progress streaming
Complete payment processing implementation with webhook security.
Key Features:
- Payment intent creation and management
- Webhook signature verification
- Comprehensive error handling
- Production-ready flow
Full-featured email marketing platform with segmentation and analytics.
Key Features:
- Campaign management with drip sequences
- Advanced audience segmentation
- A/B testing capabilities
- Analytics and reporting
🚀 Getting Started - Begin Here
Perfect for newcomers to Motia. Learn core concepts:
- Middleware Authentication - Auth patterns
- Queue Management - Background jobs
- Real-time Todo App - SSE streaming
- Ollama Chat - Local AI integration
🤖 AI Agents - Build Intelligent Apps
Chat Agents - Conversational AI
- Streaming chatbots with real-time responses
- Memory and conversation history
- Multi-modal capabilities
Specialized Agents - Domain-specific AI
- Sales intelligence and lead scoring
- ReAct pattern with tool integration
- Code review and analysis
- Research automation
- Content moderation
- Financial analysis
Multi-Agent Systems - Complex orchestration
- AI App Generator - 7 agents building apps
- SmartTravel - Travel planning
- AI Hedge Fund - Financial analysis
📚 RAG & Search - Knowledge Bases
- Local RAG with ChromaDB and Ollama
- Cloud RAG with Weaviate
- Documentation search
- Property search with semantic understanding
- Documentation Q&A systems
- Research assistants
🔌 Integrations - Connect Services
- GitHub - CI/CD, webhooks, automation
- Payment - Stripe integration
- Communication - Gmail, Trello
- Social Media - Engagement automation
🔧 Foundational - Real-World Patterns
- API Patterns - Complete todo app demo, file processing, analysis
- Automation - Content workflows
- Infrastructure - Docker, monitoring
🚀 Advanced Use Cases - Production Systems
Complex, production-ready implementations:
- AI Room Renovate - Computer vision + AI design
- Competitor Price Scraper - Web scraping at scale
- Meeting Transcription - Audio processing pipeline
- ShopFlow (Shopify + WhatsApp) - Conversational commerce support automation
Below are additional examples from our collection. For the complete organized catalog with descriptions and learning paths, visit examples/.
💡 Tip: All examples below are now organized into categories. Use the full catalog to browse by difficulty level and use case.
An intelligent research assistant implementing the ReAct (Reason + Act) pattern to answer complex, multi-hop questions with adaptive tool usage.
Key Features:
- ReAct Pattern: Reasons about information needs, acts with tools, observes results, iterates
- Multi-Tool Integration: Web search (Tavily), financial data (Alpha Vantage), custom APIs
- Adaptive Loop: LLM orchestrates tool selection and reasoning iterations
- Production Ready: Built-in error handling, retries, and comprehensive logging
Technologies: TypeScript, Anthropic Claude / Google Gemini, Tavily, Alpha Vantage
AI-powered sales prospect research and scoring platform that automates lead qualification at scale.
Key Features:
- CSV Upload: Batch process prospect lists automatically
- AI Fit Scoring: Gemini 3 Pro or Claude Opus 4.5 generates 0-100 fit scores
- Email Drafts: AI-generated personalized outreach emails
- Signal Collection: 15+ data points via NewsAPI
- Slack Alerts: Real-time notifications for high-scoring prospects
- AI Assistant: Natural language queries like "Who should I call this week?"
- Multi-Flow Architecture: Upload, Research, and Assistant flows
- CopilotKit Integration: Conversational AI interface
Technologies: TypeScript, Gemini 3 Pro / Claude Opus 4.5, NewsAPI, Slack, React, CopilotKit
A planning agent that uses the Planning Architecture to decompose tasks into subtasks and execute them with AI-powered planning, intelligent failure handling, and human-in-the-loop approvals.
Key Features:
- Planning Architecture: Decomposes tasks into subtasks and executes them with AI-powered planning, intelligent failure handling, and human-in-the-loop approvals
- AI-powered planning
- Intelligent failure handling
- Human-in-the-loop approvals
- Task decomposition
- Task execution
- Task monitoring
Technologies: TypeScript, Google Gemini
A powerful research assistant that performs comprehensive web research on any topic or question, providing in-depth analysis and reports.
Key Features:
- Deep Web Research: Searches the web, extracts content, and synthesizes findings
- Iterative Research Process: Supports multiple research depths for comprehensive exploration
- API Endpoints: REST API for initiating research and retrieving reports
- Parallel Processing: Efficiently processes search results and content extraction
Technologies: TypeScript, OpenAI, Firecrawl API
A sophisticated multi-agent financial analysis system that combines parallel processing, real-time market data, and specialized AI agents for comprehensive investment insights.
Key Features:
- Multi-Agent Architecture: 4 specialized AI analysts (Fundamental, Portfolio, Risk, Technical) running in parallel
- Real-Time Market Data: Integration with Alpha Vantage and Yahoo Finance APIs
- Web Research Integration: Automated web search for latest market news and analysis
- Production-Ready Deployment: Complete Docker containerization with docker-compose
- State Management: Persistent data storage across workflow steps with trace isolation
- Interactive UI: Custom React components for query input and result visualization
- Comprehensive Analysis: Generates detailed reports covering all aspects of investment analysis
Architecture Highlights:
- Parallel processing for maximum efficiency
- Error handling with graceful degradation
- TypeScript with full type safety and Zod validation
- Nebius AI integration for advanced analysis capabilities
- RESTful API endpoints for external integration
Technologies: TypeScript, Nebius AI, Alpha Vantage API, Yahoo Finance, Serper API, Docker
🐳 Production Deployment: Includes complete Docker setup with environment configuration
A powerful event-driven financial analysis workflow built with Motia that combines web search, financial data, and AI analysis to provide comprehensive investment insights.
Key Features:
- Real-time Financial Analysis: Combines multiple data sources for comprehensive insights
- AI-Powered Insights: Leverages OpenAI GPT-4 for intelligent market analysis
- Web Search Integration: Aggregates latest market news and analysis
- Financial Data Integration: Real-time stock and company information
Technologies: TypeScript, Alpha Vantage API, SerperDev, OpenAI
A comprehensive agent for automating GitHub issue and pull request management using AI-powered classification and routing.
Key Features:
- AI-powered issue and PR classification
- Automatic label assignment based on content
- Smart reviewer suggestions based on expertise
- Automatic movement between stages in the development lifecycle
Technologies: TypeScript, OpenAI, GitHub API
An intelligent Gmail agent that monitors, analyzes, and automatically responds to incoming emails.
Key Features:
- Email classification and urgency detection
- Automated responses based on content analysis
- Smart email organization
- Daily summaries via Discord
Technologies: TypeScript, Python, Google APIs, Discord, Hugging Face
An LLM chat-like question-answering system with RAG (Retrieval-Augmented Generation) to provide accurate answers from PDF documents. The system leverages Docling to parse and intelligently chunk PDF documents, Weaviate as a vector database to store vectorized chunks, and OpenAI for embeddings and text generation.
Key Features:
- PDF document processing and chunking
- Vector storage using Weaviate
- Docling for PDF parsing and hybrid chunking
- OpenAI integration for embeddings and text generation
- Question answering using RAG pattern
Technologies: TypeScript, Python, Docling, Weaviate, OpenAI
A production-ready website monitoring system that continuously checks site availability, sends intelligent Discord alerts, and provides comprehensive health reporting.
Key Features:
- Configurable cron-based website checking
- Smart Discord notifications with rate limiting
- Status change detection to prevent spam
- Built-in health check endpoint
- In-memory status storage with persistence
- Comprehensive error handling and logging
Technologies: JavaScript, Discord Webhooks, Cron Scheduling
A dynamic sentiment analysis application that uses an LLM to determine workflow routing, demonstrating event-driven decision making.
Key Features:
- Dynamic workflow routing based on sentiment
- OpenAI-powered sentiment analysis
- Event-driven architecture with conditional flows
- Real-time processing and response handling
Technologies: TypeScript, OpenAI
An intelligent health and fitness assistant that analyzes user activity, provides personalized recommendations, and tracks wellness goals.
Key Features:
- Activity tracking and analysis
- Personalized fitness recommendations
- Health goal monitoring
- AI-powered insights and coaching
Technologies: TypeScript, Health APIs, AI Analysis
An automated content distribution system that transforms blog posts into engaging social media content.
Key Features:
- Automatic blog content extraction
- AI-powered tweet generation
- Social media scheduling
- Content optimization for platforms
Technologies: JavaScript, Social Media APIs, Content Processing
An intelligent content creation and management system for LinkedIn professional networking.
Key Features:
- Professional content generation
- LinkedIn API integration
- Engagement tracking and optimization
- Automated posting schedules
Technologies: JavaScript, LinkedIn API, Content Generation
A comprehensive todo application showcasing all Motia capabilities - APIs, background jobs, real-time streaming, and scheduled tasks.
Key Features:
- RESTful CRUD API for todo management
- Real-time updates via Motia Streams
- Background jobs (notifications, analytics, gamification)
- Scheduled tasks (cleanup, statistics)
- Visual Workbench plugin
- Redis-backed state persistence
- Complete production-ready application
Technologies: TypeScript, Motia Streams, Redis, BullMQ
⭐ Highlights: Perfect example demonstrating ALL Motia features in one cohesive application
A high-performance image processing service that handles multiple formats and optimization strategies.
Key Features:
- Multiple image format support
- Batch processing capabilities
- Quality optimization
- Storage integration
- API-driven resizing operations
Technologies: TypeScript, Image Processing Libraries, Storage APIs
An intelligent GitHub PR management system that automatically detects and handles spam pull requests.
Key Features:
- Automated spam detection
- PR quality analysis
- Repository protection
- Intelligent filtering and classification
Technologies: TypeScript, GitHub API, Machine Learning
A comprehensive example demonstrating how to containerize and deploy Motia applications with Docker.
Key Features:
- Docker containerization
- Multi-stage builds
- Production deployment configurations
- Container orchestration examples
Technologies: Docker, TypeScript, Deployment Tools
A comprehensive demonstration of real-time chat functionality with asynchronous message processing using the Motia Framework.
Key Features:
- Real-time messaging with WebSocket streaming
- Concurrent message processing (validation, sentiment analysis, moderation)
- Event-driven architecture with pub/sub messaging
- Type-safe message handling with Zod validation
- Live chat state updates and message aggregation
Technologies: TypeScript, Motia Streams, Event System
A demonstration of parallel task execution capabilities in Motia agents.
Key Features:
- Concurrent task processing
- Workload distribution
- Performance optimization
- Resource management
Technologies: TypeScript
An intelligent research assistant that helps gather and analyze information.
Key Features:
- Information gathering
- Data analysis
- Research synthesis
- Citation management
Technologies: TypeScript, OpenAI
A real-time streaming chatbot implementation with AI capabilities.
Key Features:
- Real-time message streaming
- Interactive responses
- Token-by-token output
- WebSocket integration
Technologies: TypeScript, OpenAI Streaming
An advanced agent that analyzes conversations with both text and visual understanding capabilities.
Key Features:
- Multi-modal conversation analysis
- Visual content processing
- Sentiment analysis
- Contextual understanding
Technologies: TypeScript, OpenAI Vision, Natural Language Processing
Streamline development processes with an intelligent task progression agent for Trello boards.
Key Features:
- Automated card movement between lists
- Task validation and requirement checking
- AI-generated task summaries
- Slack integration for notifications
Technologies: TypeScript, Trello API, OpenAI, Slack
Technologies: TypeScript, Python, Claude, Flux, OpenAI
-
Choose Your Learning Path:
- New to Motia? Start with Getting Started
- Building AI apps? Go to AI Agents
- Need integrations? Check Integrations
- Want production examples? Browse Advanced Use Cases
-
Run Any Example:
# Clone the repository git clone https://github.com/MotiaDev/motia-examples.git cd motia-examples # Navigate to an example cd examples/getting-started/middleware-auth-handler-example # Install dependencies npm install # Configure environment cp env.example .env # Edit .env with your API keys # Start the development server npm run dev # Open Workbench # Visit http://localhost:3000
-
Explore the Workbench: Each example includes visual workflow representations, real-time logs, and interactive testing capabilities.
Path 1: Complete Beginner (2-4 hours)
Path 2: AI Developer (2-5 days)
- Review Getting Started
- Build Chat Agents
- Explore RAG Systems
- Create Multi-Agent Systems
Path 3: Integration Specialist (1-2 days)
- Queue Example
- Choose integration: GitHub, Stripe, or Gmail
- Build custom integration
Path 4: Production Engineer (1-2 weeks)
- Review foundational patterns
- Study Advanced Use Cases
- Implement monitoring and error handling
- Deploy to production
A comprehensive example demonstrating local, privacy-friendly meeting audio processing using Motia, Whisper, and Streamlit.
Key Features:
- Complete Motia workflow from audio input to structured output
- Local AI processing with privacy-first approach
- Multiple step types (API, Event, Custom)
- Real-world meeting transcription with action item extraction
- Cross-platform UI with Streamlit
Technologies: TypeScript, Python, Whisper, Streamlit, Motia
A comprehensive Air Quality Index (AQI) analysis backend providing real-time air quality monitoring, health recommendations, trend analysis, and alert notifications.
Key Features:
- Real-time AQI analysis for any location
- AI-powered health recommendations based on AQI levels
- 7-day trend analysis
- Email alert system with customizable thresholds
- Beautiful dashboard plugin
- Multiple data sources (Firecrawl, OpenWeatherMap)
Technologies: TypeScript, OpenAI, Firecrawl, OpenWeatherMap, Resend
An intelligent, real-time mortgage rate monitoring and analysis system with OpenAI, Couchbase Vector Search, and Resend.
Key Features:
- AI-powered mortgage rate trend analysis using OpenAI GPT-4
- Vector search with 1536-dimensional embeddings
- Beautiful HTML email alerts via Resend
- Automated monitoring with cron-based rate scraping
- CSV logging for all analyses
- Real-time processing of rate changes
Technologies: TypeScript, OpenAI, Couchbase, Resend
A full-stack AI-powered renovation planning application with personalized design plans, budget-aware recommendations, and photorealistic rendering using Gemini 2.5 Flash.
Key Features:
- AI-powered design planning with specific materials and colors
- Budget-aware recommendations tailored to constraints
- Complete project roadmap with timeline and budget breakdown
- Photorealistic rendering using Gemini 2.5 Flash Image
- Natural language editing of renderings
- Real-time frontend updates
- Smart room and budget detection
Technologies: TypeScript, Python, Google Gemini 2.5 Flash, React
An AI-powered guest assistant for Airbnb properties with RAG capabilities, conversation history tracking in Notion, and local search functionality.
Key Features:
- Smart chat API with RAG architecture
- Vector search with Pinecone integration
- Conversation history in Notion database
- SerpAPI integration for restaurant/attraction recommendations
- Document processing for property manuals
- Beautiful Workbench visualization
Technologies: TypeScript, OpenAI, Pinecone, Notion, SerpAPI
A sophisticated Currency Rate Monitor with RAG using OpenAI embeddings, Weaviate vector database, Google Sheets logging, and Slack notifications.
Key Features:
- Webhook endpoint for currency rate data
- Text processing with automatic chunking
- Vector embeddings with OpenAI
- Weaviate vector database for semantic search
- RAG agent with intelligent query processing
- Google Sheets logging
- Slack error notifications
Technologies: TypeScript, OpenAI, Weaviate, Google Sheets, Slack
Generate beautiful animated videos showcasing your GitHub repository's star history using Motia and Remotion.
Key Features:
- Dual theme support (dark and light)
- Live video preview in Motia Workbench
- Real-time processing with live status updates
- High-quality output (1280x720 @ 60 FPS)
- Smooth animations with avatar scrolling
- One-click MP4 download
Technologies: TypeScript, Remotion, GitHub API
A production-ready workflow that processes GitHub commits using AI-powered analysis with RAG (Retrieval-Augmented Generation).
Key Features:
- Webhook integration for GitHub commits
- Text processing with chunking
- Vector embeddings with OpenAI
- Vector storage in Supabase with pgvector
- RAG agent for commit analysis
- Google Sheets logging
- Slack error notifications
Technologies: TypeScript, Python, OpenAI, Supabase, Google Sheets, Slack
Build production-grade AI agents with Google's Agent Development Kit, simplified by Motia's event-driven architecture.
Key Features:
- Simple & multi-agent chat systems
- Fast polling for real-time updates (500ms)
- Beautiful formatted output with syntax highlighting
- Async event-driven processing
- Conversation history with session persistence
- Tool integration (search, code, weather, etc.)
- Full TypeScript with Zod validation
Technologies: TypeScript, Google Gemini 2.5 Flash, Motia
A multi-agent research system combining Motia workflow orchestration with Mastra AI agents to deliver comprehensive business research reports in under 60 seconds.
Key Features:
- 8-step workflow pipeline
- Web search using Tavily API
- AI-powered analysis with OpenAI GPT-4o
- Fact verification with additional searches
- Professional report generation
- Quality metrics tracking
Technologies: TypeScript, Mastra, OpenAI, Tavily
A high-performance, event-driven real estate search system built with Motia and Agno, featuring parallel processing and interactive dashboard.
Key Features:
- 4 parallel processors (57% faster than sequential)
- Concurrent website scraping with Firecrawl
- AI-powered market analysis with Agno + OpenAI
- Property enrichment (schools, crime stats, walkability)
- Neighborhood analysis
- Interactive React dashboard plugin
- Beautiful UI components for Workbench
Technologies: TypeScript, Python, Agno, OpenAI, Firecrawl
A Motia workflow implementing intelligent form triage using RAG with vector similarity search and LLM processing.
Key Features:
- Webhook integration for form submissions
- Text processing and embedding generation
- Vector storage in Supabase with pgvector
- RAG agent with Claude AI
- Window memory for conversation context
- Google Sheets logging
- Slack error notifications
Technologies: TypeScript, OpenAI, Anthropic, Supabase, Google Sheets, Slack
An intelligent travel planning system powered by 6 specialized AI agents working in harmony to create comprehensive, personalized travel itineraries.
Key Features:
- 6 specialized AI agents (Destination Explorer, Flight Search, Hotel Search, Dining, Itinerary, Budget)
- Real-time status tracking
- Beautiful React frontend with TanStack Router
- API-driven architecture
- Multi-agent orchestration
- Personalized planning based on travel style and interests
Technologies: TypeScript, OpenAI GPT-4o, React, TanStack Router
A complete content moderation system combining AI analysis with human review via Slack integration.
Key Features:
- Dual content support (text and images)
- Confidence-based routing (auto vs human review)
- Interactive Slack messages for human review
- Channel prioritization for high-risk content
- Audit trail with reviewer information
- State management for complete workflow tracking
Technologies: TypeScript, OpenAI, Slack
AI-powered connected car alert processing system with intelligent response generation.
Key Features:
- Text chunking for large alerts
- OpenAI GPT-4 for intelligent responses
- Conversation memory per session
- Local JSON logging
- Optional Google Sheets integration
- No Redis required (uses Motia state)
Technologies: Python, OpenAI, Google Sheets
A Motia workflow implementing a full RAG system for analyzing competitor pricing data with vector storage.
Key Features:
- Webhook endpoint for competitor data
- Text processing with configurable chunking
- OpenAI embeddings generation
- Supabase vector storage with pgvector
- RAG analysis using Anthropic Claude
- Window memory for conversation context
- Google Sheets logging
- Slack error notifications
Technologies: TypeScript, OpenAI, Anthropic, Supabase, Google Sheets, Slack
A comprehensive email marketing automation platform featuring AI-powered personalization, behavioral triggers, and scalable campaign management.
Key Features:
- Campaign creation and management API
- Smart user segmentation (VIP, new users, active, inactive)
- AI content personalization with Python
- Scheduled campaigns with automated delivery
- Real-time email analytics
- Behavioral trigger automation
- Welcome email series
- Unsubscribe management
- Beautiful React dashboard
Technologies: TypeScript, Python, OpenAI, Appwrite, SendGrid, React
A fast-response, event-driven like system demonstrating mixed TypeScript/Python microservices architecture with immediate API responses and asynchronous background processing.
Key Features:
- Micro-actions pattern with real-time integrations
- Database sync with Supabase
- Firebase Cloud Messaging for push notifications
- WebSocket broadcasting capability
- Parallel processing for maximum performance
- Event-driven architecture
Technologies: TypeScript, Python, Firebase, Supabase
A hands-on demonstration of building a production-ready RAG system with fine-grained authorization using SpiceDB.
Key Features:
- RAG pipeline with Motia's event-driven architecture
- Fine-grained authorization with SpiceDB
- Text chunking and embedding generation
- Vector storage with Pinecone
- Role-based access control
- Multi-tenant data access
- OpenAI and HuggingFace support
Technologies: TypeScript, OpenAI, Pinecone, SpiceDB
An intelligent documentation generation system that automatically analyzes GitHub repositories and creates comprehensive documentation with architecture diagrams, code analysis, and test generation.
Key Features:
- AI-powered repository analysis using NVIDIA NIM LLMs
- Automatic architecture and workflow diagrams
- Comprehensive documentation generation
- Code quality analysis and improvement suggestions
- Automated test case generation
- Support for multiple programming languages
Technologies: TypeScript, NVIDIA NIM, Mermaid
A minimal example demonstrating real-time AI streaming and conversation state management using Motia with Ollama for local AI models.
Key Features:
- Real-time AI streaming with token-by-token responses
- Local AI models (Llama 3.1, CodeLlama, Mistral, etc.)
- Live state management with message history
- Event-driven architecture
- Privacy-focused (all processing local)
- No API keys required
Technologies: TypeScript, Ollama
Multi-format document RAG agent supporting PDF, Markdown, HTML, and TXT files with Docling and vector databases.
Key Features:
- Multi-format document processing
- Docling for document parsing and hybrid chunking
- ChromaDB vector storage
- OpenAI or Ollama integration
- Question answering using RAG pattern
- Docker support for easy deployment
Technologies: TypeScript, Python, Docling, ChromaDB, OpenAI, Ollama
A modern todo application featuring real-time streaming capabilities, React frontend, and type-safe API backend built with Motia.
Key Features:
- Real-time synchronization via Motia Streams
- Type-safe end-to-end with Zod validation
- Modern UI with TailwindCSS
- Inline editing functionality
- Optimistic updates with loading states
- Virtual events for loose coupling
Technologies: TypeScript, React, Motia Streams, TailwindCSS
An AI-powered pipeline that automatically transforms product images into professional user-generated content (UGC) videos for social media marketing.
Key Features:
- Multi-AI pipeline (GPT-4o, Gemini 2.5 Flash, Veo 3)
- Parallel processing for multiple variants
- Brand consistency maintenance
- Authentic UGC style creation
- Cloud storage with Box
- Event-driven architecture
Technologies: TypeScript, Python, OpenAI, Google Gemini, Veo 3, ImageKit, Box
A complete wake surf club booking and session management system with SMS notifications, calendar integration, and automated workflows.
Key Features:
- Session Management: Create and manage surf sessions with capacity limits
- Booking System: Direct booking with automatic waitlist handling
- SMS Notifications: Automated invites, confirmations, reminders via Twilio
- Calendar Integration: Generate ICS calendar files for sessions
- Admin Panel: Custom Workbench plugin for managing bookings
- Automated Workflows: Morning reminders, invite blasts, session seeding via cron jobs
Technologies: TypeScript, Motia, Redis, BullMQ, Twilio, React
- Total Examples: 64
Latest Additions:
- todo-app - Complete Motia demo
- ProspectAI - Sales intelligence platform
- Categories: 8 main categories
- Languages: TypeScript, JavaScript, Python
- Difficulty Levels: Beginner → Intermediate → Advanced → Expert
- Topics Covered: AI agents, RAG, integrations, monitoring, marketing, computer vision, and more
- API Steps: Getting Started, Integrations
- Event Steps: AI Agents, Foundational
- Cron Steps: Monitoring
- Streaming (SSE): Getting Started, AI Agents
- State Management: Most AI and RAG examples
- Queues: Queue Example
- OpenAI: AI Agents, RAG
- Anthropic Claude: Multi-Agent Systems
- Vector Databases: RAG and Search
- GitHub: GitHub Integrations
- Stripe: Payment Integration
- Docker: Infrastructure
- Chatbots: Chat Agents
- Search: RAG and Search
- E-commerce: Integrations, Monitoring
- Marketing: Content and Marketing
- Monitoring: Monitoring and Alerts
We welcome contributions! If you've built an interesting application with Motia, please share it:
- Report Issues: Found a bug? Open an issue
- Improve Examples: Submit PRs to enhance existing examples
- Add Examples: Share your Motia applications following our structure
- Update Documentation: Help improve READMEs and guides
See our contribution guidelines for details.
This repository and its contents are licensed under the Apache License 2.0 - see the LICENSE file for details.
- Motia Documentation - Complete framework documentation
- Examples Catalog - Organized examples with learning paths
- Examples Documentation - Detailed tutorials
- Getting Started Guide - Quick start tutorial
- Core Concepts - Understanding Steps, Events, and Flows
- Deployment Guide - Production deployment strategies
- GitHub Discussions - Ask questions and share ideas
- Discord - Join the community
- Twitter - Latest updates and tips
Built with ❤️ by the Motia community

















































