Trace and evaluate Cursor agents with Langfuse, powered by ClickHouse
Blog post from ClickHouse
Langfuse’s open-source Observability plugin for Cursor records model calls, tool executions, token usage, latency, and related metadata as traces, enabling teams to analyze agent behavior, costs, and performance. Powered by ClickHouse, Langfuse v4 stores trace context alongside observations to support investigation of individual prompts and aggregate dashboards for usage, cost, latency, and evaluation scores across users, models, tags, and environments. The guide explains how to install and configure the plugin with Langfuse API keys, notes its privacy and logging settings, and describes how Cursor prompts are represented through LLM, tool, subagent, and context-compaction observations. It presents a workflow in which teams identify unusually expensive turns, detect recurring inefficiencies such as repeated file reads or failed shell-command retries, revise project instructions, and evaluate whether changes preserve task completion while reducing cost and latency. Langfuse can also support broader AI application development by turning production cases into evaluation datasets, comparing prompt, model, and tool changes before deployment, enforcing quality thresholds in CI, and feeding poorly scored production traces back into future experiments.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| Observability | 5 | 2,156 | 528 | 160 | -22% |
| LLM | 3 | 4,241 | 850 | 196 | -30% |
| Agent Evaluations | 1 | 134 | 57 | 24 | -36% |
| Cloud agents | 1 | 99 | 33 | 20 | +5% |
| Data Pipeline | 1 | 209 | 116 | 64 | -23% |
| MCP | 1 | 8,681 | 825 | 201 | -18% |
| Subagents | 1 | 186 | 71 | 40 | -29% |
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.