Heidelberg AICurriculum
Track 7 · Advanced
7.1

Agent frameworks - Intro

What an agent framework actually is, and which of the three to reach for.

5 lessons 2026-08-13 AI-generated

1Overview

Three open-source ways to build an agent of your own, and the one question that separates them: how much of it belongs in version control, and how much on a canvas?

An agent framework is scaffolding for a program that decides its own next step. You give it a goal, a set of tools it may call and a model to think with; it loops — plan, call a tool, read the result, plan again — until the goal is met or it gives up. That loop is the whole difference from a chatbot: a chatbot answers you, an agent goes and does something and comes back. → The three tools in this section build the same thing three ways. Flowise and Langflow are canvases: you drag nodes, connect them, and watch data move through the graph — Langflow additionally lets you open a node and edit the Python inside it. CrewAI has no canvas at all; you declare each agent, its role and its task list in Python, and the structure lives in your repository like any other code. → That is the trade-off to make deliberately, because it is hard to undo later. A canvas is faster to a working demo and much easier to show someone. Code is what you can diff, review, test and roll back. Pick the canvas when the value is in the idea and the audience is human; pick code when the agent is going to run unattended and somebody will have to debug it at 2am. → All three are free and self-hostable, and none of them includes a model. You bring an API key (see LLM models and EU-sovereign inference) and you pay per token for every loop the agent takes — which is why agents cost more than they look like they should. The three chapters after this one take each tool in turn.

1.2After this chapter you can
Say what an agent framework does that a chatbot does not
Tell a visual builder apart from a code framework, and know when each is the cheaper choice
Pick between CrewAI, Flowise and Langflow for a given job
Know what you still have to supply yourself: a model key, a place to run it, and a way to tell if it worked
1.3How do canvas tools differ from code?

Canvas tools like Flowise and Langflow let you drag nodes and visually connect them, while CrewAI requires you to declare agents, roles, and tasks directly in Python code stored in your repository.

1.4When should I choose a canvas?

Pick a canvas when the primary value is rapid prototyping for human audiences; choose code when the agent will run unattended and needs version‑controlled, testable logic for debugging.

An agent on a canvas — grounding an LLM, and a multi-agent crew Pattern one grounds an LLM with context from any retrieval method then reasons with tools and memory. Pattern two has a manager delegate to researcher, writer and reviewer agents that merge into a result. An agent on a canvas Flowise · Langflow · CrewAI — wire context, an LLM, tools, and other agents ① GROUNDING AN LLM — give it the right context, then let it reason User asks a question Get context pull in what's relevant LLM reasons tools memory Answer grounded context can come from — pick any, or combine: docs pasted in — no search, simplest vector store — semantic top-k (classic RAG) keyword / full-text search live tool — web search · API · database ② MULTI-AGENT CREW — a manager delegates to specialist agents Manager plans & delegates Researcher gathers sources Writer drafts the answer Reviewer checks & fixes Merged result the crew's output

2Matrix 8 rows · 3 tools

flowise
langflow
crewai
No coding needed
yes
yes
no
Visual canvas
yes
yes
no
Open-source & self-host free
yes
yes
yes
Chat with your own documents
yes
yes
partial
Teams of agents working together
partial
partial
yes
Export as an API / share
yes
yes
yes
Easiest for a non-coder
yes
partial
no
Best for
visual chatbots
visual + Python
code-first crews

3Lessons 5

3.1 Set up a local Flowise canvas

Flowise is an open‑source, self‑hostable agent framework that provides a drag‑and‑drop canvas for building agents.

You will have a running Flowise instance you can open in a browser and start adding nodes.

  1. Install Docker if it is not already installed on your machine.
  2. Open a terminal and run the official Flowise Docker command to pull the image and start a container.
  3. Map port 3000 (or the default port shown in the documentation) to your host when starting the container.
  4. Open a web browser and navigate to http://localhost:3000 to view the Flowise canvas.
  • You'll see A blank Flowise node‑based canvas loading in the browser, ready for you to drag new nodes onto it.
  • Takeaway Canvas‑based frameworks let you prototype agents visually without writing code, which speeds up early demos.

3.2 Create a simple Langflow agent with a Python tool node

Langflow is an open‑source canvas framework that lets you edit the Python code inside individual nodes.

You will build a minimal Langflow graph that calls a custom Python function as a tool.

  1. Install Langflow via pip according to its official quick‑start guide.
  2. Run langflow run to start the local server and open the canvas in your browser.
  3. Add a new node of type “Python Tool” onto the canvas.
  4. Edit the node’s code field to define a function that returns a static string, then connect the node to a starter “Start” node.
  5. Press the run button on the canvas to execute the graph.
  • You'll see The execution panel shows the Python tool node returning the static string you defined, confirming the node runs correctly.
  • Takeaway Being able to edit Python inside a node gives you fine‑grained control while still benefiting from visual workflow composition.

3.3 Version‑control a CrewAI agent definition

CrewAI is an open‑source framework where agents, their roles, and task lists are defined entirely in Python code.

You will write a small CrewAI script, add it to a Git repository, and commit the changes.

  1. Create a new directory for the project and run git init to start a repository.
  2. Install crewai with pip inside a virtual environment.
  3. Create a Python file that imports CrewAI, defines one agent with a role description and a single task string, then calls crew.run().
  4. Add the Python file to git, stage it, and commit with a message like “Add simple CrewAI example”.
  5. Run the script to see the agent execute its task and print the result.
  • You'll see The console output shows the CrewAI agent completing its defined task, and git log displays your commit.
  • Takeaway Code‑first frameworks let you keep the entire agent definition under version control, enabling diffing, review, and rollback.

3.4 Swap a Flowise node to use an external LLM API key

Flowise nodes can call language models via API keys; the framework itself does not include a model.

You will configure a Flowise node to call an LLM using your own API key and see a generated response.

  1. In the running Flowise canvas, add a “LLM” node from the toolbox.
  2. Open the node’s settings panel and paste your LLM provider’s API key into the designated field.
  3. Set the model name (e.g., gpt‑4) in the same panel as instructed by the node documentation.
  4. Connect the LLM node to a “Start” node and add a downstream “Output” node to display results.
  5. Trigger the flow and watch the output node show the text generated by the external model.
  • You'll see The Output node displays a coherent response produced by the LLM, confirming successful API integration.
  • Takeaway All three frameworks rely on external models; configuring API keys is the bridge between your scaffold and actual reasoning capability.

3.5 Compare canvas vs code by reproducing the same task in Flowise and CrewAI

A side‑by‑side implementation of an identical agent task using a visual canvas (Flowise) and pure Python code (CrewAI).

You will implement the same simple data‑fetching task in both frameworks, then observe differences in version control and debugging.

  1. Define a task: fetch a public JSON endpoint and extract a field.
  2. In Flowise, add an “HTTP Request” node configured with the endpoint URL, connect it to a “Parse JSON” node, then to an “Output” node; run the flow.
  3. In CrewAI, write a Python function that performs the same HTTP GET request using requests, parses the JSON, and returns the field; assign this function as a tool for a single‑task agent and run it.
  4. Commit the Flowise project’s exported JSON definition to git, then commit the CrewAI script separately.
  5. Use git diff on each commit to see how changes appear in a canvas export versus plain code.
  • You'll see Both executions print the extracted field; the git diffs show a structured JSON change for Flowise and a concise code diff for CrewAI.
  • Takeaway Canvas frameworks accelerate prototyping, while code‑first frameworks provide clearer versioning and debugging—choose based on whether rapid demos or maintainable production are your priority.

