whatisgithub

What is openclaw-exporter-to-langfuse?

aliyun/openclaw-exporter-to-langfuse — explained in plain English

Analysis updated 2026-05-18

11TypeScriptAudience · ops devopsComplexity · 4/5LicenseSetup · moderate

In one sentence

A plugin that captures AI agent, LLM, and tool call tracing data from OpenClaw and sends it to Langfuse for monitoring.

Mindmap

mindmap
  root((repo))
    What it does
      Captures tracing spans
      Forwards data to Langfuse
      Tracks tokens and prompts
    Tech stack
      TypeScript
      OpenTelemetry
      Langfuse
    Use cases
      Monitor AI agent calls
      Track token usage
      Debug LLM tool chains
    Audience
      AI infrastructure engineers
      Developers running OpenClaw
      Ops teams monitoring agents

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Send OpenClaw agent and LLM call traces to Langfuse for monitoring.

USE CASE 2

Track token usage and prompt and response content across agent runs.

USE CASE 3

Debug which tools and agents ran during a specific AI request.

USE CASE 4

Route infrastructure metrics like gateway error rates to a separate monitoring pipeline.

What is it built with?

TypeScriptOpenTelemetryLangfuseOpenClaw

How does it compare?

aliyun/openclaw-exporter-to-langfuseanousss007/ng-blatuiblockedpath/pi-xai-oauth
Stars111111
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderatemoderateeasy
Complexity4/53/52/5
Audienceops devopsdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Installation is version-matched to your OpenClaw release via a compatibility matrix, typically run by an AI agent.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

So what is it?

openclaw-exporter-to-langfuse is a plugin that collects observability data from OpenClaw, an AI gateway used for routing and managing LLM requests, and sends it to Langfuse, a platform for monitoring and evaluating AI applications. When you run AI agents that call language models and tools, it can be hard to understand what actually happened inside a given request: which agents ran, which tools were called, how many tokens were used, and what the prompts and responses looked like. This plugin hooks into OpenClaw and captures that information as structured spans, labeled records for each step such as agent invocations, LLM calls, tool executions, and session start and end events. Those spans follow the OpenTelemetry GenAI semantic conventions, a standard format for AI observability data, and are forwarded to Langfuse where you can view call chains, token usage, and prompt and response content. Separately and optionally, the plugin also supports routing infrastructure level metrics, gateway request rates, error rates, system logs, through a different pipeline to a data store and visualization tool of your choice. The README notes that on Alibaba Cloud, a managed offering called Agent-lens builds on top of this same infrastructure. Installation is handled by a shell script and managed by an AI agent that checks your OpenClaw version, looks up the compatible exporter version from a JSON compatibility matrix, and runs the appropriate installer. The plugin is written in TypeScript and licensed under MIT.

Copy-paste prompts

Prompt 1
Walk me through installing this exporter and matching it to my OpenClaw version.
Prompt 2
Explain what a span represents in this project's tracing model.
Prompt 3
Show me how to view agent and LLM call chains in Langfuse after installing this plugin.
Prompt 4
Help me set up the optional system observability pipeline alongside Langfuse tracing.

Frequently asked questions

What is openclaw-exporter-to-langfuse?

A plugin that captures AI agent, LLM, and tool call tracing data from OpenClaw and sends it to Langfuse for monitoring.

What language is openclaw-exporter-to-langfuse written in?

Mainly TypeScript. The stack also includes TypeScript, OpenTelemetry, Langfuse.

What license does openclaw-exporter-to-langfuse use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is openclaw-exporter-to-langfuse to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is openclaw-exporter-to-langfuse for?

Mainly ops devops.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.