promptfoo integrations

Documented ways to run promptfoo inside delivery pipelines, starting with its GitHub Action.

promptfoo in GitHub Actions

Running promptfoo evals on every pull request with the official GitHub Action: before and after comparisons of prompt changes, required inputs, caching to control API cost, and where secrets should live.

promptfoo with Langfuse prompt management

Evaluating prompts stored in Langfuse with promptfoo: the optional Langfuse client SDK, the keys it needs, referencing prompts by version or label, and keeping Langfuse as the prompt source while promptfoo runs the tests.

promptfoo with Portkey prompt management

Testing prompts managed in Portkey by referencing them with the portkey:// prefix in a promptfoo config, the PORTKEY_API_KEY setting, and how this differs from routing model calls through a gateway.

promptfoo with Helicone prompts

Pulling versioned prompts from Helicone into promptfoo evals with the helicone:// prefix, where the HELICONE_API_KEY can be set, and what Helicone adds as an observability proxy.

Running promptfoo checks in Jest and Vitest

Adding LLM output checks to an existing JavaScript test suite with promptfoo custom matchers for semantic similarity and LLM grading, and when to keep these tests separate from a full promptfoo config.

Running promptfoo checks in Mocha and Chai

Writing custom Chai assertions backed by promptfoo for semantic similarity, factuality and LLM grading so prompt quality checks run with the rest of a Mocha test suite.

Using promptfoo as a Node.js library with evaluate()

Running promptfoo evals from TypeScript or JavaScript code with the evaluate() function instead of the CLI: when to embed it in a service or test harness, per-call environment overrides and handling results programmatically.

promptfoo tracing with OpenTelemetry

Sending OpenTelemetry traces from your application into promptfoo so evals and red teams can check tool calls and execution paths: the built-in OTLP receiver, pulling traces from Grafana Tempo, and forwarding to Jaeger.

Sending promptfoo red team findings to Splunk

Turning failed promptfoo red team results into Splunk HTTP Event Collector events for SIEM alerting and dashboards: the export step, the HEC token and index, and what reaches the SOC.

promptfoo findings in SonarQube quality gates

Importing promptfoo red team findings into SonarQube with Generic Issue Import so LLM vulnerabilities appear next to code issues and can block a pipeline, and the Enterprise requirement behind it.

Running promptfoo evals from n8n workflows

Scheduling promptfoo evals from a self-hosted n8n instance with the Execute Command node, gating Slack or merge steps on the pass rate, and what the n8n host needs installed.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.