Prflght continuously monitors the health of the DeFi protocols your agent interacts with, using live total value locked (TVL) data from DeFiLlama. Before approving any transaction, Prflght checks the current health of every protocol involved and can block the transaction or pause your agent if a protocol is under stress. This protects your agent from executing trades on venues that may be experiencing an exploit, a liquidity crisis, or other adverse conditions.Documentation Index
Fetch the complete documentation index at: https://docs.prflght.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Monitored protocols
Prflght currently monitors the following venues: Orca, Drift, Kamino, Raydium, Jupiter, and additional protocols. The full list is visible on your dashboard at app.prflght.xyz.Health scores
Each protocol is assigned ahealthScore from 0 to 100, where 100 represents a fully healthy protocol. Scores are derived from live TVL data fetched from DeFiLlama. Health data feeds directly into the POST /check pipeline — you never need to query it separately.
Each venue also carries a status:
healthy— the protocol is operating normally.warning— the protocol’s health score has declined to a level that warrants caution.
How health ties into your policy
Two policy fields control how Prflght acts when protocol health changes:deny_if_protocol_health_below — set an integer threshold (0–100). Any transaction that involves a protocol whose healthScore is below this value is denied automatically during the POST /check call.
pause_on_protocol_tvl_drop — set a map of protocol IDs to fractional drop thresholds. If a protocol’s TVL drops by more than the specified fraction within the monitoring window, Prflght pauses your agent entirely, blocking all transactions until the TVL recovers or you manually resume from the dashboard.
See Policies for the full policy field reference and a complete configuration example.
Check your dashboard at app.prflght.xyz for a live view of current protocol health scores. The dashboard updates in real time and highlights any venues currently in a warning state.
