# Graphiti vs Mastra

**Leader by Vioscale score:** Mastra

| Attribute | Graphiti | Mastra |
|---|---|---|
| **Vioscale score** | 45.2 (35% (low)) | 54.6 (42% (low)) |
| activity.commits_last_30d | 27 | 100 |
| adoption.dependent_repos | 0 | 0 |
| adoption.github_stars | 30,320 | 27,493 |
| deployment.options | `{"on_prem":true,"self_hosted":true}` | `{"cloud":true,"self_hosted":true}` |
| description.long | An open-source framework that enables AI agents to build and query context graphs with historical awareness. Unlike static knowledge graphs, Graphiti's context graphs preserve how information changes over time and maintain provenance to source data, supporting both semantic and graph-based retrieval across evolving real-world data. | 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. |
| features.capabilities | `{"pricing_model":"free_open_source","architecture_model":"open_source_self_hosted","graph_based_entity_relationship_extraction":true,"semantic_vs_episodic_event_chronological_memory":true}` | `{"architecture_model":"managed_cloud_api","multi_tenant_user_and_agent_isolation":true,"cross_session_and_multi_thread_user_persistence":true,"semantic_vs_episodic_event_chronological_memory":true}` |
| integrations.count | 5 | 11 |
| integrations.list | `[{"name":"Neo4j"},{"name":"FalkorDB"},{"name":"Google Gemini"},{"name":"OpenAI"},{"name":"Anthropic"}]` | `[{"name":"OpenAI"},{"name":"Anthropic"},{"name":"Gemini"},{"name":"Slack"},{"name":"Discord"},{"name":"Telegram"},{"name":"Nango"},{"name":"Ampersand"},{"name":"Paragon"},{"name":"Zapier"},{"name":"Apideck"}]` |
| language.primary | Python | TypeScript |
| license.spdx | Apache-2.0 | - |
| market.availability | - | `{"hqCountry":"US","primaryMarkets":["US"],"availabilityScope":"global","availableCountries":[],"notAvailableCountries":[]}` |
| platform.support | `{"cli":true,"web":true}` | `{"cli":true,"web":true}` |
| pricing | `{"type":"open_source","freeTier":true,"sourceUrl":"https://github.com/pricing","retrievedAt":"2026-08-21T11:02:58.952Z"}` | `{"type":"hybrid","plans":[{"free":true,"name":"Starter","summary":"Free, then $10/100K events, $0.35/CPU hour, $0.10/GB egress","features":["100K observability events/month","24 CPU hours/month","10GB data egress/month","15 days data retention","Unlimited users, projects, and deployments"],"commitment":"month","components":[{"per":{"qty":100,"unit":"k observability events"},"kind":"metered","amount":10,"currency":"USD"},{"per":{"qty":1,"unit":"CPU hour"},"kind":"metered","amount":0.35,"currency":"USD"},{"per":{"qty":1,"unit":"GB data egress"},"kind":"metered","amount":0.1,"currency":"USD"}],"description":"Free tier with monthly allowances for testing and development","contactSales":false,"includedLimits":{"users":"unlimited","projects":"unlimited","cpu_hours":"24/mo","data_egress":"10GB/mo","deployments":"unlimited","data_retention":"15 days","observability_events":"100k/mo"}},{"free":false,"name":"Teams","summary":"$250/month + overage charges","features":["1M observability events/month","250 CPU hours/month","100GB data egress/month","6 months data retention","Multiple teams","SSO","SOC 2 documentation"],"commitment":"month","components":[{"kind":"fixed","amount":250,"period":"month","currency":"USD"},{"per":{"qty":100,"unit":"k observability events"},"kind":"metered","amount":8,"currency":"USD"},{"per":{"qty":1,"unit":"CPU hour"},"kind":"metered","amount":0.25,"currency":"USD"},{"per":{"qty":1,"unit":"GB data egress"},"kind":"metered","amount":0.08,"currency":"USD"}],"description":"For growing teams with higher allowances and production features","contactSales":false,"includedLimits":{"cpu_hours":"250/mo","data_egress":"100GB/mo","data_retention":"6 months","observability_events":"1M/mo"}},{"free":false,"name":"Enterprise","summary":"Custom pricing — contact sales","features":["Custom volume and retention","RBAC","Audit logs","Uptime SLAs","Dedicated support engineer"],"description":"For teams at scale with custom pricing and dedicated support","contactSales":true}],"addOns":[{"name":"Server Always-On","components":[{"kind":"fixed","amount":100,"period":"month","currency":"USD"}]}],"summary":"Free tier + pay-as-you-go. Team plan from $250/month. Enterprise custom.","currency":"USD","freeTier":true,"sourceUrl":"https://mastra.ai/blog/mastra-platform-pricing","retrievedAt":"2026-08-21T11:10:55.552Z","startingPrice":{"amount":250,"period":"month","currency":"USD"},"billingPeriods":["month"]}` |
| pricing.free_tier | yes | yes |
| pricing.model | commercial | commercial |
| pricing.price_level | free | high |
| pricing.starting_price | - | `{"amount":250,"currency":"USD"}` |
| pricing.transparent | - | yes |
| release.cadence_days | 4 | 4 |
| release.history | `[{"url":"https://github.com/getzep/graphiti/releases/tag/v0.29.3","date":"2026-07-27T20:57:23Z","type":"stable","version":"v0.29.3"},{"url":"https://github.com/getzep/graphiti/releases/tag/v0.29.2","date":"2026-06-08T14:25:35Z","type":"stable","version":"v0.29.2"},{"url":"https://github.com/getzep/graphiti/releases/tag/v0.29.1","date":"2026-05-21T03:32:50Z","type":"stable","version":"v0.29.1"},{"url":"https://github.com/getzep/graphiti/releases/tag/v0.29.0","date":"2026-04-27T15:54:37Z","type":"stable","version":"v0.29.0"},{"url":"https://github.com/getzep/graphiti/releases/tag/v0.28.2","date":"2026-03-11T16:19:31Z","type":"stable","version":"v0.28.2"},{"url":"https://github.com/getzep/graphiti/releases/tag/mcp-v1.0.2","date":"2026-03-11T19:23:05Z","type":"stable","version":"mcp-v1.0.2"},{"url":"https://github.com/getzep/graphiti/releases/tag/v0.28.1","date":"2026-02-19T15:09:58Z","type":"stable","version":"v0.28.1"},{"url":"https://github.com/getzep/graphiti/releases/tag/v0.28.0","date":"2026-02-17T20:23:53Z","type":"stable","version":"v0.28.0"},{"url":"https://github.com/getzep/graphiti/releases/tag/v0.27.2pre1","date":"2026-02-12T22:24:27Z","type":"prerelease","version":"v0.27.2pre1"},{"url":"https://github.com/getzep/graphiti/releases/tag/v0.27.1","date":"2026-02-12T00:28:39Z","type":"stable","version":"v0.27.1"},{"url":"https://github.com/getzep/graphiti/releases/tag/v0.27.0","date":"2026-02-11T14:34:07Z","type":"stable","version":"v0.27.0"},{"url":"https://github.com/getzep/graphiti/releases/tag/v0.27.0pre2","date":"2026-02-05T16:39:32Z","type":"prerelease","version":"v0.27.0pre2"},{"url":"https://github.com/getzep/graphiti/releases/tag/v0.27.0pre1","date":"2026-01-29T19:57:48Z","type":"prerelease","version":"v0.27.0pre1"},{"url":"https://github.com/getzep/graphiti/releases/tag/v0.26.3","date":"2026-01-22T16:31:05Z","type":"stable","version":"v0.26.3"},{"url":"https://github.com/getzep/graphiti/releases/tag/v0.26.2","date":"2026-01-21T21:11:55Z","type":"stable","version":"v0.26.2"},{"url":"https://github.com/getzep/graphiti/releases/tag/v0.26.1","date":"2026-01-21T20:18:26Z","type":"stable","version":"v0.26.1"},{"url":"https://github.com/getzep/graphiti/releases/tag/v0.26.0","date":"2026-01-16T16:09:11Z","type":"stable","version":"v0.26.0"},{"url":"https://github.com/getzep/graphiti/releases/tag/v0.25.5","date":"2026-01-13T14:14:38Z","type":"stable","version":"v0.25.5"},{"url":"https://github.com/getzep/graphiti/releases/tag/v0.25.4","date":"2026-01-12T20:43:56Z","type":"stable","version":"v0.25.4"},{"url":"https://github.com/getzep/graphiti/releases/tag/v0.25.3","date":"2026-01-07T21:38:09Z","type":"stable","version":"v0.25.3"}]` | `[{"url":"https://github.com/mastra-ai/mastra/releases/tag/%40mastra/core%401.62.0","date":"2026-08-26T13:40:46Z","type":"stable","version":"@mastra/core@1.62.0"},{"url":"https://github.com/mastra-ai/mastra/releases/tag/%40mastra/core%401.61.0","date":"2026-08-24T09:02:14Z","type":"stable","version":"@mastra/core@1.61.0"},{"url":"https://github.com/mastra-ai/mastra/releases/tag/%40mastra/core%401.60.0","date":"2026-08-19T15:45:54Z","type":"stable","version":"@mastra/core@1.60.0"},{"url":"https://github.com/mastra-ai/mastra/releases/tag/%40mastra/core%401.59.0","date":"2026-08-16T16:01:50Z","type":"stable","version":"@mastra/core@1.59.0"},{"url":"https://github.com/mastra-ai/mastra/releases/tag/%40mastra/core%401.58.0","date":"2026-08-12T15:50:43Z","type":"stable","version":"@mastra/core@1.58.0"},{"url":"https://github.com/mastra-ai/mastra/releases/tag/%40mastra/core%401.57.0","date":"2026-08-10T09:06:32Z","type":"stable","version":"@mastra/core@1.57.0"},{"url":"https://github.com/mastra-ai/mastra/releases/tag/%40mastra/core%401.56.0","date":"2026-08-06T08:58:48Z","type":"stable","version":"@mastra/core@1.56.0"},{"url":"https://github.com/mastra-ai/mastra/releases/tag/%40mastra/core%401.55.0","date":"2026-07-31T12:00:56Z","type":"stable","version":"@mastra/core@1.55.0"},{"url":"https://github.com/mastra-ai/mastra/releases/tag/%40mastra/core%401.54.0","date":"2026-07-30T11:54:39Z","type":"stable","version":"@mastra/core@1.54.0"},{"url":"https://github.com/mastra-ai/mastra/releases/tag/%40mastra/core%401.53.0","date":"2026-07-29T08:33:48Z","type":"stable","version":"@mastra/core@1.53.0"},{"url":"https://github.com/mastra-ai/mastra/releases/tag/%40mastra/core%401.52.0","date":"2026-07-27T15:07:07Z","type":"stable","version":"@mastra/core@1.52.0"},{"url":"https://github.com/mastra-ai/mastra/releases/tag/%40mastra/core%401.51.0","date":"2026-07-15T13:33:44Z","type":"stable","version":"@mastra/core@1.51.0"},{"url":"https://github.com/mastra-ai/mastra/releases/tag/%40mastra/core%401.50.0","date":"2026-07-08T15:12:13Z","type":"stable","version":"@mastra/core@1.50.0"},{"url":"https://github.com/mastra-ai/mastra/releases/tag/%40mastra/core%401.49.0","date":"2026-07-07T07:59:25Z","type":"stable","version":"@mastra/core@1.49.0"},{"url":"https://github.com/mastra-ai/mastra/releases/tag/%40mastra/core%401.48.0","date":"2026-07-01T15:35:42Z","type":"stable","version":"@mastra/core@1.48.0"},{"url":"https://github.com/mastra-ai/mastra/releases/tag/%40mastra/core%401.47.0","date":"2026-07-01T08:45:21Z","type":"stable","version":"@mastra/core@1.47.0"},{"url":"https://github.com/mastra-ai/mastra/releases/tag/%40mastra/core%401.46.0","date":"2026-06-24T16:40:41Z","type":"stable","version":"@mastra/core@1.46.0"},{"url":"https://github.com/mastra-ai/mastra/releases/tag/%40mastra/core%401.45.0","date":"2026-06-19T15:44:03Z","type":"stable","version":"@mastra/core@1.45.0"},{"url":"https://github.com/mastra-ai/mastra/releases/tag/%40mastra/core%401.42.0","date":"2026-06-12T14:48:23Z","type":"stable","version":"@mastra/core@1.42.0"},{"url":"https://github.com/mastra-ai/mastra/releases/tag/%40mastra/core%401.41.0","date":"2026-06-05T09:10:36Z","type":"stable","version":"@mastra/core@1.41.0"}]` |
| security.gdpr | - | yes |
| security.soc2 | - | yes |
| security.vulnerabilities | `{"count":1,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=pypi&package_name=graphiti-core&per_page=100","last_12m":1,"max_severity":"HIGH"}` | `{"count":0,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=npm&package_name=%40mastra%2Ffirecrawl&per_page=100","last_12m":0,"max_severity":null}` |

## Capabilities (Agent Memory)

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

*Source: Vioscale. Generated 2026-09-01T15:16:12.540Z. "-" = undocumented, not absent.*
