promptflow-core
Prompt flow core
Decision gist · record as of 2026-08-14
Yes, if you're deploying flows to production or cloud environments and want to minimize dependencies. The low install friction, active maintenance, and MIT license make it a straightforward choice for serving scenarios. Install the full promptflow package instead if you're developing flows locally and need the devkit's tools.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later (supports 3.9, 3.10, 3.11, 3.12, 3.13)
- Low install friction with a pure Python wheel and ten runtime dependencies.
- Active maintenance with recent commits and a substantial user base (212565 monthly downloads, top 15000 tier).
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open and closed projects with minimal restrictions.
last release 2026-05-01 (105 days) · last repo commit 2026-08-05 · 11,217 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 212,565 downloads/mo, #9,454 on PyPI
Alternatives
Verify before relying
pip install promptflow-core
from promptflow.core import Flow
flow = Flow.load(source='path/to/flow')
result = flow.run(inputs={'key': 'value'})- Whether flows created with the full promptflow package are fully compatible when executed with promptflow-core alone
- Performance characteristics or limitations when running complex flows in serving scenarios compared to the full package
What it is and what it does
promptflow-core is a lightweight runtime package for executing prompt flow workflows. It strips away the development and local testing tools from the full promptflow package, keeping only what's needed to run flows in production or cloud serving scenarios. The package depends on fastapi, flask, starlette for web serving, jsonschema for validation, and several utility libraries for file handling and date parsing.
It's designed as a minimal alternative to the full promptflow package when you don't need the devkit's local development features like connection management and run tracking. If you're building flows locally and want the complete experience, the full promptflow package is recommended instead.
Use it for
- Running pre-built prompt flows in a production API service without development dependencies
- Executing flows in cloud environments where minimal package size and dependency footprint matter
- Deploying flows as microservices using fastapi or flask backends
- Serving inference workflows that were developed and tested with the full promptflow package
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you're deploying flows to production or cloud environments and want to minimize dependencies.
The low install friction, active maintenance, and MIT license make it a straightforward choice for serving scenarios. Install the full promptflow package instead if you're developing flows locally and need the devkit's tools.
Install
promptflow-core on PyPI
Before you install
Low install friction with a pure Python wheel and ten runtime dependencies. Active maintenance with recent commits and a substantial user base (212565 monthly downloads, top 15000 tier).
Requires Python 3.9 or later (supports 3.9, 3.10, 3.11, 3.12, 3.13)
License in practice
MIT license permits unrestricted use, modification, and distribution in both open and closed projects with minimal restrictions.
Quickstart
pip install promptflow-core
from promptflow.core import Flow
flow = Flow.load(source='path/to/flow')
result = flow.run(inputs={'key': 'value'})
Verify before relying
- Whether flows created with the full promptflow package are fully compatible when executed with promptflow-core alone
- Performance characteristics or limitations when running complex flows in serving scenarios compared to the full package
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <4.0,>=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 10 packagesdocstring_parserfastapifiletypeflaskjsonschemapromptflow-tracingpsutilpython-dateutilruamel.yamlstarlette |
| Maintenance | Actively maintained 105 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 212,565 / month, #9,454 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9 |
Evidence: promptflow_core-1.18.5-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “prompt flow execution”
- promptflow-coreExecutes prompt flow workflows with minimal dependencies, providing…
- promptflow-tracingCaptures and visualizes the internal execution of LLM application…
- promptflow-devkitProvides a development toolkit for building, debugging, evaluating,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.
Install it if you're developing CLI tools, dashboards, or interactive terminal applications.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.
Install it if you need to build or connect to servers.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
See also promptflow · promptflow-devkit · lfx · promptflow-tracing · taskflow · metaflow · pipecat-ai-flows · prefect-client · prefect-gcp · autogen-core