Skip to main content

Overview

Bifrost provides comprehensive LLM observability through the Maxim plugin, enabling seamless tracking, evaluation, and analysis of AI interactions. The plugin automatically forwards all LLM requests and responses to Maxim’s platform for detailed monitoring and performance insights. Maxim Logs

Setup

The Maxim plugin enables seamless observability and evaluation of LLM interactions by forwarding inputs/outputs to Maxim’s platform:

Configuration

Repository Selection

The plugin uses repository selection with the following priority:
  1. Header/Context Repository - Highest priority
  2. Default Repository (from plugin config) - Fallback
  3. Skip Logging - If neither is available

Custom Trace Management

Trace Propagation

The plugin supports custom session, trace, and generation IDs for advanced tracing scenarios:

Custom Tags

You can add custom tags to traces for enhanced filtering and analytics:

Shared observability dimensions

For tags that should be visible beyond Maxim, use x-bf-dim-* instead of x-bf-maxim-*. x-bf-dim-* is the canonical per-request dimension prefix in Bifrost. Those dimensions are forwarded to Maxim as tags at lower priority than explicit x-bf-maxim-* tags, and they are also propagated to internal logs, OpenTelemetry spans, Datadog spans, and Prometheus custom labels.
If you send both x-bf-dim-environment and x-bf-maxim-environment, Maxim uses the explicit x-bf-maxim-* tag value while the shared dimension still flows to the other observability backends.

Supported Request Types

The plugin supports the following Bifrost request types:
  • Text Completion
  • Chat Completion
  • Agent Gateway operations

Agent Gateway

A2A operations use the same Maxim SDK logger and repository configuration as LLM exports, including the x-bf-maxim-log-repo-id override. Each completed gateway trace becomes a Maxim trace with an operation span. Available operation, agent, task, conversation, push-delivery, and governance identifiers are tags. Errors and streaming updates appear beneath the operation span. Structured messages, returned tasks, artifacts, and accumulated output populate the trace input and output, with operation content also available in span metadata. Virtual-key content suppression removes those bodies while preserving operation metadata. Raw HTTP capture is not exported to Maxim. The gateway’s original start and end times are metadata, and each operation span has a duration_ms metric. Maxim’s displayed SDK timeline uses SDK logging time; it does not reconstruct the original gateway timeline from those metadata fields. See Agent Gateway observability for operation coverage and correlation.

Monitoring & Analytics

Once configured, monitor your AI apps in the Maxim Dashboard. Maxim is an end-to-end evaluation & observability platform built to help teams ship AI agents faster while maintaining high quality.
  • Experiment / Prompt Engineering Playground++ for prompt design: versioning, comparison (A/B), visual chaining, low-code tooling.
  • Simulation & Evaluation Test agents over thousands of scenarios, both automated (statistical, programmatic) and human-in-the-loop for edge cases. Custom and off-the-shelf evaluators.
  • Observability / Monitoring Real-time traces, logging, debugging of multi-agent workflows, live issue tracking, alerts when quality or performance degrade.
  • Data Engine & Dataset Management Support for multi-modal datasets, import & continuous curation, feedback/annotation pipelines, data splitting for experiments.
  • Governance, Security & Compliance Features like SOC 2 Type II compliance, enterprise security controls, permissions, auditability.
  • Alerts & SLAs: Threshold-based notifications to keep quality and latency in guardrails

Next Steps

Now that you have observability set up with the Maxim plugin, explore these related topics:
  • Tracing - Deep-dive into request/response logging and correlation
  • Telemetry - Prometheus metrics, dashboards, and alerting
  • Governance - Virtual keys, per-team controls, and usage limits