4You’ll know it worked 96 checkable outcomes in this chapter

  • The assistant returns a response citing the relevant PDF when asked a question about your literature
  • Staff members receive policy responses with source citations in the internal wiki chat widget
  • Controller sees a live list of tasks, owners and blockers without chasing email updates
  • A new JD appears in the output with consistent style and no bias after pasting an intake form
  • The system outputs an approved or declined decision with citations before a human reviews
  • The chat response includes data retrieved by the tool (e.g., a web search result) followed by the final answer
  • The Langflow web UI loads in your browser displaying the dashboard without any error messages
  • Project folder contains `src/`, `knowledge/` and a `crew.py` file

96 outcomes in all — one per recipe below.

5FAQ, Tips & How-to 150

one problem, one solution, one action

Research & data tools11

How-to Flowise Scientist

Need exact answers from your own papers

A private research assistant that searches your own literature instead of the whole internet.

~15 min · low code AI-generated
How-to Langflow Scientist

Need to pull a sequence record on demand

A reusable bench assistant the whole group can query — exported as an API endpoint.

~15 min · low code AI-generated
How-to CrewAI Scientist

First‑pass literature review draft

A first-pass review draft assembled by agents collaborating, ready for you to verify and refine.

~15 min · low code AI-generated
How-to CrewAI Scientist

Unsure which abstracts to include

A first-pass screening sheet where every borderline call has already been checked by two independent readers, so your two human reviewers only adjudicate the cases where the agents still disagree.

~15 min · low code AI-generated
How-to Langflow Scientist

Methods paragraphs turned into spreadsheet‑ready JSON rows

Twenty papers become twenty clean rows you can drop into a spreadsheet, all in the same schema.

~15 min · low code AI-generated
How-to Flowise Finance +1

Stakeholders want budget numbers with proof

Finance questions are answered from the actual numbers on file, not from memory or stale slide decks.

~15 min · low code AI-generated
How-to Flowise Finance +1

Board prep questions need real report answers

Board prep questions get answered in seconds from the real reports, not from memory or a hastily built slide.

~15 min · low code AI-generated
How-to CrewAI HR / People

Quarterly exit data becomes an actionable theme report rather than a folder of unread transcripts.

~15 min · low code AI-generated
How-to CrewAI HR / People

Need a fast executive summary of survey results

The People team has a ready-to-present engagement brief within minutes of the survey closing, not after days of manual tabulation.

~15 min · low code AI-generated
How-to CrewAI Sales +1

Reps get an up-to-date battle card before a competitive deal, not a stale slide deck from six months ago.

~15 min · low code AI-generated
How-to Flowise Support

Survey comments are a mess

The support lead gets a structured theme breakdown from each survey batch in minutes, not after a manual analysis session.

~15 min · low code AI-generated

Customer & client portals8

How-to Flowise Founder +2

Need reliable answers from our docs at any time

A 24/7 support assistant on your site that only answers from your real documentation.

~15 min · low code AI-generated
How-to Langflow Support +1

Manually sorting incoming tickets

Tickets arrive pre-classified with a draft reply, so agents work the queue faster and first-response times drop.

~15 min · low code AI-generated
How-to Flowise HR / People

Candidates stuck waiting for email updates

Candidates get instant, accurate status updates instead of emailing a recruiter, reducing inbox load and improving candidate experience.

~15 min · low code AI-generated
How-to Langflow Support

Tickets get misrouted and missing context

The right agent gets the right ticket immediately, with context already assembled, cutting handle time and misrouting.

~15 min · low code AI-generated
How-to CrewAI Support

Too many tickets need human agents

A large fraction of incoming tickets receive a draft resolution without any human touch, and only the genuinely complex ones reach a senior agent.

~15 min · low code AI-generated
How-to Flowise Support +1

Customers ask about their order status

Order-status questions are answered automatically around the clock, deflecting a large share of routine support volume.

~15 min · low code AI-generated
How-to Langflow Support

Closed tickets need a personal check‑in but I’m busy

Every resolved ticket gets a timely, personalised check-in without any manual scheduling, lifting CSAT and catching re-opens early.

~15 min · low code AI-generated
How-to CrewAI Support +1

Customers stuck in onboarding

Stalled customers receive a relevant, timely nudge from a CS rep before they churn silently, without the rep manually reviewing every account.

~15 min · low code AI-generated

Content & marketing4

How-to CrewAI Founder +1

Only a topic to start, but want a complete on‑brand draft

A repeatable pipeline that drafts on-brand content from a single prompt.

~15 min · low code AI-generated
How-to CrewAI Creator +1

Need a fresh newsletter each week from a few links

A repeatable pipeline that turns a topic and a few sources into a near-final newsletter draft each week.

~15 min · low code AI-generated
How-to Langflow Creator +2

Inbox flooded with comments

Your inbox arrives pre-sorted with draft replies waiting, so a backlog of messages becomes a few minutes of approving.

~15 min · low code AI-generated
How-to Flowise HR / People

Need a quick first‑draft curriculum

L&D teams get a structured first draft for each new course in minutes, so design effort focuses on content quality rather than structure.

~15 min · low code AI-generated

Internal tools & ops13

How-to Langflow Operations +1

Messy free‑text requests get sorted

Messy free-text requests arrive pre-sorted and structured, with no manual triage.

~15 min · low code AI-generated
How-to CrewAI Operations

Weekly numbers are scattered

A consistent Monday-morning ops report assembled from the raw numbers, ready for a human to sanity-check and send.

~15 min · low code AI-generated
How-to Langflow Finance +1

PDF invoices coming in raw

Dozens of invoices per week are parsed into structured records automatically, eliminating manual data entry.

~15 min · low code AI-generated
How-to CrewAI Finance +1

Expense reports need compliance checks

Every expense batch arrives pre-audited — approvers only review the flagged exceptions, not every line.

~15 min · low code AI-generated
How-to CrewAI HR / People

Too many resumes to read

A ranked shortlist with reasoning arrives before the first recruiter review, cutting initial screening time sharply.

~15 min · low code AI-generated
How-to Langflow Finance

Chasing email updates for month‑end tasks

The controller sees a real-time close status at a glance instead of chasing status updates by email.

~15 min · low code AI-generated
How-to CrewAI Finance

Unsure if purchase order matches invoice

Matching runs on two independently-read documents instead of one agent skimming both at once, so a real mismatch gets caught instead of silently reconciled away by a reader who already expects them to agree.

~15 min · low code AI-generated
How-to CrewAI Finance

Unsure which evidence files are missing

Missing evidence gets flagged before the auditor has to ask a second time, not discovered mid-fieldwork.

~15 min · low code AI-generated
How-to CrewAI HR / People

Need interview questions specific to a role and bias‑free

Interviewers receive a role-specific question bank that has already been screened for compliance, not a recycled generic list a single drafting pass might let slip through.

~15 min · low code AI-generated
How-to Flowise HR / People

Bullet‑point manager notes

Managers spend minutes reviewing and refining rather than writing from scratch, and review quality becomes more consistent across the organisation.

