Langflow is a powerful tool for building and deploying AI-powered agents and workflows. http://www.langflow.org
Find a file
Gabriel Almeida a4158b0cb5 build(Dockerfile): update base image to python:3.10-slim
feat(Dockerfile): add gcc, g++, git, and make to apt-get install
feat(Dockerfile): add user and set environment variables
feat(Dockerfile): add WORKDIR and COPY
feat(Dockerfile): update langflow to version 0.0.71
feat(Dockerfile): add --port flag to CMD
2023-05-16 11:46:55 -03:00
.devcontainer docs: add readme guide 2023-04-28 18:56:16 +00:00
.github fix(test.yml): correct typo in make command from 'test' to 'tests' 2023-05-07 20:15:29 +00:00
docker_example build(Dockerfile): update base image to python:3.10-slim 2023-05-16 11:46:55 -03:00
img fix: removing unwanted image 2023-03-14 11:23:39 -03:00
scripts GPC Shell Script - Websocket Connection Failure #300 2023-05-14 22:08:13 +00:00
src feat(langflow): add /health endpoint to API 2023-05-16 11:41:40 -03:00
tests refactor(run.py): remove unused process_graph function 2023-05-10 11:31:06 -03:00
.gitignore feat: add document loaders 2023-04-13 11:52:42 -03:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2023-03-07 17:18:11 -03:00
CONTRIBUTING.md Update CONTRIBUTING.md 2023-04-08 09:27:28 -03:00
dev.Dockerfile feat: add SQL agent 2023-04-13 22:33:46 -03:00
docker-compose.debug.yml feat: added debug option in make dev 2023-04-04 19:19:41 -03:00
docker-compose.yml feat(docker-compose.yml): add VITE_PROXY_TARGET environment variable to frontend service 2023-05-15 19:08:49 -03:00
GCP_DEPLOYMENT.md fix GCP walkthrough location 2023-05-14 21:10:08 +00:00
LICENSE docs: Add img, LICENSE 2023-02-23 20:29:53 -03:00
Makefile feat(pyproject.toml): add wikipedia package to dependencies 2023-05-07 20:15:29 +00:00
package-lock.json package-lock.json update 2023-04-25 16:36:11 -03:00
poetry.lock chore(poetry.lock): update llama-cpp-python package version from 0.1.23 to 0.1.50 2023-05-15 22:09:18 -03:00
pyproject.toml Update llama-cpp-python version in pyproject.toml (#299) 2023-05-16 01:08:31 +00:00
README.md fix GCP walkthrough location 2023-05-14 21:10:08 +00:00

⛓️ LangFlow

~ A User Interface For LangChain ~

HuggingFace Spaces GitHub Contributors GitHub Last Commit GitHub Issues GitHub Pull Requests Github License

LangFlow is a GUI for LangChain, designed with react-flow to provide an effortless way to experiment and prototype flows with drag-and-drop components and a chat box.

📦 Installation

Locally

You can install LangFlow from pip:

pip install langflow

Next, run:

python -m langflow

or

langflow

Deploy Langflow on Google Cloud Platform

Follow our step-by-step guide to deploy Langflow on Google Cloud Platform (GCP) using Google Cloud Shell. The guide is available in the Langflow in Google Cloud Platform document.

Alternatively, click the "Open in Cloud Shell" button below to launch Google Cloud Shell, clone the Langflow repository, and start an interactive tutorial that will guide you through the process of setting up the necessary resources and deploying Langflow on your GCP project.

Open in Cloud Shell

Deploy Langflow on Google Cloud Platform

Follow our step-by-step guide to deploy Langflow on Google Cloud Platform (GCP) using Google Cloud Shell. The guide is available in the Langflow in Google Cloud Platform document.

Alternatively, click the "Open in Cloud Shell" button below to launch Google Cloud Shell, clone the Langflow repository, and start an interactive tutorial that will guide you through the process of setting up the necessary resources and deploying Langflow on your GCP project.

Open in Cloud Shell

🎨 Creating Flows

Creating flows with LangFlow is easy. Simply drag sidebar components onto the canvas and connect them together to create your pipeline. LangFlow provides a range of LangChain components to choose from, including LLMs, prompt serializers, agents, and chains.

Explore by editing prompt parameters, link chains and agents, track an agent's thought process, and export your flow.

Once you're done, you can export your flow as a JSON file to use with LangChain. To do so, click the "Export" button in the top right corner of the canvas, then in Python, you can load the flow with:

from langflow import load_flow_from_json

flow = load_flow_from_json("path/to/flow.json")
# Now you can use it like any chain
flow("Hey, have you heard of LangFlow?")

👋 Contributing

We welcome contributions from developers of all levels to our open-source project on GitHub. If you'd like to contribute, please check our contributing guidelines and help make LangFlow more accessible.

Star History Chart

📄 License

LangFlow is released under the MIT License. See the LICENSE file for details.