Comparison

Mastra vs Memary

On the evidence we track, Mastra leads this comparison with a composite score of 59/100. Scores are only directly comparable because these tools share a category; the full breakdown and every source is below.

Machine formatsMarkdownJSONGraphQLMarkdown is open. JSON and GraphQL need a free key.
★Mastra59
Memary54
Score
vioscaleAI score
Mastra59 / 100low · 43%
Memary54 / 100low · 19%
Pricing
Free tier
Mastra✓
Memary✓
Model
Mastrafreemium
Memaryfree
Price level
Mastramid
Memaryfree
Starting price
Mastra$25
Memary–
Transparent
Mastra✓
Memary✓
Integrations
Count
Mastra23
Memary7
Adoption
Dependent repos
Mastra0
Memary0
Github stars
Mastra29,834
Memary2,664
Activity
Commits last 30d
Mastra100
Memary–
Release
Cadence days
Mastra4
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

Leader

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 memory layer that enables autonomous agents to evolve and learn over time, capturing memories through knowledge graphs and memory streams with multi-agent support and dashboard visualization.

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

Leader
from $25/moSubscriptionFree tier

Free tier with $25–$250/month subscriptions; usage-based overages for compute and storage

  • FreeFree
    • Unlimited agents
    • Unlimited users
    • Unlimited deployments
    • 100K observability events
    • 10 GB shared egress
    • +1 more
  • Starter$25/month
    • Everything in Free
    • 1 small dedicated project
    • Usage alerts
    • 250K observability events
    • 25 GB shared egress
    • +1 more
  • Team$250/month
    • Everything in Starter
    • 2 medium dedicated projects
    • SOC 2 report
    • 10M observability events
    • 50 GB shared egress
    • +1 more
  • EnterpriseContact sales
    • Everything in Team
    • RBAC
    • SSO
    • Audit logs
    • Custom connections
    • +1 more
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✓
Hybrid
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

Leader
41 total - 40 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
  • +16 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.