~15 min · low code AI-generated
How-to Langflow HR / People +1

Employees need to use a portal for time‑off requests

Employees file leave in a conversation instead of navigating a complex HR portal, and records update automatically.

~15 min · low code AI-generated
How-to CrewAI Support +1

Refund requests get policy‑checked

Routine refund decisions arrive policy-grounded and independently judged before a human sees them — the policy-checker isn't swayed by how sympathetically the reader summarised the request.

~15 min · low code AI-generated
How-to Langflow Physician

Referral letters arrive unsorted

Referral letters arrive pre-sorted into a queue a clinician can scan and confirm in seconds, instead of reading every letter cold to decide urgency.

~15 min · low code AI-generated

CRM & sales8

How-to Flowise Founder +2

When you need only qualified leads emailed to you

Inbound visitors are pre-qualified around the clock, so you only spend time on leads that fit.

~15 min · low code AI-generated
How-to CrewAI Sales +1

Researching prospects is slow

Each outreach email is grounded in something real about the prospect, written in under a minute per contact.

~15 min · low code AI-generated
How-to Langflow Sales +1

Unstructured call notes

Call notes become structured CRM entries in seconds, so reps spend time selling rather than typing updates.

~15 min · low code AI-generated
How-to Langflow HR / People

Need a quick list of passive candidates

Recruiters get a first-pass shortlist of passive candidates in minutes rather than hours of manual searching.

~15 min · low code AI-generated
How-to Langflow Sales +1

Inbound leads arrive unsorted

Inbound leads arrive pre-tiered so sales works the highest-value contacts first, not the most recent ones.

~15 min · low code AI-generated
How-to Langflow Sales

Need a quick sales proposal that checks stock

Reps get a ready-to-send proposal draft in seconds, and the system prevents quoting unavailable stock.

~15 min · low code AI-generated
How-to Flowise Sales

Can’t find objection replies mid‑call

Reps get playbook-grounded coaching on demand instead of hunting through shared drives mid-call.

~15 min · low code AI-generated
How-to CrewAI Sales +1

I need a weekly list of at‑risk accounts with next steps

CS and sales have a weekly at-risk list to act on rather than discovering churn only at renewal.

~15 min · low code AI-generated

Knowledge & docs9

How-to Flowise HR / People +1

Need a quick answer to HR policies

Routine policy questions are answered from the real handbook instead of landing in the ops or HR inbox.

~15 min · low code AI-generated
How-to Langflow HR / People +1

New hires stuck on first‑week tasks

New hires complete setup faster and HR spends less time fielding repeat questions during the first week.

~15 min · low code AI-generated
How-to CrewAI Support +1

Ticket topics no one answered

Your knowledge base grows automatically from real ticket patterns, keeping self-serve deflection high.

~15 min · low code AI-generated
How-to Flowise Finance +1

Want to catch risky vendor contract clauses

Finance can spot risky clauses in minutes rather than reading every page, and a summary of deviations lands with each upload.

~15 min · low code AI-generated
How-to Langflow HR / People

Creating a new job description takes days

First-draft JDs take minutes rather than a day of back-and-forth, and language stays consistent and bias-reviewed across all roles.

~15 min · low code AI-generated
How-to Langflow Support

I need a quick support macro in our tone

New macros are drafted in seconds rather than collaboratively written in long docs, and they land in the right tone from the first draft.

~15 min · low code AI-generated
How-to Flowise Robotics

Can’t find a component spec in PDFs

Engineers get spec answers in seconds from the actual datasheets on file, without hunting through PDFs or risking a mis-remembered value in a design review.

~15 min · low code AI-generated
How-to Langflow Robotics

Need a fast regulatory screen for a design change

Design changes get a first-pass regulatory screen in minutes rather than waiting for a scheduled review, and the gap list arrives with clause references the engineer can act on directly.

~15 min · low code AI-generated
How-to CrewAI Robotics

Need a test protocol from scratch

A first-draft test protocol arrives ready for engineering review, with requirement and standard traceability already filled in, rather than starting from a blank template.

~15 min · low code AI-generated

Dashboards & analytics3

How-to CrewAI Finance

Weekly cash‑flow brief that flags overly optimistic assumptions

A weekly cash-flow brief arrives with its optimistic assumptions already challenged, not just modelled and shipped straight through.

~15 min · low code AI-generated
How-to Langflow Finance

Need to spot big budget gaps in my spreadsheets

Budget owners receive a focused variance brief with the biggest surprises explained, not a raw spreadsheet to interpret themselves.

~15 min · low code AI-generated
How-to Langflow Sales

Can't manually sort customers

Sales and marketing can target each segment with the right action immediately, rather than waiting for a manual analyst report.

~15 min · low code AI-generated
How-to CrewAI Everyone

Need an open‑source AI library in your Python setup

You can add CrewAI to any Python environment with a single command

~15 min · low code The CrewAI framework is **free and open-source (MIT)**. You only pay your LLM provider for the tokens the agents use when you run the crew — billed separately by them. AI-generated
How-to CrewAI Everyone

I need to tell each agent what to do and what result to produce

Tasks define the work to be done and link each piece of work to a specific agent

Editing config files costs nothing — you only spend LLM tokens when you actually run the crew. AI-generated
How-to CrewAI Everyone

You have separate agent and task YAML files

The short Python script ties the YAML definitions together, creating a runnable crew

AI-generated
How-to CrewAI Everyone

Running the crew shows each agent's step-by-step thought process in the terminal

~15 min · low code This run spends real **LLM tokens billed by your provider** (a small report is typically a few cents). The CrewAI framework itself stays free. AI-generated
How-to CrewAI Everyone

Seeing the researcher's reasoning helps you understand how it plans to solve the goal

AI-generated
How-to CrewAI Everyone

The automatic handoff demonstrates how agents collaborate within a crew

AI-generated
How-to CrewAI Everyone

Need a finished report you can read now and reuse later

CrewAI not only shows the result in the console but also writes it to a file for later use

AI-generated
How-to CrewAI Everyone

Running the crew shows an agent invoking its tool mid-task and passing the result to another agent

Still free at the framework level; tools that hit paid APIs and your LLM usage are billed by those providers. Bringing your own key means you control the spend. AI-generated
How-to CrewAI Everyone

Use a Crew when you want agents to self-organise and discover how to work together

Conceptual lesson — no extra cost beyond whatever you run while experimenting. AI-generated
How-to CrewAI Everyone

Use a Flow when you need explicit, repeatable steps with fixed ordering and branching

AI-generated
How-to CrewAI Everyone

Identify tasks that must be repeatable and predictable; those are the right candidates for a Flow

~15 min · low code AI-generated
How-to CrewAI Everyone

Need to run a crew directly from a GitHub repository

Deploy a code-first crew directly from a GitHub repository without managing servers

**Deploy from GitHub** in CrewAI AMP: pick a repository and branch, set environment variables (like your LLM API key), and deploy — optionally redeploying on every new commit. Credit: docs.crewai.com/en/enterprise/guides/deploy-crew ↗
AMP's **Basic tier is free** (50 workflow executions/month, visual editor, AI copilot, GitHub integration). Enterprise is **custom-quote** (50 hours of development/month, hosted or private infra). You still bring your own LLM key — that usage is billed separately. AI-generated
How-to CrewAI Everyone

