Digline

•
10
•

Run regression testing and baseline comparisons for LLM applications and prompt changes directly within CI pipelines.

Digline is a regression testing and evaluation framework designed specifically for LLM applications, agents, and prompts. Rather than merely checking whether an output passes an arbitrary threshold, Digline records application outputs, establishes committed reference baselines, and detects regressions by measuring drift against expected variance and model noise. Defining test suites in standard Python or TOML, it provides deterministic and LLM-assisted assertions, step and tool trajectory validation, latency and cost tracking, and noise-floor protections to avoid false positives. With support for CLI runs, pytest integration, and an MCP server for AI coding agents, Digline automates LLM evaluation gates while keeping baseline promotions explicitly human-reviewed.

主要功能

01Baseline regression tracking to detect metric drift and output degradation against committed references
02Comprehensive assertions including regex, schema checks, LLM rubrics, PII detection, and cost budgets
03Agent trajectory validation verifying tool call sequences, arguments, dependencies, and turn limits
04Statistical noise protection factoring in sampling standard errors to prevent false-positive regressions
05Integrations across Python CLI, pytest plugin, and Model Context Protocol (MCP) servers
0610 GitHub stars

使用案例

01Gating CI/CD pull requests to verify prompt and agent code changes do not degrade application performance
02Preventing silent quality and cost regressions when underlying LLM providers roll new model checkpoints
03Empowering coding agents via MCP to execute evaluations and inspect regression reports prior to merge