New Tool Radar

AI Agents & Automation

How to Start a Langflow Agent From the Simple Agent Template

Use Langflow's Simple Agent template to start a working agent flow, then replace its model and tools with your own.

Schematic diagram with three steps: Pick Simple Agent template, Check the wired components, then Swap in your model.

Building from a blank flow teaches the wiring, but a template gives you a working agent in minutes. The Langflow documentation names the Simple Agent template as the prebuilt example for an agent flow, and it is the fastest way to a first working test.

Before you start

You need a running Langflow instance and a model provider key already saved in the Model Providers pane. Know the one job the agent should do before you start, so you can tell a good template result from a bad one.

Create the flow from the template

Click New Flow and choose the Simple Agent template instead of a blank flow. Open the canvas and read the wired components before you change anything: Chat Input, Agent and Chat Output, with the Calculator tool already enabled on the Agent component.

Swap the model and test, then change one thing at a time

Select the model you want on the Agent component and run one Playground question. If the reply is good, change one thing, for example the agent instructions, and test again. Changing the model, the instructions and the tools all at once makes a bad reply impossible to trace.

Worked example: Template test for a fictional support desk

Maple Support is a fictional support desk. Its first agent starts from the Simple Agent template. The table shows the three test questions and what each one checks.

Test question What it checks
What tools are you using? The agent names its tools
What is 48 plus 36? The Calculator tool gives 84
How do I reset my password? The agent says it has no password tool

Expected result (UNTESTED): the tools question names the Calculator, the sum returns 84, and the password question gets an honest refusal instead of an invented procedure. We checked the Langflow agents documentation, which names the Simple Agent template as the prebuilt agent example, but we did not run the template on a live Langflow instance.

Limits

A template is a starting point, not a finished agent. Its instructions are generic, its tools are minimal, and its model may not be the one you want. Treat the first working reply as a baseline and change one setting at a time from there.

Sources

See all