Observability
Trace every LLM call with Langfuse and watch the whole system with Grafana and OpenTelemetry — two optional stacks next to the built-in dashboard.
Two optional stacks show what PentAGI is doing: Langfuse for model calls, and Grafana with OpenTelemetry for the rest of the system.
PentAGI's own Dashboard already charts flowsflowOne run of PentAGI: a goal, the tasks created from your messages, and everything the agents did along the way., tool callstool callA request from the model to run one of the agent's tools, such as a terminal command or a web search., tokens and cost over time; the stacks below add full traces and system metrics.

Langfuse
Langfuse records prompts, completions, tokens and costs per agentagentAn AI agent of PentAGI: a model with its own prompt, settings and tools that does one kind of work in a flow, such as testing, writing code or searching the web..
LANGFUSE_BASE_URL=http://langfuse-web:3000
LANGFUSE_PROJECT_ID=same_as_LANGFUSE_INIT_PROJECT_ID
LANGFUSE_PUBLIC_KEY=same_as_LANGFUSE_INIT_PROJECT_PUBLIC_KEY
LANGFUSE_SECRET_KEY=same_as_LANGFUSE_INIT_PROJECT_SECRET_KEYSet the Langfuse credentials in .env (LANGFUSE_, LANGFUSE_, LANGFUSE_, LANGFUSE_, LANGFUSE_, LANGFUSE_, LANGFUSE_ and the project keys), then start the stack:
curl -O https://raw.githubusercontent.com/vxcontrol/pentagi/main/docker-compose-langfuse.yml
docker compose -f docker-compose.yml -f docker-compose-langfuse.yml up -dThe Langfuse UI is available at http:/.
Grafana and OpenTelemetry
OTEL_HOST=otelcol:8148git clone --depth 1 https://github.com/vxcontrol/pentagi.git pentagi-src
cp -r pentagi-src/observability ./observability
rm -rf pentagi-src
curl -O https://raw.githubusercontent.com/vxcontrol/pentagi/main/docker-compose-observability.yml
docker compose -f docker-compose.yml -f docker-compose-observability.yml up -dGrafana is available at http:/, with metrics in VictoriaMetrics, traces in Jaeger and logs in Loki.
To send Langfuse telemetry into the same stack, set LANGFUSE_.
Everything together
git clone --depth 1 https://github.com/vxcontrol/pentagi.git pentagi-src
cp -r pentagi-src/examples/graphiti ./graphiti
cp -r pentagi-src/examples/neo4j ./neo4j
rm -rf pentagi-src
curl -O https://raw.githubusercontent.com/vxcontrol/pentagi/main/docker-compose-graphiti.yml
docker compose \
-f docker-compose.yml \
-f docker-compose-langfuse.yml \
-f docker-compose-graphiti.yml \
-f docker-compose-observability.yml \
up -dLast updated on