LearnAILevel 1.5 · Station 7 hands-on ← Coach HQ

Station 7 · Architectures · Hands-on (visual)

Build an agent visually

Wire up a working AI agent with zero code in Langflow — drag boxes, connect a REST API tool and an MCP server, and watch it solve a problem. You literally see the architecture from Station 7.

🧰 What you need

A free Gemini API key and Langflow (installs in one command). No coding. The only file you'll touch is an optional MCP server: ⬇ team_server.py.

What you'll build

The same agent as the code lab — but as a flow diagram you assemble by hand. Boxes = components; lines = data flowing between them.

Chat Input Agent Gemini + Tools Chat Output 🌐 API Request currency API 🔌 MCP Tools team_server connected to the Agent's “Tools” port

Step 1

Open Langflow

Pick the easiest option for your class — all free:

💡 Shortcut

Click New Flow → Simple Agent to start from a template that already has Chat Input → Agent → Chat Output wired. Then you only add the two tools in Steps 4–5.

Step 2

Drop in the core three

From the left component sidebar, drag these onto the canvas (skip if you used the template):

  1. Chat Input (Inputs) — where your question enters.
  2. Agent (Agents) — the brain that decides which tool to use.
  3. Chat Output (Outputs) — where the answer comes out.

Connect them left-to-right: drag from Chat Input's output dot to the Agent's input, then Agent's response to Chat Output.

Step 3

Give the Agent a Gemini brain

Click the Agent component. In its settings:

Step 4

Add Tool #1 — a REST API

Drag an API Request component (Data / Tools) onto the canvas and configure it:

Drag from the API Request's Toolset output into the Agent's Tools port. That line means "Agent, you may call this API."

Step 5

Add Tool #2 — an MCP server

This is the Station-7 payoff: plug in tools over MCP with no glue code. Drag the MCP Tools component (Tools / Bundles → MCP) onto the canvas.

Drag the MCP Tools output into the Agent's Tools port too. Now the Agent has both a web API and your MCP server.

🌐 No terminal? Use a hosted MCP server

Instead of Stdio, choose Mode → SSE/HTTP and paste a hosted MCP server URL. Same result — the Agent gains those tools.

Step 6

Run it & watch the calls

Click Playground (top-right) and ask the two-part question:

playground
Maya earned a 500 USD bonus. What's her role,
and how much is 500 USD in euros?
what you'll seeExpand the agent's steps — it makes an MCP call (get_member_role → Team Lead) and an API call (the conversion), then answers. Same agent as the code lab, built by dragging boxes.

Step 7

Save your work (the downloadable)

Langflow flows export as a single file. Click Share → Export (or the flow menu → Export) and Download — you get a .json you (or a student) can re-import into any Langflow with Import. That JSON is your visual workbook.

🩺 Troubleshooting

Component names moved? Langflow's UI shifts between versions — search the sidebar for "Agent", "API Request", and "MCP".  MCP won't connect? Make sure team_server.py is reachable and pip install mcp is done, or switch to a hosted SSE server.  No answer? Re-check the Gemini key and that both tools are wired into the Agent's Tools port.


Nice — you built an agent with no code. Same architecture, same API + MCP calls, assembled visually. Want to see exactly what those boxes do under the hood? Do the sibling lab in Python.