Kavvo Agents

Langflow

November 29, 2026 · 4 min read · By the Kavvo Agents team

What it is

Langflow is a visual framework for building multi-agent and RAG applications, built on LangChain. Its PyPI page describes it as a visual framework for building multi-agent and RAG applications that is open-source, Python-powered, fully customisable, and LLM and vector store agnostic. You drag components onto a canvas — a model, a prompt, a vector store, an agent, a tool — connect them, and test the result in a built-in playground.

Langflow sits on top of LangChain, so a flow you build visually is a LangChain application underneath. That means you can export a flow as JSON, run it directly in Python as a LangChain object, and edit the Python behind any component. It is a visual-first tool that does not lock you out of the code.

Who made it

Langflow is made by Langflow, Inc., formerly Logspace. The project is open source under the MIT licence, and the source is on GitHub under the langflow-ai organisation.

What it does

Langflow is used to build chatbots, RAG apps that answer questions over your own documents, and multi-agent flows. A typical flow has a chat input, a prompt, a model, and a chat output, with optional retrieval, memory, and tools in between. You can build a Planner Agent with several worker agents, a document Q&A flow with a vector store, or a simple chatbot in minutes.

Every flow can be called as an API, with ready-made code snippets for cURL, Python, and JavaScript, and it can be embedded as a chat widget in a web app. Flows can also be deployed as MCP servers, so another agent can call your flow as a tool. Langflow includes a playground for testing, parameter tuning through Tweaks, and integrations with observability tools such as LangSmith and Langfuse. Templates and community-shared flows help you start from a working example.

How it works

You run Langflow as a web app, usually on port 7860, and build on a canvas. Components are the building blocks: each one is a model, a prompt, a vector store, an agent, a tool, or an input or output. You connect a component’s output to the next component’s input to form a flow. Data flows through the components in order, and the model at the centre can call tools or retrieve documents.

When you run a flow, Langflow executes the underlying LangChain code. You can open any component, see its Python, edit it, and see the change live on the canvas. You can also export the flow as JSON and load it in Python, which makes it easy to move a visual prototype into a custom application.

How to start

  1. Install Langflow. The docs recommend uv pip install langflow -U with Python 3.10 or newer, then start it with uv run langflow run. You can also install it with pip: pip install langflow -U, then run python -m langflow run. Check the official docs for the current command.
  2. Open http://127.0.0.1:7860 in your browser. Set a strong superuser password when you first run it, especially if you use Docker.
  3. Create a new blank flow from the home screen. Add a Chat Input, a Prompt, a model component for your provider, and a Chat Output, and connect them in that order.
  4. Add your model API key in the model component, or point it at a local model such as Ollama, and select the model name.
  5. Open the Playground, ask a question, and check the answer. Add a vector store and a retriever when you want the flow to answer from your documents.
  6. When it works, open the flow’s API panel, copy the request snippet, and call the flow from your app. Export the flow as JSON to keep a backup.

Langflow Desktop is also available as a native app for Windows and macOS if you do not want to manage a Python environment.

Who it is for

Langflow is for developers and technical teams who want to prototype LangChain apps visually and quickly, without writing boilerplate. It suits RAG prototypes, chatbots, and multi-agent experiments, and teams that want to move from a visual flow to Python code when the prototype grows. It is a good fit if you already use LangChain or want to learn it by seeing the components on a canvas. It is not a hosted chatbot service: you run it yourself and you own the deployment.

Watch out for

Langflow is open source under the MIT licence, but you still need a model provider and you still own hosting, security, and costs. Keep it behind authentication and use separate API keys with limits. The project moves quickly, so check the docs for the version you installed — install commands, Python version support, and component names have changed between releases. Visual flows are harder to version control than code, so export your flows as JSON and keep them in a repository. Finally, test with a small document set and a read-only tool first, and add human approval before a flow takes an irreversible action.

Source