Can't pass secret keys to your crew

Supply required secrets (e.g., LLM API key) to the deployed crew via AMP's UI

AI-generated
How-to CrewAI Everyone

You can see when a crew is still building and get its live URL and token as soon as it's ready

After deploy, AMP shows build **progress**, then your crew's live **URL** and a **Bearer Token** to protect it — the first deploy can take up to ~10 minutes. Credit: docs.crewai.com/en/enterprise/guides/deploy-crew ↗
Included in the AMP tier you're on (Basic counts runs against its 50/month). Calling your crew still spends your own LLM tokens, billed by your provider. AI-generated
How-to CrewAI Everyone

Compromised bearer token

If a token is compromised you can instantly generate a new one without redeploying

AI-generated
How-to CrewAI Everyone

Need to update a live crew after code changes

You can push new code to a running crew without leaving the dashboard

AI-generated
How-to CrewAI Everyone

Need to stop a deployed crew

You can cleanly stop a crew and free its resources with one click

AI-generated
How-to Flowise Everyone

Want to build AI agents without paying or giving a credit card

You can start building AI agents without any upfront cost or credit card

Flowise Cloud **Free = $0/month** (2 flows & assistants, 100 predictions/month, 5MB storage). Self-hosting the open-source version is free. On every plan you separately pay your own LLM API usage. AI-generated
How-to Flowise Everyone

Want a clean space to design your chatbot

A fresh visual workspace lets you design an agent by dragging and connecting nodes

AI-generated
How-to Flowise Everyone

Can't link nodes in my workflow

Linking nodes defines how data moves through the agent, turning boxes into a working pipeline

AI-generated
How-to Flowise Everyone

Sending a prompt through the chat panel proves the flow works end-to-end

AI-generated
How-to Flowise Everyone

You can see the assistant decide when to use a tool versus answering from documents

A **Chatflow** assistant in Flowise's chat panel — a single agent with tool calling and RAG, testable in the browser before you publish it. Credit: flowiseai.com ↗
Runs against your **100 predictions/month** on the Free plan; tool-calling turns spend extra LLM tokens billed by your provider. AI-generated
How-to Flowise Everyone

When a query can be satisfied by your own documents, the agent answers directly without invoking a tool

AI-generated
How-to Flowise Everyone

Need to collect info from the web

A Search Agent can retrieve relevant information from external sources for later use

An **Agentflow** canvas: a Start node branches to a Search Agent and a Get Request, then converges on a Summarize step — multi-agent orchestration built by connecting nodes. Credit: flowiseai.com ↗
Every agent step is its own model call, so a multi-agent run spends more predictions and tokens than a single Chatflow — plan the flow before you run it repeatedly. AI-generated
How-to Flowise Everyone

Want to pull data from a web API

The Get Request tool lets the flow call APIs or URLs and bring back raw data

AI-generated
How-to Flowise Everyone

Multiple agent outputs need to be merged

A Summarize node can take results from multiple upstream agents and produce a cohesive response

AI-generated
How-to Flowise Everyone

Executing the flow from the chat panel shows each agent act in sequence and pass results along

AI-generated
How-to Flowise Everyone

Model gives wrong output

Provides a way to send corrective input back to the model so it can generate a better result

Flowise's **human-in-the-loop** review: the agent pauses and asks a person to **Proceed** or **Reject** — and to give feedback on the last message — before acting. Credit: flowiseai.com ↗
Review adds no model cost while it waits; you only spend tokens when the agent resumes or revises after your feedback. AI-generated
How-to Flowise Everyone

Need to correct the assistant’s last reply

Enables the human to supply targeted edits that the agent can incorporate in its next generation step

AI-generated
How-to Flowise Everyone

Scoring runs provides an objective measure of whether changes improve the agent's output

An **execution trace** in Flowise: each step of a multi-agent run (Supervisor → workers → Generate Final Answer) with its inputs, duration and token count — observability for debugging and cost. Credit: flowiseai.com ↗
Tracing, analytics and **Evaluations & Metrics** are included on the **Free plan**; running the evaluations themselves spends normal model tokens. AI-generated
How-to Flowise Everyone

Need a live chat widget on any web page

You can turn a finished Flowise flow into a live chat widget that runs directly on any web page

Publishing is included on every plan; you stay within your plan's prediction limits (Free 100/mo, **Starter $35/mo** 10,000/mo, **Pro $65/mo** 50,000/mo) plus your own LLM API usage. Self-hosting the open-source version is free. AI-generated
How-to Flowise Everyone

Want chatbot replies in any app

Your Flowise flow can be invoked programmatically via a REST API, enabling integration with any application

AI-generated
How-to Flowise Everyone

You can run your Flowise agent locally or in scripts without writing code, using the built-in CLI

AI-generated
How-to Flowise Everyone

Want to talk to your chatbot from TypeScript or Python

Flowise provides client libraries so you can call your chatbot directly from TypeScript or Python projects

AI-generated
How-to Flowise Everyone

You decide whether your chatbot runs on managed Flowise Cloud or on your own servers, even in an isolated network

AI-generated
How-to Langflow Everyone

Want a local UI to chat with LLM agents

You can run Langflow on your machine for free using the Desktop app or Docker

Every block is real, editable Python (left) behind a simple config panel (right) — the Agent node exposes **Role**, **Language Model**, **Tools** and **Input Message** without making you touch code. Credit: www.langflow.org ↗
Langflow is **free and open-source (MIT)** — you self-host it at no cost. You pay only your own infrastructure plus the LLM API key you bring (here, a few cents of OpenAI usage). AI-generated
How-to Langflow Everyone

Sending a prompt in Playground lets you see step-by-step reasoning and tool selection

~15 min · low code AI-generated
How-to Langflow Everyone

You can see the whole application as blocks linked by wires, each block performing a single function

Still free: building and running flows locally costs nothing beyond your own machine and the model key you call. AI-generated
How-to Langflow Everyone

Want to add parts to a workflow

You can build a flow by dragging desired components from the list directly onto the visual canvas

AI-generated
How-to Langflow Everyone

Need to link block ports without code

Wiring blocks left-to-right tells Langflow how messages travel through the app without writing glue code

AI-generated
How-to Langflow Everyone

Every visual block corresponds to actual Python code you can inspect or modify

AI-generated
How-to Langflow Everyone

Executing a Langflow flow on your machine incurs no extra fees beyond your hardware and any external model API costs

AI-generated
How-to Langflow Everyone

Want to test a basic chat flow

Building and wiring three basic blocks demonstrates the core workflow of Langflow

AI-generated
How-to Langflow Everyone

My bot only gives generic answers

Loading your own source file makes the chatbot retrieve information from that content instead of generic model knowledge

The template gallery gives you working starters — **Content Search**, **Code Debugger**, **Basic Prompting**, **Basic Agent**, **Doc Assistant** — and a provider sidebar (Anthropic, MistralAI, Langchain, Glean, Cohere, OpenAI, NVIDIA) so you can wire in any model. Credit: www.langflow.org ↗
Free to build and run; you pay only the LLM (and any vector-DB) usage when the bot answers. Templates save you from wiring the flow from scratch. AI-generated
How-to Langflow Everyone

Need to point your flow at a new vector store

You can change the retrieval backend without rebuilding the flow

AI-generated
How-to Langflow Everyone

You can watch an agent's step-by-step thoughts and tool picks in real time

Free; Playground runs use only the model usage of each test message you send. AI-generated
How-to Langflow Everyone

The trace tells you exactly which block, role or tool caused an incorrect answer

AI-generated
How-to Langflow Everyone

A reasoning mistake in one part of the workflow

You can correct only the problematic block instead of rebuilding the whole flow

AI-generated
How-to Langflow Everyone

You can verify that an agent picks the right tool for a given request

~15 min · low code AI-generated
How-to Langflow Everyone

Want to call your workflow from anywhere

You can turn any finished flow into an instantly callable REST endpoint

The export dialog turns any flow into a callable service — copy the snippet under **Run cURL**, **Python API**, **Python Code** or **JS API** and run it from anywhere. Credit: www.langflow.org ↗
Free: exporting and self-hosting the API/MCP server costs only your own infrastructure plus the model usage per call. AI-generated
How-to Langflow Everyone

Running the generated cURL command proves the flow is reachable as a service

AI-generated
How-to Langflow Everyone

Calling a flow from a Python script

Using the provided Python code lets you integrate the flow into any Python application

AI-generated
FAQ CrewAI Everyone

What are agents, tasks, and a crew?

These are CrewAI's core building blocks. An agent is a role-playing AI worker with a role, a goal, a backstory, and optionally tools and its own LLM, for example a researcher whose goal is to find the latest facts on a topic. A task is a specific unit of work with a description and an expected output, assigned to an agent. A crew is the team of agents plus the list of tasks, run together with a process (such as sequential) that decides the order. In a scaffolded project you describe agents in agents.yaml and tasks in tasks.yaml, then wire them together in Python. Running the crew makes the agents collaborate and produce a final result.

crewai.com ↗ AI-generated
FAQ CrewAI Everyone

How do I give my agents tools like web search or file access?

Agents become useful when you attach tools. CrewAI ships a large library of ready-made tools (web search, scraping, file reading and writing, code execution, database and API access, and more), and you can also write custom tools as simple Python functions. You import a tool, instantiate it, and pass it in the agent's tools list, either in code or wired through the YAML-plus-Python scaffold. When the agent runs, it decides when to call a tool to gather information or take an action, rather than relying only on what the LLM already knows. Some tools need their own API keys (for example a search provider), which also go in your .env file.

crewai.com ↗ AI-generated
How-to CrewAI Everyone

Need a code‑only setup for agents and tasks

Learn how to set up agents, tasks, and flows using code instead of a visual canvas

~15 min · low code CrewAI official docs — Introduction ↗ AI-generated
How-to Flowise Everyone

No local installation needed

Start Flowise instantly in the browser without installing anything

~15 min · low code Flowise official docs (Getting Started) ↗ AI-generated
How-to Flowise Everyone

Want a bot that fetches live data

Learn how to let an agent automatically call external tools like web search or HTTP requests

~15 min · low code Flowise official docs (Overview) ↗ AI-generated
How-to Langflow Everyone

Need a quick way to call a flow

Obtain ready-to-use Python, JavaScript, or curl calls for a flow

Langflow docs — Publish flows ↗ AI-generated
FAQ Flowise Everyone

What is Flowise and what is it for?

Flowise is an open-source platform for building AI agents and LLM workflows visually, instead of writing code. You assemble apps by dragging boxes called nodes onto a canvas and connecting them, so you can see exactly how information flows. It is built for things like document-aware chatbots (RAG over your own PDFs), single chat assistants that can call tools, and multi-agent workflows where several agents hand work to each other. It connects to 100+ sources, tools, vector databases and memories, and major LLM and embedding providers, so most of the work is choosing and wiring nodes rather than programming.

flowiseai.com ↗ AI-generated
FAQ Flowise Everyone

How do I publish my finished agent for real users?

A finished flow can ship two main ways. As an embeddable chat widget: Flowise gives you a small script snippet that imports the flowise-embed module and initializes it with your chatflow ID and API host, which you paste between the body tags of your web page; the widget is themeable. Or programmatically: each flow is exposed via an API, a CLI, and TypeScript and Python SDKs, so other software can call it. You choose where it runs: Flowise Cloud (managed) or self-host the open-source version, including fully air-gapped for sensitive data. Publishing is included on every plan, within your plan's prediction limits.

flowiseai.com ↗ AI-generated
FAQ Flowise Everyone

What are Assistant, Chatflow and Agentflow?

These are Flowise's three builder types. Assistant is the most beginner-friendly way to create an AI agent: a chat assistant with instruction-following, tool use and RAG. Chatflow is for single-agent systems, chatbots and simpler LLM flows, with support for techniques like Graph RAG and rerankers. Agentflow is the superset of the other two and is where you do multi-agent orchestration: several agents and steps wired together on a canvas, where the connections set the order of work. A good progression is to start with a Chatflow assistant, then move to an Agentflow once one agent is not enough for the task.

flowiseai.com ↗ AI-generated
FAQ Flowise Everyone

How do I build a chatbot that answers from my own PDFs?

This is RAG (retrieval-augmented generation) and it is Flowise's sweet spot. Create a New Chatflow, drag a PDF File loader onto the canvas and upload your document. Add a vector store node and connect it: this indexes your PDF so the model can retrieve the relevant passages before answering. Then connect a chat-model node (for example OpenAI), open the chat panel, and ask something like 'Summarize the main method in this document.' The reply should be grounded in your uploaded file, not generic knowledge. You wire the vector store and embeddings visually instead of coding them, though those concepts do have a real learning curve.

GitHub ↗ AI-generated
FAQ Flowise Everyone

Can I keep a human in the loop before the agent does something risky?

Yes, Flowise has built-in human-in-the-loop review. You add a review step to a flow before the action you do not want fully automated, such as sending an email or finalising an answer. When the run reaches it, the flow pauses and shows the proposed output with Proceed and Reject controls, plus a box to give feedback on the last assistant message. Approving lets it continue; rejecting with a note sends the agent back to revise. The review adds no model cost while it waits, you only spend tokens when the agent resumes. This is how you ship agents you can trust on real tasks instead of running them unsupervised.

flowiseai.com ↗ AI-generated
FAQ Flowise Everyone

How do I see what my agent did and whether it is working well?

Flowise includes tracing and analytics plus Evaluations and Metrics, and the latter is on every plan including Free. After a run you open its execution trace: a step-by-step view from Start through each agent to the final answer, showing each step's inputs, outputs, duration and token count. That is how you find a slow or expensive step, or debug a wrong answer. Evaluations and Metrics let you score runs against expected answers so you can tell whether a change to the flow genuinely improved it rather than just feeling better. Tracing and evaluations are free; running the evaluations themselves spends normal model tokens.

flowiseai.com ↗ AI-generated
FAQ Langflow Everyone

How does Langflow compare to Flowise?

Both are free, open-source, drag-and-drop builders for AI agents and RAG apps, and both let you self-host and bring your own model keys, so they overlap heavily. The clearest difference is the foundation: Langflow is built around Python and LangChain, and every block opens as editable Python — which suits teams comfortable in the Python ecosystem who may want to drop to code or export flows as an API or MCP server. Flowise is built on Node.js and JavaScript, which can fit JavaScript-first teams better. Both have template galleries and visual canvases, so the practical choice often comes down to which language ecosystem and component set your team already uses. Try the Simple Agent template in each and see which canvas feels clearer.

