dify vs mastra
A neutral, constraint-first comparison - live GitHub stats and typed relationships, not marketing.
| dify | mastra | |
|---|---|---|
| Tagline | Production-ready platform for agentic workflow development | Framework for building AI-powered applications and agents |
| Stars | 148k | 26k |
| Forks | 23k | 2.4k |
| Open issues | 851 | 388 |
| Language | TypeScript | TypeScript |
| License | Other | Other |
| Last pushed | Jul 7, 2026 | Jul 7, 2026 |
| Categories | AI Agents | Developer Tools, AI Agents |
dify
Dify is a production-ready platform designed to facilitate the creation and management of agentic workflows. It supports TypeScript, Python, and leverages frameworks like Next.js.
TypeScript
mastra
Mastra is a TypeScript framework designed for developing AI-driven applications and autonomous agents. It supports model routing across multiple providers, workflow orchestration with built-in control flow functions, human-in-the-loop interactions, context management, integration within web frameworks like React and Next.js, and Model Context Protocol server authoring.
TypeScript