Langfuse v4: up to 165× faster · Read more
Open source · Self-hosted

Langfuse for Government

Observability and evaluations for public-sector AI — inside your security boundary.

Government · Public sector · Internet optional

Build accountable AI.
Keep it under your control.

Government and public-sector teams use Langfuse to observe, evaluate, and improve AI agents — without sending prompts, traces, or evaluation data outside their security boundary. Deploy air-gapped, on-premises, or in a private cloud. The core is open source and inspectable; you operate the stack.

  • Your environment
  • Inspectable source
  • Audit-ready traces
Open-source coreMIT · no usage limits
Internet optionalAir-gapped ready
100,000+ engineersBuilding on Langfuse
10+ billionObservations / month
Observability · Evaluations · Alerts

Understand every agent. Improve every outcome.

Government AI must do more than work in a demo. Teams need to understand how an agent reached an answer, measure whether it is reliable, and improve it without losing control of sensitive data.

01Observe
See what happened

Trace every model call, tool invocation, retrieval step, and agent decision. Investigate failures with the full context of each request, session, model, prompt, latency, and cost.

Observability docs
02Evaluate
Measure what works

Score outputs with LLM-as-a-judge, deterministic checks, human review, and user feedback. Turn production failures into datasets and regression tests before the next release.

Evaluation docs
03Contain
Contain failures early

Monitor quality, security scores, latency, and cost. Set thresholds and route alerts through webhooks, Slack, or GitHub Actions — so teams can act before isolated failures become systemic.

Alerts docs
Self-hosting · Governance

Mission-ready deployment, on your terms.

Langfuse is built to run where government teams already operate — behind a firewall, in a classified network, or in an approved cloud account — without changing the product or the data model.

01
Run inside your security boundary

Deploy Langfuse in a VPC, on premises, or in a fully air-gapped Kubernetes environment. Internet access is optional. Bring your own infrastructure, networking, storage, and operational controls.

Networking docs
02
Inspect and control the software

The complete Langfuse repository is public. All core product capabilities — tracing, evaluations, prompt management, experiments, and annotation — are MIT-licensed without usage limits. Enterprise extensions live in clearly marked directories and activate only with a license key.

Open-source licensing
03
Operate the same architecture proven in the cloud

Self-hosted Langfuse is not a reduced fork. It uses the same codebase and architecture as Langfuse Cloud. Asynchronous ingestion absorbs traffic spikes, incoming events are persisted before processing, and background migrations reduce disruption during upgrades.

Architecture overview
04Enterprise
Keep AI systems accountable

Application traces create a detailed record of model calls and agent actions. Enterprise audit logs add immutable records of who changed what, when, and with which before-and-after state. SSO, role-based access control, SCIM, retention policies, and server-side data masking support centralized governance.

Audit logs
Security · Data control

Security without giving up developer velocity.

Self-host Langfuse so application teams can debug and evaluate agents quickly, while security teams keep telemetry, prompts, and evaluation data inside the approved boundary.

FIPS images

For deployments with FIPS requirements, compliant Langfuse Docker images are available upon request.

Book a meeting
Data stays where you put it

Run the platform and its open-source dependencies in infrastructure you control.

Sensitive data can be masked before storage

Redact data in the SDK before transmission, or apply centralized ingestion masking in self-hosted Enterprise deployments.

Open standards reduce lock-in

Instrument with OpenTelemetry, or use Langfuse SDKs and integrations across models, frameworks, and languages.

Your team controls upgrades

Use versioned releases and deploy changes on your schedule.

Get started · MIT licensed

Start locally. Deploy for the mission.

Run Langfuse locally with Docker Compose in minutes. The repository is public, the core product is MIT-licensed, and the same platform is already used in production at scale. Move to Kubernetes or Terraform without changing the product or data model.

terminal
$ git clone https://github.com/langfuse/langfuse.git
$ cd langfuse
$ docker compose up
Langfuse for Government

Bring accountable AI into your environment.

See how Langfuse can help your team observe, evaluate, and improve mission-critical AI systems — without moving sensitive data outside your control.