GitHub ↗ AI-generated
FAQ Langflow Everyone

What is the fastest way to build my first agent?

Use a template instead of a blank canvas. After installing, click New Flow and choose the Simple Agent template — it comes with an Agent component already wired to Chat Input and Output plus Calculator and URL tools. In the Agent component click Setup Provider, pick your model provider, and paste your API key (you bring your own key; Langflow is free). Then click Playground and type a simple request like "I want to add 4 and 4." The agent shows its reasoning, picks the Calculator tool, and answers 8. You have a working, tool-using agent in minutes without writing any code.

langflow.org ↗ AI-generated
FAQ Langflow Everyone

How does the canvas work — what are blocks and wires?

A flow is blocks wired together. Each block does one job — a chat input, a language model, a document store, an agent, a web-fetch tool — and the wires between them decide how information moves through your app. You drag blocks from the component list onto the canvas and connect their ports left to right, so a typed message flows into the model and the reply flows back out. Wiring is how you design behaviour; for common cases there is no glue code to write. Open any block and you will see it is real, editable Python underneath, because Langflow is a visual layer over Python and LangChain. Beginners never have to touch that code, but it is there when you want to customise a component.

langflow.org ↗ AI-generated
FAQ Langflow Everyone

Can I build a chatbot that answers questions from my own documents?

Yes — this is one of Langflow's most common uses, built with retrieval-augmented generation (RAG). Open the template gallery and pick a document-grounded starter, then point its document block at your own source, such as a PDF or a website. RAG means the bot first retrieves the relevant passages from your files, then asks the model to answer using them, so replies are grounded in your content rather than guessed. Open the Playground and ask a question only that document can answer. This is the same pattern researchers use to chat with their own papers or datasets, and the flow generalises from one PDF to a whole folder or a shared literature-Q&A bot.

langflow.org ↗ AI-generated
FAQ Langflow Everyone

Which models and vector databases does Langflow support?

Langflow is model-agnostic: the README states it supports all major LLMs and vector databases, with a growing library of AI tools. You bring your own provider keys — OpenAI, Anthropic, and others — by pasting them into the model block, and you are not locked into any single vendor. Because every component is editable Python over LangChain, you can swap the language model, the embedding model, or the vector store without rebuilding the whole flow. For private or offline setups you can point the model block at a local model instead of a hosted API. This flexibility is a core reason teams pick Langflow over more closed builders.

GitHub ↗ AI-generated
FAQ Langflow Everyone

How do I debug a flow when it does not behave?

Use the Playground, which is built for exactly this. When you chat with your flow there, the agent shows its step-by-step reasoning and which tools it chose, so you can see where a wrong answer came from — a bad retrieval, a missing tool, or an unhelpful prompt. Because each block is a discrete step, you can inspect inputs and outputs at each stage rather than treating the app as a black box. If you need to go deeper, open the underlying Python of any component to understand exactly what it does. Watching the agent think out loud is usually faster than reading raw logs for spotting why a flow misbehaves.

langflow.org ↗ AI-generated
How-to CrewAI Everyone

I need a starter folder for my AI crew

The `crewai create crew <name>` command auto‑generates a ready‑to‑edit directory containing agents, tasks, tools and config files in YAML, saving manual setup time.

CrewAI ↗ AI-generated
How-to CrewAI Everyone

Need a reproducible workflow with hidden API keys

Locking with `crewai install` creates a reproducible UV lock file; adding OpenAI and SerpAPI keys in `.env` secures credentials; `crewai run` orchestrates agents, tools, and tasks to produce the final report.

CrewAI ↗ AI-generated
How-to CrewAI Everyone

Need a short article created by three roles

CrewAI abstracts multi‑agent work into a simple crew definition: you list role classes, set each role’s goal, and the framework automatically schedules agents to fulfill those goals. This reduces boilerplate and makes the codebase highly readable.

Digibase Media ↗ AI-generated
How-to CrewAI Everyone

A rough draft email you wrote

Using Crew AI's `Agent`, `Task`, and `Crew` classes, the tutorial creates an agent with role, goal, and backstory prompts, then defines a task that rewrites a rough email. This shows how prompt engineering drives agent behavior.

codebasics ↗ AI-generated
How-to CrewAI Everyone

My AI agent can’t understand company abbreviations

The video builds a subclass of `BaseTool`, implements a `run` method that replaces organization‑specific abbreviations, and registers the tool in an agent. This demonstrates how to give agents domain knowledge they otherwise lack.

codebasics ↗ AI-generated
How-to CrewAI Everyone

Want a short, fact‑based blog post

By defining a researcher agent and a writer agent, then creating two tasks (research facts → write blog), the tutorial shows how Crew AI passes output from one agent as input to the next, enabling complex pipelines.

codebasics ↗ AI-generated
How-to CrewAI Everyone

Your AI stops at its knowledge cutoff

The tutorial imports `SerperTool`, supplies a SerpAPI key, and attaches the tool to the researcher agent. This enables the agent to perform live Google searches, overcoming LLM knowledge cutoffs.

codebasics ↗ AI-generated
How-to CrewAI Everyone

Prompt text hard‑coded in Python

Crew AI can load agent and task definitions from YAML files. The video moves role, goal, backstory, and task descriptions into `agents.yml` and `tasks.yml`, then uses a subclass of `CrewBase` to reference those files, achieving loose coupling.

codebasics ↗ AI-generated
How-to CrewAI Everyone

When you want your AI crew to plan before acting

Setting `reasoning=True` makes Crew AI perform a planning step before acting, improving task decomposition. The tutorial explains the difference between reactive and reasoning modes.

codebasics ↗ AI-generated
How-to CrewAI Everyone

Want agents to remember their output across steps

Crew AI provides `ReadDirectoryTool` and `WriteFileTool`. The tutorial uses them to store generated social‑media drafts in a folder structure, demonstrating persistent storage across agent steps.

codebasics ↗ AI-generated
How-to CrewAI Everyone

Need a ready project layout to start coding

The CLI can generate a starter project with the correct folder layout, config files and an executable script. You just name your crew and it creates source, test, and knowledge directories.

NeuralNine ↗ AI-generated
How-to CrewAI Everyone

Want the latest stock price, change and headlines for a ticker

CrewAI agents can call Python functions annotated as tools. By wrapping a yfinance query in a function and decorating it with `@tool`, the agent can retrieve price, change and recent headlines as plain text.

NeuralNine ↗ AI-generated
How-to CrewAI Everyone

Need a market data collector that works for any ticker

Agents are described in simple YAML with three fields: role, goal, and backstory. Placeholders like `{ticker}` can be used so the same definition works for any input.

NeuralNine ↗ AI-generated
How-to CrewAI Everyone

Want an agent to call a specific tool

Tasks link an agent to a concrete action. The description tells the agent which tool to call, and `expected_output` defines the format you want back.

NeuralNine ↗ AI-generated
How-to CrewAI Everyone

Need to use a locally hosted AI instead of OpenAI

CrewAI reads provider settings from an `.env` file. By replacing the OpenAI key/model with `OLAMA_MODEL`, `OLAMA_API_BASE`, you can run the same crew on any locally hosted model.

