Promptflow is an open-source alternative to LangSmith for building, tracing, and evaluating LLM pipelines directly within private infrastructure.
A fintech engineering group testing customer-facing LLM chains cannot transmit proprietary system prompts, internal database schemas, or customer evaluation datasets to an external cloud dashboard. Promptflow executes workflow orchestration, prompt evaluation, and trace logging entirely inside private developer machines or isolated CI/CD runners. It packages prompt engineering and regression testing as version-controlled code artifacts rather than hosted SaaS assets.
Both platforms make LLM chains observable and testable, providing step-by-step tracing, prompt variant comparison, and batch evaluation against test datasets. LangSmith runs as a hosted control plane where application traces, prompt payloads, and evaluation runs flow to an external cloud service. Promptflow anchors that workflow in local files. Workflows run as YAML Directed Acyclic Graphs or plain Python functions in a Git repository, letting developers debug execution graphs and run test matrices without sending internal data or API keys beyond private network perimeters.
The divide comes down to convenience versus control. LangSmith provides a turnkey collaborative platform with online evaluation queues, shared annotations, and managed production monitoring. Promptflow avoids per-seat fees and telemetry lock-in, but shifts operational responsibility to the user. Local tracing runs through a lightweight browser viewer or CLI commands, but the tool lacks built-in multi-tenant collaboration and central production observability. Teams needing persistent shared dashboards must export OpenTelemetry traces to self-managed collectors or link into cloud services like Azure AI.
pf run create evaluates prompt runs against benchmark datasets, letting DevOps engineers gate pull requests on quality metrics in CI/CD without SaaS calls.pf flow serve command packages workflows into HTTP endpoints or Docker images ready for deployment on internal infrastructure.Promptflow vs LangSmith — which should I choose? Choose LangSmith if you need a hosted platform with online annotation queues and managed production monitoring; choose Promptflow if data compliance requires running prompt evaluation and tracing entirely within your own infrastructure.
Can I run Promptflow completely offline? Yes, Promptflow executes flows, batch evaluations, and local trace dashboards without internet access, provided your model endpoints are reachable on your private network.
Is Promptflow being deprecated? Yes, Microsoft ended active development in April 2026, and the project will enter read-only archive status in April 2027 as workloads migrate to the Microsoft Agent Framework.
Promptflow is an effective local harness for engineering teams that require strict data sovereignty and zero telemetry fees during prompt testing and evaluation. However, with Microsoft scheduling archive retirement for April 2027, teams planning new systems must weigh its permissive MIT terms and zero-cost local execution against the eventual migration effort toward modern successors.
Commands from the official package registries. Each package is matched to Promptflow through the registry's own link to its source code or website.
winget install --id Microsoft.Promptflow -eFree IDE for Java, Kotlin, Go, TypeScript and Python. Built on IntelliJ Community, fully open source, 300+ plugins.
Show that Promptflow is listed as an open-source alternative. Paste into your README: