Skip to content
所有標籤

#mastra

7 篇文章

框架更新|Mastra @mastra/core@1.64.0

Mastra @mastra/core@1.64.0 三個重點:(1) 新的 reusable sandbox template(`@mastra/platform-workspace`+`@mastra/e2b`)讓 sandbox 從預先複製、預先建置好的 repo image 啟動,大幅降低 code session/workspace agent 的冷啟動時間;(2) `MastraSandboxOptions.workingDirectory` 統一了 Docker/E2B/Vercel/Railway 等所有 sandbox provider 的預設工作目錄行為;(3) breaking:`@mastra/factory` 的 `sandbox` 設定從物件改成 callback,`@mastra/playground-ui` 拿掉 `Chip`/`ChipsGroup`/`StatusBadge`,改用 `Badge`。

框架更新|Mastra @mastra/core@1.63.0

Mastra @mastra/core@1.63.0 三個重點:(1) 新的 `AdaptableLogger` contract 把 trace_id/span_id 直接寫進原生 log record,取代舊的 dual-write wrapper,`@mastra/loggers` 的 PinoLogger 率先支援;(2) `@mastra/deployer` 新增獨立 worker entry 與 `/health` endpoint(啟動中回 503、就緒回 200),讓部署平台能判斷 rollout 是否安全;(3) breaking change:`@mastra/playground-ui` 的 DataList 拿掉 `variant="lined"`/`flushLeft`/`flushRight`/`MonoCell`,改用 `DataList.TextCell font="mono"`。

框架更新|Mastra @mastra/core@1.62.0

Mastra @mastra/core@1.62.0 三個重點:(1) 新增 Computer-Use Sandboxes,透過 Daytona/E2B Desktop provider 讓 agent 操作虛擬桌面(screenshot、點擊、打字、捲動等 11 個工具);(2) 新增 `@mastra/elasticsearch` 和 `@mastra/valkey`/`@mastra/valkey-streams` storage backend,擴大生產環境儲存選項;(3) 7 個 breaking changes,包含 background task storage 拿掉 Cloudflare KV/ClickHouse 支援、`DaytonaSandbox` command 結果格式改變、`agent.stream()` 拿掉 `persistPartialOnAbort` 選項。

ai deep-dive

Mastra:把 Agent、Workflow、Memory 與 Evals 放進 TypeScript

Mastra 是 TypeScript agent 框架,將 agent、typed workflow、memory、MCP、tracing 與 scorers 放進同一套 Node.js 開發環境。

框架更新|Mastra @mastra/core 1.60.0

Mastra 1.60.0 三個重點:(1) Stored Agent 新增 durable: true,不用重新部署就能跑持久化執行,並繼承伺服器的 cache/pubsub 支援多副本;(2) 新增 @mastra/cloudflare-sandbox provider,透過部署好的 Sandbox Bridge Worker 執行指令與檔案操作;(3) @mastra/mcp 支援 stateless 的 2026-07-28 MCP 協定修訂版與多輪 elicitation,本版無 breaking changes。

框架更新|Mastra @mastra/core 1.59.0

Mastra 1.59.0 三個重點:(1) CostGuardProcessor 更名並升級為 TokenCostControl,支援 user/organization/session 分層預算與 warnAtPercent 預警;(2) Breaking:Factory 的自動跑 Agent 行為 autoRunEnabled 預設改為關閉,規則建議的執行會先變成 proposed 狀態等人核准;(3) 新增 listActiveThreadRuns() 可低成本查詢正在執行中的 run,方便做狀態輪詢 UI。

ai guide

2026 年 15 個值得關注的 Agent 框架

按 GitHub Stars 排序,盤點 2026 年 15 個主流 AI Agent 框架的定位、特色與適用場景。不是排名,是地圖。