Create

Sign in to ReadmeX

or

How we handle your data: Privacy Policy

ReadmeX

Your AI reading companion

What would you like to catch up on?

Pick a briefing, or ask your own question.

Your community and people briefings stay personal to you.

Langfuse

AI overview

Sign in and the AI will write an overview from our coverage.

Headlines · 20

  1. How to Read LLM API Token Bills

    An article explains why total_tokens alone cannot determine LLM API costs and breaks usage into ordinary input, cache-write, cache-read and output tokens. It compares OpenAI-style and Anthropic-style usage fields, noting that OpenAI prompt tokens include cached reads while Anthropic input tokens exclude them, so directly adding all fields can cause double billing. It provides a four-component cost formula and a per-call logging table. The example prices and token-price ratios are illustrative, so reconciliation should use current provider pricing and billing records.

    掘金 · 人工智能 · 🔥 4
  2. A Six-Stage Guide to Tracing LLM Apps with Langfuse

    A technical article organizes LLM observability into six stages: selecting what to observe, instrumenting calls, defining span data, exporting traces, mapping semantics, and storing observations. It explains OpenTelemetry and Langfuse integration, including context propagation, head and tail sampling, redaction, version metadata, and troubleshooting missing or duplicated spans. The author recommends observing business-significant or costly-to-repeat steps while collecting security events in full, but notes that the cited storage estimates are experiential assumptions rather than measurements.

    掘金 · 人工智能 · 🔥 2
  3. Tracing an AI Customer-Service Mistake to Its Failing Step

    A developer built 12 legal-rule questions for a customer-service AI and used Observability Cloud to replay two rule versions under slow and failed retrieval conditions. Across 240 controlled replays, the second version passed 116 of 120 content checks, while four requests timed out during statute retrieval; the trace data separated answer-quality failures from retrieval failures. The article also shows how Prompt Eval, Trace and Span inspection, and dashboards can locate incorrect citations, missing conditions, and stalled workflow steps.

    掘金 · 人工智能 · 🔥 0
  4. Building an AI App Foundation Before Writing Business Logic

    A project author documents seven preparation steps that made the Java, React and Python tiers start and communicate without implementing business features. The setup included 13 modules and more than 80 numbered decisions, an OpenAPI contract with 10 schemas, three repositories with AGENTS.md files, Dockerized middleware, health endpoints and end-to-end checks. The author says every listed health check returned HTTP 200, although authentication, uploads, indexing, evaluation and CI remained unimplemented.

    掘金 · 人工智能 · 🔥 0
  5. Why Output Redaction Alone Can Leave PII in AI Application Logs and Traces

    A Juejin AI application-production handbook demonstrates that redacting model output is insufficient when full prompts and answers may also persist in structured logs, Langfuse traces, and SQLite caches. Its demo covers PII detection, pattern ordering, archive-time log redaction, and output integration, including a case where a phone-number rule partially exposes an ID number. The accompanying tests reportedly passed 8 privacy checks and 128 checks overall, but the evidence comes from the author's own demo.

    掘金 · 人工智能 · 🔥 0
  6. Three Open-Source Routes to Lowering LLM Costs

    A report organizes open-source LLM cost optimization into request-level routing, offline prompt optimization, and consumption control within individual calls. It discusses tools including RouteLLM, DSPy, PromptWizard, LiteLLM, LLMLingua, GPTCache, Langfuse, and Helicone, and recommends a sequence of observation, caching, context hygiene, routing, and prompt optimization. The cited savings and performance figures come from papers, project materials, or vendors and may not carry over to production. Prompt optimization requires a computable evaluation metric, and each layer should pass a quality-gate regression before being retained.

    掘金 · 人工智能 · 🔥 0
  7. Building DeepEval Assertion Gates for RAG Evaluation

    A Juejin AI tutorial documents a DeepEval-based RAG evaluation workflow using a self-developed Agent platform, a 16-document knowledge base and three sampled questions. It separates sample collection from scoring, uses deepseek-chat as the judge, and shows how non-zero exit codes can block CI pipelines. On the reported sample, answer relevancy averaged 0.83 and faithfulness 1.00, while contextual relevancy averaged 0.28 against a custom 0.7 threshold.

    掘金 · 人工智能 · 🔥 0
  8. A Practical Threat Map for AI Applications

    An AI application security guide proposes a five-step threat-modeling workflow: identify assets, map trust boundaries, list threats, rank risks, and prioritize mitigations. Using a demo system, the author maps input, output, permission, resource, and trust risks to OWASP LLM risks and ranks five priorities. The report also shows how the threat model became outdated after an injection defense was added. In the author’s offline test, the result was “8/8 passed,” but INJ-08, a pinyin-obfuscation case, was deliberately allowed through as a known limitation. A separate live request was intercepted.

    掘金 · 人工智能 · 🔥 0
  9. Agent Development 10: Observability and Fault Localization

    The tenth Agent development tutorial uses an order-query task to demonstrate how to distinguish a tool timeout from a result associated with the wrong order. It explains how Traces, Spans, structured logs, and metrics work together, and includes runnable Python code and unit tests covering parent-child relationships, error location, attribute filtering, and result validation. The example is a single-process synchronous teaching implementation using mock data; it does not implement cross-service Trace context propagation or a real OpenTelemetry or observability-platform integration. Token figures are fixed mock values rather than real tokenization, model billing, or production traffic.

    掘金 · 人工智能 · 🔥 0
  10. A practical framework for event-driven AI agent orchestration

    An article presents an engineering framework for AI agent “outer loops,” using Task, Run, Runner, and Trigger to connect event intake, orchestration, isolated execution, review, rework, and delivery. It describes example components including Firstmate, TreeHouse, ego browser, OpenTelemetry, and Langfuse, and recommends replaying real failure cases with fixed inputs and scores to evaluate task designs. The article characterizes DSH Super-agent as an open-source prototype and says its coding scenario is a mock; actual tasks still require evaluation. It also notes that coding workflows can be unstable and that direct alignment with the executing agent may be preferable when human judgment is needed.

    掘金 · 人工智能 · 🔥 0
  11. Workrun investigates why a simple greeting used 5,671 tokens

    A Workrun developer reported that the greeting “Hello, how is your day today?” returned normally but consumed 5,671 tokens, prompting an investigation into hidden agent costs. The account describes adding Langfuse observability alongside OpenTelemetry, splitting routing from task execution, using LiteLLM Proxy for team access and usage attribution, and adapting JSON output for a DeepSeek model path. The developer also proposes evaluating workflow requests by routing correctness, usable outputs, verification status, usage, latency, and repair counts rather than token count alone.

    掘金 · 人工智能 · 🔥 0
  12. How Dewu debugs and evaluates a load-testing AI Agent

    Dewu Technology describes integrating an AI analysis Agent into its load-testing debugging workflow, where the Agent gathers configurations, scripts, request responses, logs and traces to perform preliminary diagnosis and propose fixes. The team uses Langfuse traces to investigate inaccurate results, while CLI Mock and fixed regression cases support controlled backtesting of repairs and model comparisons. Reported improvements are attributed to this workflow, although some metrics and version details require verification.

    掘金 · 人工智能 · 🔥 0
  13. AWS details a self-service LLM gateway for Amazon Bedrock

    AWS Machine Learning Blog presents a reference pattern for running LiteLLM on AWS Fargate as a self-service gateway in front of Amazon Bedrock. The OpenAI-compatible API gives developers dedicated keys and access to supported foundation models while adding per-user spend controls, CloudWatch monitoring and optional Langfuse tracing. The tutorial uses Claude Sonnet and Claude Haiku for its examples and includes AWS CDK constructs for application inference profiles, IAM and alarms.

    AWS Machine Learning Blog · 🔥 0
  14. AWS open-sources UAEF for framework-agnostic AI agent evaluation

    Amazon Web Services has open-sourced the Universal Agent Evaluation Framework (UAEF), a system that evaluates AI agents built on different frameworks through adapters that normalize each framework's traces into a common format. UAEF scores those traces with 36 built-in metrics across seven quality dimensions, stores results in Amazon DynamoDB and Amazon S3, and produces statistical reports plus optional LLM-generated insights on Amazon Bedrock. According to The Next Web, a score drop of more than 5% is flagged as a regression, and AWS says 12 organizations in telecom, healthcare and financial services have used the tool to compare agent versions before release.

    AWS Machine Learning Blog · 🔥 0
  15. A Practical Guide to AI Agent Evaluation Toolchains

    A Juejin tutorial organizes AI agent and application evaluation into four approaches: manual review, custom scripts, evaluation frameworks, and managed platforms. It compares tools including Promptfoo, DeepEval, LangSmith, RAGAS, and Langfuse, while advising teams to define datasets, metrics, and scorers before selecting execution tools. The article also warns about licensing, judge-model costs, vendor lock-in, and the limits of automating poorly defined evaluations.

    掘金 · 人工智能 · 🔥 0
  16. A Task-Level Framework for Evaluating AI Agents

    The ETF Agent evaluation framework argues that a green test only confirms that a check passed under defined conditions, not that the user’s task was completed. It recommends separating runtime behavior, evidence retrieval, content judgment and user outcomes, while preserving failed, inconclusive and corrected observations so model and system quality can be compared on a valid denominator. The article combines practical guidance on RAG, traces, model judges, sub-agent contributions and cost with historical examples from its own development process.

    掘金 · 人工智能 · 🔥 0
  17. Agent observability: tracing a wrong number across four handoffs

    A technical article uses a teaching scenario in which an agent cites the correct announcement but reports an incorrect number, with no API error and an all-green tracing page. It proposes four checkpoints: source to tool result, tool result to actual model request, request to generated answer, and generated answer to user-visible text. The article also draws on the authors’ own Langfuse observability records, covering a 256 KiB body-capture limit, a double-slash URL that redirected requests and caused a background export error, an isolated ClickHouse recovery drill, and de-duplication of cost records representing the same physical request. The opening scenario is explicitly a teaching exercise; possible causes such as missing units, omitted footnotes, incomplete input and model misunderstanding are branches rather than a confirmed root cause.

    掘金 · 人工智能 · 🔥 0
  18. PentAGI: open-source autonomous penetration testing multi-agent system

    The project README describes PentAGI as an open-source, self-hosted multi-agent system for autonomous penetration testing, developed by VXControl, a security engineering company based in Dubai. It says a user describes a target and goal in plain language; specialized AI agents plan the work and run 20+ professional tools such as nmap, Metasploit and sqlmap inside an isolated Docker sandbox, remember what they learned and return a report. The README also says results and successful approaches are stored in PostgreSQL with pgvector, with an optional Neo4j-based Graphiti knowledge graph, and that the system supports 10+ cloud LLM providers, an OpenAI-compatible gateway and local models through Ollama or vLLM. These are the project's own claims.

    GitHub Trending(每日) · 🔥 0
  19. Anthropic adds OpenTelemetry agent traces to Claude Platform in public beta

    Anthropic announced on its Claude blog that Claude Managed Agents, the Messages API and Claude SDKs can now send OpenTelemetry (OTel) traces to any OTel tool, letting users follow each step an agent takes, including model calls, tool use and MCP server calls. After adding a destination in the Claude Console, every agent turn and model call arrives in an observability tool as a standard OpenTelemetry trace with latency, tokens and IDs, while the SDKs export traces automatically. The capability is in public beta, and Anthropic says the traces follow OpenTelemetry GenAI semantic conventions and work with Grafana Cloud, Honeycomb, Sentry, Splunk, as well as Datadog, Langfuse, LangSmith and PostHog.

    Claude Blog · 🔥 0
  20. Mastra Platform adds trace imports, starting with Langfuse

    Mastra introduced trace imports, letting users pull existing traces from third-party observability providers into the Mastra platform; Langfuse is the first supported source, with more providers to follow. Imported traces appear alongside Mastra-generated traces in the platform and deployed Studio for debugging, filtering and comparison. Mastra says imports preserve span types such as agent_run, model_generation and tool_call, along with parent-child structure, timestamps, inputs, outputs, usage and cost, while scores, feedback, datasets, attachments and logs are omitted. The feature requires [email protected] and @mastra/[email protected] or later and supports dry-run previews, date-window imports and resuming interrupted imports.

    Mastra Blog · 🔥 0

Experience and discussion from the community

Share my Langfuse experienceAsk about Langfuse

Nobody has shared their experience with Langfuse yet.