You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+75-17Lines changed: 75 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,50 @@
1
1
# Claude Code + Langfuse: Session Observability Template
2
2
3
-
Self-hosted Langfuse for capturing every Claude Code conversation — prompts, responses, tool calls, and session grouping.
3
+
Capture every Claude Code conversation — prompts, responses, tool calls, and session grouping — using Langfuse Cloud or a self-hosted instance.
4
4
5
-
This template provides a complete, production-ready setup for observing your Claude Code sessions using Langfuse. Everything runs locally in Docker, with automatic session tracking and incremental state management.
5
+
This template provides a complete, production-ready setup for observing your Claude Code sessions using Langfuse. Choose between **Langfuse Cloud** (zero infrastructure) or **self-hosted** (everything runs locally in Docker), with automatic session tracking and incremental state management.
6
6
7
7
**Read the full story:**[I Built My Own Observability for Claude Code](https://doneyli.substack.com/p/i-built-my-own-observability-for) — why I built this, how it works, and screenshots of the setup in action.
8
8
9
-
## Prerequisites
9
+
## Choose Your Setup
10
10
11
-
- Docker and Docker Compose
12
-
- Python 3.11 or higher
13
-
- Claude Code CLI (desktop or terminal)
14
-
- 4-6GB available RAM
15
-
- 2-5GB available disk space
11
+
|| Langfuse Cloud | Self-Hosted |
12
+
|---|---|---|
13
+
|**Infrastructure**| None (fully managed) | Docker on your machine |
0 commit comments