What is PXFuse

Updated at:

PXFuse is an observability and security audit platform for AI agents and coding agents. Built on PolarDB-X for unified storage, it provides three core capabilities: full-stack tracing, security auditing, and intelligent insights.

Note

PXFuse is currently in public preview. If you are interested, please submit a ticket to contact us.

Overview

PXFuse is an observability and security audit platform for AI agents and coding agents. It is built on the open-source LLM observability platform Langfuse v3, with the storage layer unified to PolarDB-X.

With full-stack tracing, security auditing, and intelligent insights, PXFuse helps teams achieve agent behavior traceability, risk management, and performance optimization. It addresses common production challenges such as lack of visibility into agent execution, unawareness of dangerous operations, and inability to explain slow performance, high costs, or looping behavior.

Core Pain Points Addressed

Your Concern

PXFuse Solution

Capability

What did the agent actually run today? Which tools did it call?

Full-stack trace recording + overview and monitoring dashboards

Agent observability

Which dangerous commands did the agent execute when modifying code? Which sensitive files did it read? Which external sites did it access?

Command, file, and external access auditing

Security audit

Why was this run particularly slow, expensive, or looping?

Latency analysis, loop detection, and low-output detection

Agent insights

Which tool is the most unreliable and needs fixing?

Tool failure dashboard and failure clustering

Agent insights

How do I perform a post-incident review?

Session timeline replay + trace detail drill-down

Observability + audit

Deployment Architecture

Agents report data through hooks, SDKs, OpenTelemetry, or HTTP. PXFuse Web runs as a stateless container cluster that receives and writes data to PolarDB-X. Users access the console through a browser.Download

The responsibilities of each component are as follows:

Component

Role

Description

Agent side

Data producer

  • Zero-code hooks for Qoder/Claude Code.

  • Custom applications use SDK/OTel/HTTP API.

PXFuse Web

Collection + query + console

  • Stateless container cluster with built-in data collection, analytical queries, and all UI pages

  • Replicas have no local state and can scale horizontally.

PolarDB-X

Unified storage

  • Row store handles OLTP workloads; CCI handles OLAP analytics. Replaces PostgreSQL + ClickHouse.

  • Shared across cluster replicas.

Core Capabilities

PXFuse capabilities can be categorized into three pillars:

Capability Pillar

Questions Answered

Pages

Agent observability

How are my agents performing?

Overview, Monitoring Dashboard, Agent List, Call Analysis, Agent Trace, Security & Alerts

Security audit

What dangerous actions did the agent perform?

Command Audit, File Access, External Access, Session Timeline

Agent insights

How can I use agents more effectively and efficiently?

Tool Failure Dashboard, Latency Analysis, Loop Detection, Low-Output Detection, Failure Clustering

Full-Stack Tracing: Three-Layer Model

Layer

Object

Meaning

Review Value

Session layer

Session

Complete record of multi-turn user interactions

Review the entire context to locate agent hallucinations or context drift

Trace layer

Trace

A single interaction from input to output (one Q&A round)

Display execution paths as a tree to locate performance bottlenecks and frequent error points

Execution layer

Generation/Span

Each atomic operation within a trace

Duration and intermediate results for each step, enabling targeted optimization

  • Session and user tracking: Multi-turn conversations are tracked as sessions and associated with userId (employee ID / email / user ID).

  • Agent visualization: Trace details are displayed as a call tree, allowing node-by-node drill-down.

  • Source tagging: Traces automatically carry source labels such as qoder-cli and qoder-ide.

Flexible Data Collection Methods

Method

Target

Features

Qoder Hook

Qoder CLI/IDE

Zero-code, single command installation.

Claude Code Hook

Claude Code

Zero-code, single command installation.

Langfuse SDK

Custom Python/JS applications

Full control with proactive usage reporting.

OpenTelemetry

Existing OTel infrastructure

Standard protocol, no business code changes required.

HTTP Ingestion API

Any language

Universal, direct calls with Basic Auth.

Note

Fully compatible with the official Langfuse SDK, OpenTelemetry, and REST API. Simply point the host to PXFuse to get started.

Security Audit

Compared with general-purpose observability platforms, PXFuse includes built-in security audit dimensions for coding agent scenarios:

  • Dangerous commands: rm -rf, sudo, ssh, curl | bash, git push --force, and more.

  • Sensitive files: .env, id_rsa, .pem, /etc/passwd, and more.

  • External access: Target URLs and domains for WebFetch, WebSearch, and browser navigation.

Intelligent Insights

  • Failure clustering: Error messages are normalized and clustered to identify high-frequency failure patterns.

  • Loop detection: Identifies traces with repeated tool calls or circular behavior patterns.

  • Latency analysis: P50/P95/P99 percentiles to locate slow tools and timeouts.

  • Low-output detection: Identifies calls with high input but low output.

