Skip to content

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

docs: Contributing.md

Marc Klingen0be0628d330c
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 6b298d81a3..019c999b42 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -21,13 +21,13 @@ _Before making any significant changes, please [open an issue](https://github.co
Once we've discussed your changes and you've got your code ready, make sure that tests are passing and open your pull request.
-## Getting started
-
A good first step is to search for open [issues](https://github.com/langfuse/langfuse/issues). Issues are labeled, and some good issues to start with are labeled: [good first issue](https://github.com/langfuse/langfuse/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22).
+## Project Overview
+
### Technologies we use
-- Application (langfuse/langfuse)
+- Application (this repository)
- NextJS 14, pages router
- NextAuth.js / Auth.js
- tRPC: Frontend APIs
@@ -36,9 +36,9 @@ A good first step is to search for open [issues](https://github.com/langfuse/lan
- Tailwind CSS
- shadcn/ui tailwind components (using Radix and tanstack)
- Fern: generate OpenAPI spec and Pydantic models
-- JS SDK
+- JS SDK ([langfuse/langfuse-js](https://github.com/langfuse/langfuse-js))
- openapi-typescript to generated types based on OpenAPI spec
-- Python SDK
+- Python SDK ([langfuse/langfuse-python](https://github.com/langfuse/langfuse-python))
- Pydantic for input validation, models generated by fern
### Architecture Overview
@@ -62,7 +62,7 @@ flowchart TB
DB[Postgres Database]
subgraph s1["Application (langfuse/langfuse)"]
- API[Public API]
+ API[Public HTTP API]
G[TRPC API]
I[NextAuth]
H[React Frontend]
@@ -79,11 +79,19 @@ flowchart TB
Python --- API
```
-### Infrastructure
+### Infrastructure & Network Overview
```mermaid
flowchart LR
- App["Langfuse Application Container (Docker)"] --> DB["Postgres Database"]
+ Browser ---|Web UI & TRPC API| App
+ Integrations/SDKs ---|Public HTTP API| App
+ subgraph i1["Application Network"]
+ App["Langfuse Application (Docker or Serverless)"]
+ end
+ subgraph i2["Database Network"]
+ DB["Postgres Database"]
+ end
+ App --- DB
```
## Development Setup
@@ -187,3 +195,5 @@ When a new release is tagged on the `main` branch (excluding prereleases), it tr
## License
Langfuse is MIT licensed, except for `ee/` folder. See [LICENSE](LICENSE) and [docs](https://langfuse.com/docs/open-source) for more details.
+
+When contributing to the Langfuse codebase, you need to agree to the [Contributor License Agreement](https://cla-assistant.io/langfuse/langfuse). You only need to do this once and the CLA bot will remind you if you haven't signed it yet.