# Mastra

Theo dữ liệu đo lường của OpenAITools.app được xác minh vào 2026-11-11, Mastra (mastra.ai) là nền tảng AI được lập chỉ mục trong AI Agent, tạo ra 318,95 N lượt truy cập hàng tháng với mức thay đổi lưu lượng so với tháng trước là -16,74 N (-5%). Thị trường địa lý chính của nền tảng này là Hoa Kỳ (thị phần lưu lượng 21,3%), và nền tảng hoạt động theo mô hình giá Freemium, Liên hệ để biết giá. Các lựa chọn thay thế cạnh tranh hàng đầu theo lưu lượng hàng tháng bao gồm Agno (140,3 N lượt truy cập/tháng), Dify (819,69 N lượt truy cập/tháng), Agent-Native (52,07 N lượt truy cập/tháng).

Mastra is an open-source TypeScript framework for building, deploying, and observing AI agents and workflows. It gives JavaScript developers typed agents, durable workflows, memory, MCP tool support, and built-in observability so prototypes can scale into production.

## Dữ liệu đo lường & thông số kỹ thuật chính

| Chỉ số | Giá trị |
| :--- | :--- |
| Tên công cụ | Mastra |
| Tên định danh | mastra |
| Status | active |
| Origin | open_source |
| Maintenance | active |
| Tên miền chính thức | mastra.ai |
| URL trang web | https://mastra.ai |
| Danh mục | AI Agent, Công cụ cho lập trình viên AI, AI Workflow, Trình tạo ứng dụng AI |
| Mô hình giá | Freemium, Liên hệ để biết giá |
| Lượt truy cập hàng tháng | 318.954 |
| Thay đổi lưu lượng theo tháng | -16.743 |
| Tốc độ tăng trưởng theo tháng | -5% |
| Thị trường chính | Hoa Kỳ |
| Thị phần | 21,3% |
| Truy cập trực tiếp | 139.222 |
| Truy cập từ tìm kiếm tự nhiên | — |
| Truy cập từ mạng xã hội | — |
| Truy cập từ giới thiệu | 18.220 |
| Truy cập từ email | 3.416 |
| Điểm đánh giá | 4,6 |
| Số lượt lưu | 0 |
| Nền tảng được hỗ trợ | Trang web |
| Nền tảng thanh toán |  |
| Thuộc tính | Giá cả: Freemium; Giá cả: Liên hệ để biết giá; Tính năng: Trang web |
| Thẻ | Khung tác nhân AI, Framework AI cho TypeScript, Framework AI cho JavaScript, Phát triển ứng dụng AI, Tác tử LLM, Điều phối tác tử, Quy trình làm việc AI, Quy trình có kiểu, tự động hóa quy trình, Bộ nhớ agent, Bộ nhớ quan sát, Truy hồi ngữ nghĩa, Con người can thiệp, Máy chủ MCP, Model Context Protocol, Công cụ AI, Định tuyến mô hình, Tích hợp OpenAI, Tích hợp Anthropic, Tích hợp Google Gemini, Tích hợp xAI, Khả năng quan sát AI, Truy vết LLM, Chỉ số AI, Nhật ký AI, Đánh giá tác tử, Đánh giá LLM, Bộ dữ liệu, Bộ chấm điểm, Thử nghiệm tác tử, Mastra Studio, Trình tạo tác tử, Tác nhân lập trình, Tác tử nội bộ, Tác tử hướng khách hàng, Tác tử nền tảng dành cho nhà phát triển, Trợ lý AI (Copilot), Tự động hóa bằng AI, AI tự lưu trữ, Triển khai AI trên đám mây, AI doanh nghiệp, RBAC (kiểm soát truy cập theo vai trò), SSO, Triển khai trên VPC, Mã nguồn mở Apache 2.0 |

## Tổng quan

Mastra is an open-source TypeScript framework for building, deploying, and observing AI agents and workflows. It gives JavaScript developers typed agents, durable workflows, memory, MCP tool support, and built-in observability so prototypes can scale into production.

## Giá & các gói

Freemium. The framework is Apache 2.0 open source and free to self-host. Mastra Cloud offers paid/managed tiers, with enterprise pricing available on request.

## Tính năng & năng lực chính

- **Typed agents and workflows:** Define agents with instructions, models, tools, and runtime behavior, then compose typed workflow steps with retries and branching in TypeScript.
- **Durable agent memory:** Give agents long-lived context with observational memory, semantic recall, and thread-aware storage.
- **Built-in observability:** Traces, metrics, logs, and datasets show every model call, tool call, and handoff in a searchable timeline.
- **Evaluations and scorers:** Score agent runs against repeatable checks and experiments before changes reach production.
- **MCP and model integrations:** Connect MCP servers for tool use and route across major model providers including OpenAI, Anthropic, Google Gemini, and xAI.

## Trường hợp sử dụng chính

- **Build production AI agents in TypeScript (Backend / Full-stack Developer):** Ship typed agents with tools, memory, and workflows without leaving the JavaScript ecosystem.
- **Add observability to agent deployments (Platform / AI Engineer):** Use traces, metrics, and evals to debug agent behavior and catch regressions before release.
- **Standardize agent infrastructure (Engineering Team Lead):** Give a team one framework for agents, workflows, and deployment, with self-hosting or managed cloud options.

## Điểm mạnh

