Integrations › Mastra

TypeScript Agents

Mastra Agents. TypeScript-Native Trusted State.

Trusted State that speaks TypeScript.

Get API Key →
12MCP tools
0.01mslookup
Freefor individuals
ed25519signed

The Problem

Mastra has a memory module. It stores and retrieves. But there's no verification, no receipts, no conflict detection. Memory is fast but unproven.

Step 1
Connect
→
Step 2
Ingest + Extract
→
Step 3
Verify + Receipt

The Fix

npm install @verifiedstate/mastra

Experimental: tagging-level integration. Ingestion works via @verifiedstate/sdk with Mastra-specific source tagging. Native Mastra features coming.
typescriptExperimental
import { VerifiedMastraMemory } from '@verifiedstate/mastra'; const memory = new VerifiedMastraMemory({ apiKey: 'vs_live_...', namespaceId: 'mastra_agent', }); // Use as Mastra memory provider const agent = new Agent({ memory });

What You Get Back

✓ VERIFIED
receipt.json
{ "receipt_id": "rct_7f3a...", "assertion": "User prefers dark mode", "status": "verified", "confidence": 0.94, "signature": "ed25519:a8c3f1...", "verified_at": "2026-04-06T14:32:01Z", "chain_position": 42 }

Without VerifiedState vs. With VerifiedState

FeatureWithoutWith VerifiedState
Memory verification None Ed25519 signed receipts
Conflicts Silent overwrite Auto-detected

FAQ

Is it TypeScript-native?

Yes. The entire VerifiedState stack is TypeScript. No Python dependencies.

Related Integrations

Never explain your project twice.

Add VerifiedState once. Keep project state available across your AI agents.