NeuralNine ↗ AI-generated
How-to CrewAI Everyone

Need a daily stock snapshot

With agents, tasks, and tools wired together, invoking `crewai run` executes the workflow: collector fetches data, summarizer condenses it, risk checker flags issues, and brief writer produces the final report.

NeuralNine ↗ AI-generated
How-to CrewAI Everyone

Want to add an OCR step to your workflow

You can grow the workflow by adding another YAML agent (e.g., OCR extractor) and a matching task, then list it in `crew.py`. The framework will orchestrate the new step automatically.

NeuralNine ↗ AI-generated
How-to CrewAI Everyone

Need separate AI helpers for each task

CrewAI’s low‑code studio lets you split a complex task into multiple specialized agents, each with a single responsibility. Clear role separation prevents hallucination caused by overlapping duties.

YouTube ↗ Lesson → AI-generated
How-to CrewAI Everyone

Need multiple AI agents to collaborate

Crew AI lets you define multiple specialized agents that collaborate to solve a larger problem. By specifying each agent's role, goal, backstory and tools, the framework orchestrates sequential task execution, passing results between agents automatically.

aiwithbrandon ↗ AI-generated
How-to CrewAI Everyone

Need an AI with a specific role, goal and backstory

Each Crew AI agent is a self‑contained LLM with a clear purpose. The role is its job title, the goal describes the concrete result it must deliver, and the backstory provides context that guides its behavior. Attaching tool decorators makes external functions (e.g., calculator or search) available to the agent.

aiwithbrandon ↗ AI-generated
How-to CrewAI Everyone

Agents need to perform calculations themselves

Custom tools expose Python functions to agents via the @tool decorator. The calculator example shows how to accept an expression string, safely evaluate it, and return the result, enabling agents to perform arithmetic without hard‑coding logic.

aiwithbrandon ↗ AI-generated
How-to CrewAI Everyone

Agents need to look up info online

The search tool lets agents query Google via Serper, returning top results with titles, URLs, and snippets. Storing the API key in a .env file keeps credentials safe, and the @tool decorator makes the function callable by any agent.

aiwithbrandon ↗ AI-generated

The same set on /recipes, filtered by tool and role.

6Videos 9

7FAQ 14

What are agents, tasks, and a crew?

These are CrewAI's core building blocks. An agent is a role-playing AI worker with a role, a goal, a backstory, and optionally tools and its own LLM, for example a researcher whose goal is to find the latest facts on a topic. A task is a specific unit of work with a description and an expected output, assigned to an agent. A crew is the team of agents plus the list of tasks, run together with a process (such as sequential) that decides the order. In a scaffolded project you describe agents in agents.yaml and tasks in tasks.yaml, then wire them together in Python. Running the crew makes the agents collaborate and produce a final result.

How do I give my agents tools like web search or file access?

Agents become useful when you attach tools. CrewAI ships a large library of ready-made tools (web search, scraping, file reading and writing, code execution, database and API access, and more), and you can also write custom tools as simple Python functions. You import a tool, instantiate it, and pass it in the agent's tools list, either in code or wired through the YAML-plus-Python scaffold. When the agent runs, it decides when to call a tool to gather information or take an action, rather than relying only on what the LLM already knows. Some tools need their own API keys (for example a search provider), which also go in your .env file.

What is Flowise and what is it for?

Flowise is an open-source platform for building AI agents and LLM workflows visually, instead of writing code. You assemble apps by dragging boxes called nodes onto a canvas and connecting them, so you can see exactly how information flows. It is built for things like document-aware chatbots (RAG over your own PDFs), single chat assistants that can call tools, and multi-agent workflows where several agents hand work to each other. It connects to 100+ sources, tools, vector databases and memories, and major LLM and embedding providers, so most of the work is choosing and wiring nodes rather than programming.

How do I publish my finished agent for real users?

A finished flow can ship two main ways. As an embeddable chat widget: Flowise gives you a small script snippet that imports the flowise-embed module and initializes it with your chatflow ID and API host, which you paste between the body tags of your web page; the widget is themeable. Or programmatically: each flow is exposed via an API, a CLI, and TypeScript and Python SDKs, so other software can call it. You choose where it runs: Flowise Cloud (managed) or self-host the open-source version, including fully air-gapped for sensitive data. Publishing is included on every plan, within your plan's prediction limits.

What are Assistant, Chatflow and Agentflow?

These are Flowise's three builder types. Assistant is the most beginner-friendly way to create an AI agent: a chat assistant with instruction-following, tool use and RAG. Chatflow is for single-agent systems, chatbots and simpler LLM flows, with support for techniques like Graph RAG and rerankers. Agentflow is the superset of the other two and is where you do multi-agent orchestration: several agents and steps wired together on a canvas, where the connections set the order of work. A good progression is to start with a Chatflow assistant, then move to an Agentflow once one agent is not enough for the task.

How do I build a chatbot that answers from my own PDFs?

This is RAG (retrieval-augmented generation) and it is Flowise's sweet spot. Create a New Chatflow, drag a PDF File loader onto the canvas and upload your document. Add a vector store node and connect it: this indexes your PDF so the model can retrieve the relevant passages before answering. Then connect a chat-model node (for example OpenAI), open the chat panel, and ask something like 'Summarize the main method in this document.' The reply should be grounded in your uploaded file, not generic knowledge. You wire the vector store and embeddings visually instead of coding them, though those concepts do have a real learning curve.

Can I keep a human in the loop before the agent does something risky?

Yes, Flowise has built-in human-in-the-loop review. You add a review step to a flow before the action you do not want fully automated, such as sending an email or finalising an answer. When the run reaches it, the flow pauses and shows the proposed output with Proceed and Reject controls, plus a box to give feedback on the last assistant message. Approving lets it continue; rejecting with a note sends the agent back to revise. The review adds no model cost while it waits, you only spend tokens when the agent resumes. This is how you ship agents you can trust on real tasks instead of running them unsupervised.

How do I see what my agent did and whether it is working well?

Flowise includes tracing and analytics plus Evaluations and Metrics, and the latter is on every plan including Free. After a run you open its execution trace: a step-by-step view from Start through each agent to the final answer, showing each step's inputs, outputs, duration and token count. That is how you find a slow or expensive step, or debug a wrong answer. Evaluations and Metrics let you score runs against expected answers so you can tell whether a change to the flow genuinely improved it rather than just feeling better. Tracing and evaluations are free; running the evaluations themselves spends normal model tokens.

How does Langflow compare to Flowise?

Both are free, open-source, drag-and-drop builders for AI agents and RAG apps, and both let you self-host and bring your own model keys, so they overlap heavily. The clearest difference is the foundation: Langflow is built around Python and LangChain, and every block opens as editable Python — which suits teams comfortable in the Python ecosystem who may want to drop to code or export flows as an API or MCP server. Flowise is built on Node.js and JavaScript, which can fit JavaScript-first teams better. Both have template galleries and visual canvases, so the practical choice often comes down to which language ecosystem and component set your team already uses. Try the Simple Agent template in each and see which canvas feels clearer.

What is the fastest way to build my first agent?

