Mastra 推出托管版 Observability 智能体可观测平台
Mastra 发布 Mastra Observability,这是一个托管平台,可直接连接 Mastra 框架项目;据该公司说法,连接后会自动追踪智能体的运行。该平台整合了追踪记录搜索与筛选、对话线程视图、在线评分器以及性能、成本与正确性仪表盘,并支持团队审阅对话、标注追踪记录、整理数据集,以便运行评估并比较不同版本智能体在质量、成本和延迟上的表现。Mastra 还列出了 query traces 命令行工具、按目标、行为、情感和结果对追踪分组的私测功能 Trace Intelligence,以及可在 CI/CD 中(包括以 GitHub Action 形式)断言评估通过或失败结果的 Gates and Verdicts。定价方面,每月免费提供 10 万个可观测性事件并保留 15 天数据、无需信用卡,超出部分每 10 万事件 10 美元;每月 250 美元的 Teams 方案包含 100 万事件、六个月数据保留、多团队、SSO 和 SOC 2 文档,超额用量每 10 万事件 8 美元。
Mastra 将该平台定位为生产环境智能体团队可替代独立可观测性与评估平台的方案,但所有功能与定价细节均来自厂商自家博客。
You've got peanut butter and jelly, cookies and milk, and now Mastra and Mastra Observability! 😏 It's the natural pairing for agents that need traces, metrics, and evals, so you can keep improving them after they ship.
Mastra Observability is a hosted platform that connects directly to your Mastra framework project. It gives you and your team one place to see what your agents are doing in production, investigate problems, and run the eval loop that makes them better, so you don't need a separate observability/evals platform.
Here's how it works:
Connect your project
Connect your project and Mastra automatically traces your agent runs, so you can understand how users interact with your product and investigate when something goes wrong.
import { Mastra } from '@mastra/core/mastra';
import {
Observability,
MastraPlatformExporter,
SensitiveDataFilter,
} from '@mastra/observability';
export const mastra = new Mastra({
// Automatically trace every agent, workflow, and tool
observability: new Observability({
configs: {
default: {
serviceName: 'my-app',
// Mastra batches traces and sends them to the platform
// asynchronously in the background.
exporters: [new MastraPlatformExporter()],
// Redact sensitive fields before exporting traces
spanOutputProcessors: [new SensitiveDataFilter()],
},
},
}),
});