lfx
Langflow Executor - A lightweight CLI tool for executing and serving Langflow AI flows
Decision gist · record as of 2026-08-14
Yes, if your flows are stateless or memory-only and you want to avoid the overhead of a full Langflow server. The low install friction and active maintenance make it a reasonable choice for lightweight deployment. However, verify the license terms first, and confirm that your flows do not depend on persistent state (saved flows, message history, user management) before committing to it.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later (and <3.15).
- Flow components may require additional dependencies beyond LFX itself; the tool will report missing dependencies at runtime.
- Low install friction with a pure Python wheel.
License · maintenance · safety
(unclear) — License treatment is unclear—no SPDX identifier or raw license text is available in the metadata. You should verify the actual license terms before using this in production or proprietary work.
last release 2026-08-11 (3 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 113,394 downloads/mo, #12,343 on PyPI
Alternatives
Verify before relying
pip install lfx
lfx serve flow.json
# or
lfx run flow.json "input text"- Actual license terms (SPDX and raw license text are both absent from metadata)
- Whether stateless operation and no-op database fully satisfy your flow's persistence requirements
- Which component dependencies beyond the 49 listed runtime deps your specific flows will need
What it is and what it does
LFX is a standalone executor for Langflow flows that runs them without the full Langflow application or persistent database. It reads flow definitions from JSON files and either serves them as FastAPI endpoints or executes them directly from the command line, streaming results to stdout. The tool uses a no-op database interface for all stateful operations, meaning flows run purely in memory—any operations that would normally persist to langflow.db (saving flows, storing messages, managing users) will not retain data across invocations.
The package integrates LangChain, FastAPI, and document processing libraries to support a wide range of flow components. It's designed for lightweight deployment scenarios where you want to run pre-built flows without the overhead of the full Langflow server, but it trades persistence for that simplicity. If your flows depend on saved state, user management, or message history from the database, LFX is not a fit; if they're stateless or memory-only, it's a minimal alternative.
Use it for
- Deploy a pre-built Langflow flow as a lightweight FastAPI microservice without running a full Langflow server.
- Execute a Langflow flow locally from the command line for testing or batch processing without database setup.
- Run flows in ephemeral environments (CI/CD, containers, serverless) where persistent state is not needed.
- Integrate a Langflow flow into an existing Python application as a library when the full Langflow package is too heavy.
- Serve multiple flows as stateless API endpoints for inference-only workloads.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if your flows are stateless or memory-only and you want to avoid the overhead of a full Langflow server.
The low install friction and active maintenance make it a reasonable choice for lightweight deployment. However, verify the license terms first, and confirm that your flows do not depend on persistent state (saved flows, message history, user management) before committing to it.
Install
lfx on PyPI
Before you install
Low install friction with a pure Python wheel. Active maintenance with a release 3 days ago. The 49 runtime dependencies are substantial but typical for a framework that integrates LangChain, FastAPI, and document processing; most are already common in AI/LLM workflows.
Requires Python 3.10 or later (and <3.15). Flow components may require additional dependencies beyond LFX itself; the tool will report missing dependencies at runtime.
License in practice
License treatment is unclear—no SPDX identifier or raw license text is available in the metadata. You should verify the actual license terms before using this in production or proprietary work.
Quickstart
pip install lfx
lfx serve flow.json
# or
lfx run flow.json "input text"
Verify before relying
- Actual license terms (SPDX and raw license text are both absent from metadata)
- Whether stateless operation and no-op database fully satisfy your flow's persistence requirements
- Which component dependencies beyond the 49 listed runtime deps your specific flows will need
Package facts
| License | Not declared unclear |
| Python support | Supports the current Python release <3.15,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 49 packagesa2wsgiag-ui-protocolaiofileaiofilesasyncerbeautifulsoup4cachetoolschardetcryptographydefusedxmldocstring-parseremojifastapifilelockgunicornhttpxjson-repairlangchain-classiclangchain-corelangchainlangflow-sdklogurumarkitdownmcpnanoidnetworkxopenpyxlorjsonpandaspasslib |
| Maintenance | Actively maintained 3 days since the last release |
| First released | |
| Downloads | 113,394 / month, #12,343 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: lfx-1.11.3-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 › “langflow flow executor”
- lfxLFX is a lightweight command-line tool that executes Langflow AI…
- langflowLangflow is a visual platform for building, testing, and deploying AI…
- apache-airflow-providers-celeryIntegrates Celery distributed task execution with Apache Airflow,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.
Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.
Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.
Install it if you work with Hugging Face Hub models or datasets.
LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.
hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.
Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.
Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.
Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.
See also langflow · langflow-base · promptflow-core · promptflow · codeflash · promptflow-devkit · deepagents-code · crewai-cli · fastapi-cli · langgraph