- TypeScript-first design fits existing JavaScript and Node.js stacks
- Apache 2.0 open source with a free self-hosted path
- Observability, evals, and datasets are built in rather than bolted on
- Memory, workflows, MCP, and multi-provider routing included
- Managed cloud adds enterprise controls like RBAC, SSO, and VPC

## Hạn chế

- Requires TypeScript and developer familiarity to get value
- Cloud and enterprise pricing is quote-based with limited public detail
- Fast-moving framework means APIs can change between releases
- Best suited to engineering teams, not no-code users

## Câu hỏi thường gặp

### Is Mastra free to use?
The framework is Apache 2.0 open source and free to self-host. Mastra Cloud offers managed paid plans, with enterprise pricing available on request.

### What language does Mastra use?
Mastra is built for TypeScript and JavaScript, so agents, workflows, and tools live in the same codebase as the rest of your app.

### Does Mastra include observability?
Yes. It ships traces, metrics, logs, evaluations, datasets, and scorers so you can inspect and score every production agent run.

### Can I self-host Mastra?
Yes. The open-source framework runs locally and on your own infrastructure, and the same app can be deployed to Mastra Cloud when you want managed hosting.

### Lưu lượng hàng tháng và xu hướng tăng trưởng của Mastra là gì?
Hiện Mastra nhận được 318,95 N lượt truy cập hàng tháng, với mức thay đổi lưu lượng so với tháng trước là -16,74 N (tốc độ tăng trưởng -5%). Thị trường nguồn chính của nó là Hoa Kỳ (thị phần 21,3%), bao gồm 139,22 N lượt truy cập trực tiếp/tháng và — lượt truy cập từ tìm kiếm tự nhiên/tháng.

### Mastra có miễn phí không? Mô hình giá của nó là gì?
Mastra hoạt động theo mô hình giá Freemium, Liên hệ để biết giá. Freemium. The framework is Apache 2.0 open source and free to self-host. Mastra Cloud offers paid/managed tiers, with enterprise pricing available on request. Các nền tảng thanh toán và đặt hàng được hỗ trợ bao gồm: chưa được liệt kê.

### Những lựa chọn thay thế tốt nhất cho Mastra trong năm 2026 là gì?
Dựa trên lưu lượng theo danh mục và mức độ phù hợp tính năng của OpenAITools.app, năm lựa chọn thay thế hàng đầu cho Mastra là: 1. Agno (140,3 N lượt truy cập/tháng); 2. Dify (819,69 N lượt truy cập/tháng); 3. Agent-Native (52,07 N lượt truy cập/tháng); 4. Sim AI (140,95 N lượt truy cập/tháng); 5. n8n (4,52 Tr lượt truy cập/tháng).

### Mastra hỗ trợ những nền tảng và năng lực AI cốt lõi nào?
Mastra được phân loại trong AI Agent, Công cụ cho lập trình viên AI, AI Workflow, Trình tạo ứng dụng AI, hỗ trợ các nền tảng sau: Trang web, và các thẻ năng lực cốt lõi của nó bao gồm: Khung tác nhân AI, Framework AI cho TypeScript, Framework AI cho JavaScript, Phát triển ứng dụng AI, Tác tử LLM, Điều phối tác tử.

## Lựa chọn thay thế

| Tên công cụ | Lượt truy cập hàng tháng | Mô hình giá | So sánh |
| :--- | :--- | :--- | :--- |
| [Agno](https://openaitools.app/vi/tool/agno) | 140.302 | Liên hệ để biết giá, Miễn phí | [So sánh](https://openaitools.app/vi/compare/agno-vs-mastra) |
| [Dify](https://openaitools.app/vi/tool/dify-ai) | 819.691 | Freemium | [So sánh](https://openaitools.app/vi/compare/dify-ai-vs-mastra) |
| [Agent-Native](https://openaitools.app/vi/tool/agent-native) | 52.065 | Miễn phí | [So sánh](https://openaitools.app/vi/compare/agent-native-vs-mastra) |
| [Sim AI](https://openaitools.app/vi/tool/sim-ai) | 140.953 | Freemium, Paid (per user/month), and Enterprise with custom pricing; self-hosting free under Apache 2.0 | [So sánh](https://openaitools.app/vi/compare/mastra-vs-sim-ai) |
| [n8n](https://openaitools.app/vi/tool/n8n) | 4.522.449 | Freemium | [So sánh](https://openaitools.app/vi/compare/mastra-vs-n8n) |
| [Activepieces](https://openaitools.app/vi/tool/activepieces) | 258.553 | Freemium | [So sánh](https://openaitools.app/vi/compare/activepieces-vs-mastra) |
| [Agenta](https://openaitools.app/vi/tool/agenta) | 45.760 | Freemium | [So sánh](https://openaitools.app/vi/compare/agenta-vs-mastra) |
| [Composio](https://openaitools.app/vi/tool/composio) | 2.782.603 | Freemium, Liên hệ để biết giá | [So sánh](https://openaitools.app/vi/compare/composio-vs-mastra) |
| [Omnara](https://openaitools.app/vi/tool/omnara) | 14.555 | Freemium | [So sánh](https://openaitools.app/vi/compare/mastra-vs-omnara) |
| [Agents-Flex](https://openaitools.app/vi/tool/agents-flex) | 5.088 | Free / Open Source | [So sánh](https://openaitools.app/vi/compare/agents-flex-vs-mastra) |

---
Nguồn: https://openaitools.app/vi/tool/mastra