Comparison

Mastra vs Memary

No clear leader: Mastra (58.0) and Memary (54.0) are within the 5-point margin; treat as a tie. The attribute-by-attribute breakdown below, with a source and date on every value, is the honest way to compare them.

Machine formatsMarkdownJSONGraphQLMarkdown is open. JSON and GraphQL need a free key.
Mastra58
Memary54
Score
vioscaleAI score
Mastra58 / 100low · 44%
Memary54 / 100low · 19%
Pricing
Free tier
Mastra✓
Memary✓
Model
Mastrafreemium
Memaryfree
Price level
Mastrahigh
Memaryfree
Starting price
Mastra$250
Memary–
Transparent
Mastra✓
Memary✓
Integrations
Count
Mastra14
Memary7
Adoption
Dependent repos
Mastra0
Memary0
Github stars
Mastra28,824
Memary2,660
Activity
Commits last 30d
Mastra100
Memary–
Release
Cadence days
Mastra2
Memary11
History
Mastra20 items
Memary6 items
License
Spdx
Mastra–
MemaryMIT
Language
Primary
Market
Availability
Content
Faq
Mastra7 items
Memary6 items

Capabilities

Feature-by-feature on the axes that matter for agent memory. “-” means undocumented, not absent.

Capabilities
Architecture model
MastraManaged cloud API
MemaryOpen source self hosted
Graph based entity relationship extraction
Mastra-
Memary✓
Automatic context window rolling summarization
Mastra-
Memary✓
Semantic vs episodic event chronological memory
Mastra✓
Memary✓
Cross session and multi thread user persistence
Mastra✓
Memary✓
Memory conflict resolution and fact updating
Mastra✓
Memary-
Multi tenant user and agent isolation
Mastra✓
Memary✓
Native langchain and llamaindex memory classes
Mastra-
Memary✓
Time decay and recency weighted retrieval
Mastra-
Memary✓
Zero data retention and pii redaction layer
Mastra-
Memary-
SOC2 type ii
Mastra✓
Memary✗
Mit or apache permissive oss license
Mastra✓
Memary-
Pricing model
MastraUsage based per req
MemaryFree open source

What each one is

The product in its own terms, so the numbers below have context.

Mastra

A TypeScript framework that enables developers to build AI agents and applications using language models and tools, featuring built-in memory management, workflow orchestration, and production observability. Supports both cloud deployment and self-hosted deployment anywhere.

Independently observed

Memary

An open-source framework that extends autonomous agent capabilities by storing interactions and knowledge in graph structures, enabling agents to maintain continuity and access relevant information across sessions through entity extraction and memory compression techniques.

Independently observed

Pricing

List pricing as published by each vendor, with the date we read it. Always verify at the source before you buy.

Mastra

from $250/moHybridFree tier

Free tier + pay-as-you-go. Team plan from $250/month. Enterprise custom.

  • StarterFree
    • 100K observability events/month
    • 24 CPU hours/month
    • 10GB data egress/month
    • 15 days data retention
    • Unlimited users, projects, and deployments
  • Teams$250/month + overage charges
    • 1M observability events/month
    • 250 CPU hours/month
    • 100GB data egress/month
    • 6 months data retention
    • Multiple teams
    • +2 more
  • EnterpriseContact sales
    • Custom volume and retention
    • RBAC
    • Audit logs
    • Uptime SLAs
    • Dedicated support engineer
as of verify ↗

Memary

FreeFree tier

Free and open source

as of verify ↗

Platform & deployment

Where each product runs and how it can be hosted. A dash means undocumented, not unsupported.

Platforms
Web
Mastra✓
Memary✓
CLI
Mastra✓
Memary✓
Deployment
Cloud / SaaS
Mastra✓
Memary✗
Self-hosted
Mastra✓
Memary✓
On-premise
Mastra✓
Memary✗

Integrations

What each product connects to. Counts come from the vendor's own integration directory where one exists.

In common (1)
  • OpenAI

Mastra

38 total - 37 not shared
  • Anthropic
  • Gemini
  • Slack
  • Discord
  • Telegram
  • Nango
  • Ampersand
  • Paragon
  • Zapier
  • Apideck
  • Google
  • Next.js
  • React
  • Node.js
  • Datadog
  • Vercel AI SDK UI
  • CopilotKit
  • Convex
  • DuckDB
  • ClickHouse
  • PostgreSQL
  • Elasticsearch
  • DynamoDB
  • Couchbase
  • +13 more
Independently observed

Memary

9 total - 8 not shared
  • FalkorDB
  • LangChain
  • LlamaIndex
  • Ollama
  • Neo4j
  • Perplexity
  • Google Maps
  • Alpha Vantage
Independently observed
Still deciding?

Mastra or Memary: which one depends on you

A composite score cannot know your constraints. Describe them and both get re-weighted against what you actually need, with the evidence behind every position.

Free to run, no account needed to start. How the evaluation works

Comparison generated from independently-sourced facts. Every value links to its source and retrieval date. See the method.