https://github.com/MotiaDev/motia-examples
A community maintained list of flow examples built with Motia
https://github.com/MotiaDev/motia-examples
Last synced: 8 months ago
JSON representation
A community maintained list of flow examples built with Motia
- Host: GitHub
- URL: https://github.com/MotiaDev/motia-examples
- Owner: MotiaDev
- Created: 2025-02-01T22:35:52.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-04-03T23:38:54.000Z (9 months ago)
- Last Synced: 2025-04-04T00:25:28.797Z (9 months ago)
- Homepage: https://github.com/MotiaDev/motia
- Size: 9.53 MB
- Stars: 82
- Watchers: 6
- Forks: 20
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
- StarryDivineSky - MotiaDev/motia-examples
README
# Motia Examples 🚀
Welcome to the official examples repository for [Motia](https://motia.dev/) - the powerful agent development platform that helps you build, visualize, and deploy AI-powered agents with ease.
## What is Motia?
Motia is a modern agent development platform that enables you to:
- **Build versatile agents** - Connect APIs, databases, AI services, and custom logic in a visual interface
- **Create event-driven architectures** - Build reactive systems that respond to webhooks, scheduled tasks, and internal events
- **Leverage AI capabilities** - Integrate with LLMs and other AI services to build intelligent agents
- **Deploy with confidence** - Run your agents reliably in any environment with robust testing and monitoring
## 🗂 Examples
### AI Deep Research Agent
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
[View Example →](examples/ai-deep-research-agent)
### Finance Agent
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
[View Example →](examples/finance-agent)
### GitHub Integration Agent
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
[View Example →](examples/github-integration-workflow)
### Gmail Account Manager
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
[View Example →](examples/gmail-workflow)
### Trello Task Automation
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
[View Example →](examples/trello-flow)
### Retrieval-Augmented Generation (RAG)
A complete RAG agent implementation for building knowledge-based AI applications.

**Key Features:**
- Web page content extraction and parsing
- Text chunking and embedding
- Vector database integration
- AI-powered question answering
**Technologies:** Python, TypeScript, FAISS, Google's Generative AI
[View Example →](examples/rag_example)
### AI Image Generation and Evaluation
An agent that generates and evaluates AI images with feedback loops and quality metrics.
**Key Features:**
- Prompt enhancement with AI
- Image generation with Flux
- Evaluation of generated images
- Dataset reports with quality metrics
**Technologies:** TypeScript, Python, Claude, Flux, OpenAI
[View Example →](examples/vision-example)
### PDF RAG Agent using Motia, Docling and Weaviate
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
[View Example →](examples/rag-docling-weaviate-agent)
## 🚀 Getting Started
Each example includes its own README with detailed setup instructions. Generally, you'll need:
1. Clone this repository
2. Navigate to the example directory
3. Install dependencies
4. Configure environment variables
5. Run the agent with Motia
## 🤝 Contributing
We welcome contributions! If you've built an interesting agent with Motia, please share it by following our [contribution guidelines](CONTRIBUTING.md).
## 📝 License
This repository and its contents are licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## 📚 Learn More
- [Motia Documentation](https://motia.dev/docs)
- [API Reference](https://motia.dev/docs/api)
- [Tutorial Videos](https://motia.dev/resources)