Use a template instead of a blank canvas. After installing, click New Flow and choose the Simple Agent template — it comes with an Agent component already wired to Chat Input and Output plus Calculator and URL tools. In the Agent component click Setup Provider, pick your model provider, and paste your API key (you bring your own key; Langflow is free). Then click Playground and type a simple request like "I want to add 4 and 4." The agent shows its reasoning, picks the Calculator tool, and answers 8. You have a working, tool-using agent in minutes without writing any code.

How does the canvas work — what are blocks and wires?

A flow is blocks wired together. Each block does one job — a chat input, a language model, a document store, an agent, a web-fetch tool — and the wires between them decide how information moves through your app. You drag blocks from the component list onto the canvas and connect their ports left to right, so a typed message flows into the model and the reply flows back out. Wiring is how you design behaviour; for common cases there is no glue code to write. Open any block and you will see it is real, editable Python underneath, because Langflow is a visual layer over Python and LangChain. Beginners never have to touch that code, but it is there when you want to customise a component.

Can I build a chatbot that answers questions from my own documents?

Yes — this is one of Langflow's most common uses, built with retrieval-augmented generation (RAG). Open the template gallery and pick a document-grounded starter, then point its document block at your own source, such as a PDF or a website. RAG means the bot first retrieves the relevant passages from your files, then asks the model to answer using them, so replies are grounded in your content rather than guessed. Open the Playground and ask a question only that document can answer. This is the same pattern researchers use to chat with their own papers or datasets, and the flow generalises from one PDF to a whole folder or a shared literature-Q&A bot.

Which models and vector databases does Langflow support?

Langflow is model-agnostic: the README states it supports all major LLMs and vector databases, with a growing library of AI tools. You bring your own provider keys — OpenAI, Anthropic, and others — by pasting them into the model block, and you are not locked into any single vendor. Because every component is editable Python over LangChain, you can swap the language model, the embedding model, or the vector store without rebuilding the whole flow. For private or offline setups you can point the model block at a local model instead of a hosted API. This flexibility is a core reason teams pick Langflow over more closed builders.

How do I debug a flow when it does not behave?

Use the Playground, which is built for exactly this. When you chat with your flow there, the agent shows its step-by-step reasoning and which tools it chose, so you can see where a wrong answer came from — a bad retrieval, a missing tool, or an unhelpful prompt. Because each block is a discrete step, you can inspect inputs and outputs at each stage rather than treating the app as a black box. If you need to go deeper, open the underlying Python of any component to understand exactly what it does. Watching the agent think out loud is usually faster than reading raw logs for spotting why a flow misbehaves.

8Glossary 38 terms

Show the 38 terms
Flowise
Chatflow
A visual builder in Flowise for creating single-agent chatbots and simple LLM workflows by connecting nodes on a drag-and-drop canvas.
Agentflow
Flowise's most powerful visual builder — a superset of both Chatflow and Assistant — that supports multi-agent systems, branching logic, loops, and human-in-the-loop checkpoints.
Assistant
The most beginner-friendly Flowise builder, which lets you create an AI agent that follows instructions, uses tools, and retrieves answers from uploaded files — without wiring individual nodes.
Node
A single building block on the Flowise canvas — each node performs one job (e.g. call an LLM, search a document, run a tool) and connects to other nodes via edges.
Canvas
The visual workspace inside Flowise where you drag, drop, and wire together nodes to design an AI workflow.
LLM
Large Language Model — the AI text engine (such as GPT-4 or Claude) that reads instructions and generates responses inside a Flowise workflow.
Agent
An autonomous AI component that can reason, plan, decide which tools to use, and take actions — unlike a plain LLM node, it makes decisions dynamically.
Tool
A function that an agent can call to interact with the outside world, such as searching the web, running a calculation, or making an HTTP request.
RAG
Retrieval-Augmented Generation — a technique where the AI fetches relevant passages from your own documents before answering, so responses are grounded in your data rather than general training.
Document Store
A Flowise feature that lets you upload, split, and index your own files so that agents can search and retrieve information from them.
Vector Store
A specialised database that stores text as lists of numbers (vectors) so that semantically similar content can be found quickly, even if the exact words differ.
Embedding
A numerical representation of a piece of text — two embeddings that are close together in number-space mean the texts have similar meaning, enabling similarity search.
Chunk
A small segment of a document created by splitting the original file into pieces before indexing, so that only the most relevant part is retrieved rather than the whole document.
Upsert
The action in Flowise that sends your prepared document chunks into a Vector Store — it adds new entries and updates existing ones without creating duplicates.
Flow State
A runtime key-value store that passes data between nodes within a single Agentflow run, letting distant nodes read values set by earlier nodes.
Human Input node
An Agentflow node that pauses execution and waits for a real person to review, approve, or provide information before the workflow continues.
Memory
A component that stores previous conversation messages so the AI can refer back to earlier exchanges within the same chat session.
Buffer Window Memory
A memory type that keeps only the most recent K conversation turns, discarding older ones, to avoid sending too much history to the LLM.
Streaming
A mode where the AI sends its reply token-by-token in real time as it is generated, rather than waiting until the full response is complete before showing anything.
MCP
Model Context Protocol — an industry-standard interface that lets AI agents connect to external tools and data sources through a common, provider-maintained interface.
Retriever
A node that queries a Document Store using semantic similarity to fetch the passages most relevant to the user's question.
Execute Flow node
An Agentflow node that calls another Chatflow or Agentflow as a sub-workflow, letting you reuse or nest existing flows inside a larger one.
Langflow
pip
The standard tool for installing Python packages; running `pip install something` downloads and installs a library so your Python code can use it.
uv
A fast Python package and project manager (made by Astral) that works like pip but runs significantly faster, especially when installing many packages at once.
Playground
Langflow's live testing panel where you message a flow and watch the agent's step-by-step reasoning and tool choices in real time.
canvas
The visual workspace where you drag blocks and draw wires between them to build a flow without writing glue code.
CrewAI
pip install crewai
The terminal command that downloads and installs the CrewAI library onto your computer so Python can use it.
crewai create crew
A CrewAI CLI command that generates a ready-to-run project folder with all the starter files your crew needs (config files, crew.py, and a .env template).
crewai run
A CrewAI CLI command that executes your crew or flow, reading the project type automatically from pyproject.toml and running all the agents and tasks you have defined.
.env
A hidden text file in your project folder where you store secret settings like API keys so they are not baked into your code.
agents.yaml
A CrewAI configuration file (in YAML format) where you describe each agent's role, goal, and backstory without writing Python code.
tasks.yaml
A CrewAI configuration file (in YAML format) where you describe each task — what it asks for, what output it expects, and which agent handles it.
crew.py
The main Python file generated by CrewAI that wires your agents and tasks together into a runnable crew using the settings in your YAML config files.
Crew
The core CrewAI Python class that groups your agents and tasks together and controls how they collaborate to complete a goal.
role
A plain-English field in agents.yaml naming what an agent is (e.g. 'Senior Researcher'), shaping how it approaches its tasks.
goal
A plain-English field in agents.yaml stating what an agent is trying to achieve, steering its reasoning and output.
backstory
A plain-English field in agents.yaml giving an agent context about its experience, further tuning how it behaves.
expected output
A field in tasks.yaml describing what a finished task should produce, guiding the assigned agent's response.

9See also

💬 Discuss this chapter

Ask, share, or report — over on the Heidelberg AI community forum.