Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

docs: Update CONTRIBUTING.md

Marc Klingen865ef2fbefbb
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 44d4c37165..e7b4f9fcf4 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -53,9 +53,7 @@ A good first step is to search for open [issues](https://github.com/langfuse/lan
### Architecture Overview
-> [!NOTE]
-> Infrastructure will change in Langfuse version 3.0. More in the [GitHub Discussions](https://github.com/orgs/langfuse/discussions/1902).
-> `langfuse/langfuse/worker` is under active development and not recommended for production use in Langfuse 2.x.
+**Langfuse v2**
```mermaid
flowchart TB
@@ -93,15 +91,66 @@ flowchart TB
I --- Prisma
end
+ Prisma --- DB
+ JS --- API
+ Python --- API
+```
+
+**Langfuse v3 (work in progress, not released yet)**
+
+> [!NOTE]
+> Infrastructure will change in Langfuse version 3.0. More in the [GitHub Discussions](https://github.com/orgs/langfuse/discussions/1902).
+> `langfuse/langfuse/worker` is under active development and not recommended for production use in Langfuse 2.x.
+
+```mermaid
+flowchart TB
+ subgraph s4["Clients"]
+ subgraph s2["langfuse/langfuse-python"]
+ Python["Python low-level SDK"]
+ Decorator["observe() decorator"] -->|extends| Python
+ OAI["OpenAI drop-in replacement"] -->|extends| Python
+ Llamaindex["LlamaIndex Integration"] -->|extends| Python
+ LCPYTHON["Langchain Python Integration"] -->|extends| Python
+ Langflow -->|uses| LCPYTHON
+ LiteLLM -->|uses| Python
+ end
+ subgraph s3["langfuse/langfuse-js"]
+ JS["JS SDK"]
+ LCJS["Langchain JS Integration"] -->|extends| JS
+ Flowise -->|uses| LCJS
+ end
+ end
+
+ DB[Postgres Database]
+ Redis[Redis Cache/Queue]
+ Clickhouse[Clickhouse Database]
+
+ subgraph s1["Application (langfuse/langfuse/web)"]
+ API[Public HTTP API]
+ G[TRPC API]
+ I[NextAuth]
+ H[React Frontend]
+ ORM
+ H --> G
+ H --> I
+ G --> I
+ G --- ORM
+ API --- ORM
+ I --- ORM
+ end
+
subgraph s5["Application (langfuse/langfuse/worker)"]
- Worker_API[Public HTTP API]
+ Worker
end
- API --> Worker_API
- Worker_API --- DB
- Worker_API --- Redis
+ Worker --- DB
+ Worker --- Redis
+ Worker --- Clickhouse
+
+ ORM --- DB
+ ORM --- Redis
+ ORM --- Clickhouse
- Prisma --- DB
JS --- API
Python --- API
```
@@ -116,7 +165,7 @@ flowchart LR
Browser ---|Web UI & TRPC API| App
Integrations/SDKs ---|Public HTTP API| App
subgraph i1["Application Network"]
- App["Langfuse Application (Docker or Serverless)"]
+ App["Langfuse Application"]
end
subgraph i2["Database Network"]
DB["Postgres Database"]