# Graphiti vs Langfuse
_Agent Infrastructure · independent comparison_

> Graphiti and Langfuse are both open-source agent infrastructure you can self-host for free. Graphiti is written primarily in Python; Langfuse in TypeScript. Neither is universally better — pick by fit.

## Side by side

**Graphiti**
- Open source · Infrastructure · 31k★ · Python · Apache-2.0 · active 1 day ago
- Best for: Agents whose memory must reflect changing facts, such as customer or project state over time.
- [listing](https://agentsearchengine.app/agents/graphiti) · [official](https://help.getzep.com/graphiti)

**Langfuse**
- Open source · Infrastructure · 35k★ · TypeScript · MIT · active today
- Best for: Teams that want production-grade, self-hostable tracing and evals for LLM apps.
- [listing](https://agentsearchengine.app/agents/langfuse) · [official](https://langfuse.com)

## Key differences

- Graphiti is written primarily in Python; Langfuse in TypeScript.
- Licensing differs: Graphiti is Apache-2.0, Langfuse is MIT.

## Which to choose

**Choose Graphiti if:** Agents whose memory must reflect changing facts, such as customer or project state over time.

**Choose Langfuse if:** Teams that want production-grade, self-hostable tracing and evals for LLM apps.

## FAQ

**What's the main difference between Graphiti and Langfuse?**
Graphiti is written primarily in Python; Langfuse in TypeScript.

**Is Graphiti or Langfuse better?**
Neither is universally better. Graphiti is the stronger fit for Agents whose memory must reflect changing facts, such as customer or project state over time; Langfuse for Teams that want production-grade, self-hostable tracing and evals for LLM apps. Use the side-by-side specs to decide by your own constraints.

**Is Graphiti or Langfuse free?**
Graphiti is free to run and self-host; Langfuse is free to run and self-host. Both are free to self-host — you only pay for the infrastructure and any model or API usage.

**Which is more popular, Graphiti or Langfuse?**
By GitHub stars — a proxy for open-source adoption — Langfuse is ahead (35k vs 31k). Stars measure attention, not necessarily the better fit for you.

---
Source: [Agent Search Engine](https://agentsearchengine.app) — https://agentsearchengine.app/compare/graphiti-vs-langfuse
