Skip to main content

Mirror Langfuse traces into LLMGovernor's anomaly engine

Project description

llmgovernor-langfuse

Bridge Langfuse traces into the LLMGovernor anomaly engine.

Why

You already log to Langfuse. You want per-agent cost anomaly detection on top without ripping out what works. This package mirrors your existing Langfuse traces into LLMGovernor and surfaces anomalies (cost spikes, error bursts, latency regressions) in the LLMGovernor dashboard or as Slack/email alerts.

Status: v0.1.0 — package scaffolding. Full adapter logic lands before public launch.

Install

pip install llmgovernor-langfuse

Usage

from llmgovernor_langfuse import LangfuseAdapter

adapter = LangfuseAdapter(
    llmgovernor_api_key="lg_...",
    langfuse_api_key="...",
    agent_name="my-agent",
)
adapter.start()

License

Apache-2.0 © EarlyBright Global LLC

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llmgovernor_langfuse-0.1.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llmgovernor_langfuse-0.1.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file llmgovernor_langfuse-0.1.0.tar.gz.

File metadata

  • Download URL: llmgovernor_langfuse-0.1.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for llmgovernor_langfuse-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7288bf91510a12783e05bc1ac6e55a20b72849ffffe2878096d019182060ad26
MD5 6e7bf195dac7034a845012a170411a31
BLAKE2b-256 7782edc268681e681663141695a514ac4e8c0622ea8ed80f45b7bf0af7dd0625

See more details on using hashes here.

File details

Details for the file llmgovernor_langfuse-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for llmgovernor_langfuse-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f45e6638aa7f6db57360dbafd085e73628daf36b0ecd1192b9f0a624577da2b6
MD5 1d447f7a6bec832dcf774cd06eb7da0f
BLAKE2b-256 3b9c406492add36705917cdd39f934d9344716f7970a4260bba9b09ad3b0731d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page