Comparison

Mastra vs Zep

No clear leader: Zep (58.4) and Mastra (58.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
Zep58
Score
vioscaleAI score
Mastra58 / 100low · 44%
Zep58 / 100medium · 55%
Pricing
Free tier
Mastra✓
Zep✓
Model
Price level
Mastrahigh
Zephigh
Starting price
Mastra$250
Zep$125
Transparent
Mastra✓
Zep✓
Integrations
Count
Mastra14
Zep9
Adoption
Dependent repos
Mastra0
Zep–
Github stars
Mastra28,824
Zep–
Activity
Commits last 30d
Mastra100
Zep–
Release
Cadence days
Mastra2
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

Combines data, documents, and conversation history from across your organization into structured knowledge graphs with access controls, allowing AI agents to retrieve the specific information they need for each task.

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 ↗

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✓
On-premise
Mastra✓
Zep✗

Integrations

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

In common (3)
  • OpenAI
  • Anthropic
  • Google Gemini

Mastra

38 total - 35 not shared
  • 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
  • Express
  • +11 more
Independently observed

Zep

9 total - 6 not shared
  • Claude
  • Cursor
  • Azure OpenAI
  • Neo4j
  • FalkorDB
  • Amazon Neptune
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.