Comparison

Mastra vs Zep

No clear leader: Mastra (59.3) and Zep (58.5) 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.
Mastra59
Zep59
Score
vioscaleAI score
Mastra59 / 100low · 43%
Zep59 / 100medium · 55%
Pricing
Free tier
Mastra✓
Zep✓
Model
Price level
Mastramid
Zephigh
Starting price
Mastra$25
Zep$125
Transparent
Mastra✓
Zep✓
Integrations
Count
Mastra23
Zep10
Adoption
Dependent repos
Mastra0
Zep–
Github stars
Mastra29,834
Zep–
Activity
Commits last 30d
Mastra100
Zep–
Release
Cadence days
Mastra4
Zep–
History
Mastra20 items
Zep–
Language
Primary
Zep–
Content
Faq

Capabilities

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

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

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

Zep

Zep provides temporal knowledge graph management and agent memory services for enterprise AI systems. It unifies data from multiple business sources into governed context graphs, allowing agents to query relevant information in real-time while maintaining access controls and compliance audit trails.

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 $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 ↗

Zep

from $125/moUsage-basedFree tier

From $125/month. Free tier with 10,000 credits/month.

  • FreeFree
    • 10,000 credits per month
    • 2 projects
    • 1 Memory MCP Server seat
    • 5 custom entity & edge types
    • Variable rate limits
    • +1 more
  • Flex$125/month with 50,000 credits, then $25 per 10,000 credits
    • 50,000 credits included
    • Auto top-up at 20%, 30-day rollover
    • 600 projects
    • 5 Memory MCP Server seats
    • 10 custom entity & edge types
    • +2 more
  • Flex Plus$375/month with 200,000 credits, then $75 per 40,000 credits
    • 200,000 credits included
    • Auto top-up at 20%, 60-day rollover
    • 1,000 projects
    • 15 Memory MCP Server seats
    • 20 custom entity & edge types
    • +4 more
  • EnterpriseContact sales
    • Custom credits with negotiated rates
    • Guaranteed rate limits with SLA
    • Unlimited projects
    • Custom Memory MCP Server seats
    • SOC 2 Type II and HIPAA BAA
    • +2 more
as of verify ↗

Platform & deployment

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

Platforms
Web
Mastra✓
Zep✓
CLI
Mastra✓
Zep✓
Deployment
Cloud / SaaS
Mastra✓
Zep✓
Self-hosted
Mastra✓
Zep✓
Hybrid
Mastra✓
Zep✓

Integrations

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

In common (5)
  • OpenAI
  • Anthropic
  • Slack
  • Google Gemini
  • Notion

Mastra

41 total - 36 not shared
  • Gemini
  • 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
  • Express
  • Cloudflare
  • +12 more
Independently observed

Zep

17 total - 12 not shared
  • Claude
  • Cursor
  • Azure OpenAI
  • Neo4j
  • FalkorDB
  • Amazon Neptune
  • Google Drive
  • Gmail
  • SharePoint
  • Snowflake
  • Databricks
  • BigQuery
Independently observed
Still deciding?

Mastra or Zep: 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.