Skip to main content

Patronus Integration

Patronus AI provides LLM evaluation and safety monitoring.

Setup

pip install patronus
export PATRONUS_API_KEY=xxx

Usage

from praisonai_tools.observability import obs

obs.init(provider="patronus")

with obs.trace("workflow"):
    # Your agent code
    pass