Langflow是一个用于RAG和多智能体AI应用的低代码应用构建器。它基于Python,对任何模型、API或数据库都保持中立。

趋势

Langflow logo

Release Notes PyPI - License PyPI - Downloads GitHub star chart Open Issues Twitter YouTube Channel Discord Server Ask DeepWiki

Caution

  • Langflow versions 1.6.0 through 1.6.3 have a critical bug where .env files are not read, potentially causing security vulnerabilities. DO NOT upgrade to these versions if you use .env files for configuration. Instead, upgrade to 1.6.4, which includes a fix for this bug.
  • Windows users of Langflow Desktop should not use the in-app update feature to upgrade to Langflow version 1.6.0. For upgrade instructions, see Windows Desktop update issue.
  • Users must update to Langflow >= 1.3 to protect against CVE-2025-3248
  • Users must update to Langflow >= 1.5.1 to protect against CVE-2025-57760

For security information, see our Security Policy and Security Advisories.

Langflow is a powerful tool for building and deploying AI-powered agents and workflows. It provides developers with both a visual authoring experience and built-in API and MCP servers that turn every workflow into a tool that can be integrated into applications built on any framework or stack. Langflow comes with batteries included and supports all major LLMs, vector databases and a growing library of AI tools.

✨ Highlight features

  • Visual builder interface to quickly get started and iterate .
  • Source code access lets you customize any component using Python.
  • Interactive playground to immediately test and refine your flows with step-by-step control.
  • Multi-agent orchestration with conversation management and retrieval.
  • Deploy as an API or export as JSON for Python apps.
  • Deploy as an MCP server and turn your flows into tools for MCP clients.
  • Observability with LangSmith, LangFuse and other integrations.
  • Enterprise-ready security and scalability.

⚡️ Quickstart

Install locally (recommended)

Requires Python 3.10–3.13 and uv (recommended package manager).

Install

$ uv pip install langflow -U

Installs the latest Langflow package.

Run

$ uv run langflow run

Starts the Langflow server at http://127.0.0.1:7860.

That's it! You're ready to build with Langflow 🎉

Other install options

Install from repo

If you're contributing or running from source, see DEVELOPMENT.md for setup instructions.

📦 Deployment

Langflow is completely open source and you can deploy it to all major deployment clouds. To learn how to use Docker to deploy Langflow, see the Docker deployment guide.

⭐ Stay up-to-date

Star Langflow on GitHub to be instantly notified of new releases.

Star Langflow

👋 Contribute

We welcome contributions from developers of all levels. If you'd like to contribute, please check our contributing guidelines and help make Langflow more accessible.


Star History Chart

❤️ Contributors

langflow contributors

关于
Langflow is a powerful tool for building and deploying AI-powered agents and workflows.
132.5 k
7.8 k
450
语言
Python
TypeScript
JavaScript
CSS
Makefile
Dockerfile
Shell
PowerShell
Batchfile
HTML
Mako
49.08%
25.15%
24.55%
0.55%
0.34%
0.16%
0.12%
0.02%
0.02%
0.01%
0.01%