Mastra client SDK
AI overview
Sign in and the AI will write an overview from our coverage.
Headlines · 5
- Mastra adds Ring Signals for AI agent workflows
Mastra announced Ring Signals, an integration that delivers Ring doorbell events to agents as configurable-priority notification signals. According to the Mastra Blog, agents can retrieve snapshots or video clips through the Ring API, while memory and channel adapters support alerts through iMessage and the Mastra client SDK. Setup requires a linked Ring developer app, @mastra/ring-signals 0.1.0, and @mastra/core 1.81.0 or later.
Mastra Blog · 🔥 0 - Mastra Adds TTFC and TTFT Latency Metrics for AI Agents
Mastra Blog says the platform now records time to first chunk (TTFC) and time to first token (TTFT) across every span from model calls to complete agent runs. Users can filter and sort traces, spans, and threads, and query the fields through Mastra CLI, the platform and Studio, the Client SDK, and observability endpoints. The metrics also support self-hosted projects using DuckDB, PostgreSQL, or ClickHouse.
Mastra Blog · 🔥 0 - Mastra introduces span queries for granular agent trace observability
Mastra announced span queries, which filter and group individual spans across all traces rather than returning whole traces like trace queries do. According to the Mastra Blog, a query can combine up to 100 conditions on fields such as spanType, entityName, status, durationMs and parentEntityName, return up to 1,000 spans per page, and group by up to two dimensions over a time range of up to 365 days, aggregating counts, error rates and latency. The feature is available through the Mastra CLI ([email protected] or later), the Mastra platform and Studio, the Mastra Client SDK (@mastra/[email protected] or later), and observability endpoints, and works on self-hosted projects using DuckDB, PostgreSQL or ClickHouse storage.
Mastra Blog · 🔥 0 - Mastra launches Trace Queries for filtering agent traces
Mastra introduced Trace Queries, letting users of the Mastra platform and local Studio filter and find traces by fields such as time, primitive name, agent or workflow ID, status, score and feedback. The company says the same queries can be built through the CLI ([email protected] or later), the Mastra Client SDK (@mastra/[email protected] or later) and HTTP observability endpoints. Each query covers a time range of up to 31 days, combines up to 100 conditions and allows up to 8 filters on trace internals such as spans, scores and feedback; the feature works on the Mastra platform and on self-hosted projects whose observability storage uses DuckDB, PostgreSQL or ClickHouse, and existing history can be brought in via trace imports.
Mastra Blog · 🔥 0 - Mastra launches Metrics API for its platform
Mastra released a Metrics API that lets developers query token usage, model cost, latency and error rates from production Mastra projects via the Mastra Client SDK, Mastra CLI or observability endpoints. The API supports totals, breakdowns, time series and percentile data, and can combine queries with time ranges and status filters to build custom reports, dashboards, downstream data feeds and alerts. Mastra says metrics aggregate across every run, whereas traces show what happened in a single run.
Mastra Blog · 🔥 0
Experience and discussion from the community
Share my Mastra client SDK experienceAsk about Mastra client SDK
Nobody has shared their experience with Mastra client SDK yet.