Advantages

Advantage

Description

Open-source ecosystem compatibility

Kernel compatible with Langfuse. Official SDK, OpenTelemetry, and REST API work out of the box.

Simplified deployment and operations

PolarDB-X serves as a single unified database for both OLTP and OLAP, replacing the dual PostgreSQL + ClickHouse storage setup.

No Redis required for direct writes

Built-in Direct Ingestion path bypasses message queues for lightweight deployments.

SQL adapter

Built-in ClickHouse-to-MySQL syntax translator, compatible with original Langfuse query logic.

Enhanced agent security audit

Command, file, and external access auditing + session timeline replay.

Agent intelligent insights

Failure clustering, loop detection, low-output detection, and latency analysis.

Relationship with Original Langfuse

Dimension

Original Langfuse v3

PXFuse

Storage architecture

PostgreSQL + ClickHouse

PolarDB-X unified (row store + columnar CCI)

Dependencies

Redis, ClickHouse, MinIO, and more

PolarDB-X only

Write path

Async queue-based writes

Supports Redis-free direct writes

Agent-specific UI

None

Added observability, audit, and insights sections

Integration

Requires third-party scripts

Additionally includes built-in Qoder and Claude Code hooks

Use Cases

PXFuse covers the full lifecycle of coding agents, from development and debugging to production monitoring.

Phase

Scenario

Capabilities Used

Description

Development and debugging

Issue diagnosis

Agent Trace + Session Timeline

When agent output does not meet expectations, use full-stack tracing to identify whether the issue is with the prompt, tool call, or parameters

Complex flow visualization

Trace detail call tree

Multi-step reasoning and tool call execution paths are clearly displayed as a tree to help understand agent internal logic

Performance analysis

Call Analysis + Tool Latency Analysis

Monitor latency and I/O volume for each step to locate performance bottlenecks

Security and compliance

Dangerous command audit

Command Audit

Automatically flags rm -rf/sudo/ssh/curl | bash and more. Confirm each entry individually

Sensitive file monitoring

File Access

Automatically flags access to sensitive paths such as .env/private keys//etc/passwd

External behavior audit

External Access

Records target domains for WebFetch/WebSearch/browser navigation and checks against allowlists

Audit trail

Session Timeline

Retains complete input/output and operation records to meet compliance traceability requirements

Efficiency optimization

Fix unstable tools

Tool Failure Dashboard

Sort by impact score and prioritize fixing the top-ranked tools

Optimize slow tools

Tool Latency Analysis

Identify slow tools with P95 exceeding 10s and apply targeted optimization or caching

Eliminate ineffective loops

Loop Detection

Find traces that keep polling and fix the prompt or add termination conditions

Streamline context

Low-Output Detection

Find calls that consume large context but produce little output and streamline the input

Production monitoring

Real-time observability

Overview + Monitoring Dashboard

Monitor key metrics

Error trend alerting

Security & Alerts + Failure Clustering

Watch for error trend spikes

User behavior analysis

Observability (Sessions/Users)

Track multi-turn interaction history for specific users and sessions

Team collaboration

Data sharing

Organization/Project + Member Management

Engineering and product teams share the same tracing data, breaking down information silos

Permission isolation

Permission isolation

Control read/write permissions by organization/project role

Typical Workflow

  • Daily agent health check (5 minutes):

    1. Overview: Check whether the error rate has changed significantly compared to the previous period.

    2. Monitoring Dashboard: Check for error trend spikes.

    3. Failure Clustering: Check for new high-impact failure patterns.

    4. Anomalies found: Go to Agent Trace to search and locate the issue.

  • Security and compliance audit:

    1. Command Audit: Filter by "dangerous" and confirm each entry.

    2. File Access: Filter by "sensitive" and confirm no sensitive files were read.

    3. External Access: Check whether accessed domains are on the allowlist.

    4. Suspicious activity found: Click the associated Trace/Session Timeline to reconstruct the full context.

  • Optimize agent efficiency and cost:

    1. Tool Failure Dashboard: Sort by impact score and prioritize fixing the top-ranked tools

    2. Tool Latency Analysis: Identify slow tools with P95 exceeding 10s and apply targeted optimization or caching

    3. Loop Detection: Find traces that keep polling and fix the prompt or add termination conditions

    4. Low-Output Detection: Find calls that consume large context but produce little output and streamline the context

Related Documentation

  1. Quick Start: Six-step onboarding and data model.

  2. Data Ingestion: Hook/SDK/OTel/HTTP integration methods.

  3. Feature Guide: Page-by-page feature details.

  4. Settings and Management: Settings, permissions, and native views.

  5. Capability Boundaries and FAQ: Use cases, capability boundaries, and FAQ.