Build Your First AI Agent
Build your first AI agent: add an agent to a workflow, give it a model and instructions, connect a tool, and test it, in about ten minutes.
An agent is a node in your workflow that can reason: given an input and a set of tools, it decides what to do to reach a goal, instead of following a fixed path. This quickstart adds one ReAct agent — the most common type — to a workflow and gets it running.
Before you begin
- A workflow open on the Workflow Canvas (a new one, or the prebuilt starter workflow already in your account).
- A model configured for your tenant. An agent needs an LLM to think. Open the model picker in the agent's config; if it is empty, you will need a model set up first.
Model required. If the model picker shows no options, the agent cannot run yet. Configure a model for your tenant (or use a shared model if one is available to your workspace) before finishing this guide. Everything else below still applies — the model is the one prerequisite.
Step 1 — Add an agent node
Goal: drop an agent onto the canvas. (~2 min)
- Click Add Node on the canvas.
- Choose Agent from the node type menu.
- Double-click the new node to open its configuration.
Step 2 — Pick a model
Goal: give the agent a brain. (~1 min)
Open Model Selection and choose an LLM (for example Claude, GPT-4, or Groq). Optionally adjust temperature (how creative) and max tokens (how long the response can be).
✅ Verify: a model is selected in the picker. If the list is empty, see the model prerequisite above — the agent will not run without one.
Step 3 — Give it instructions
Goal: tell the agent its job. (~3 min)
Under Prompt Configuration, either apply a pre-built template or write your own. Describe the agent's role and what it should do, and inject workflow data with FlowGenX expressions where you need it.
You are a research assistant. Given a topic, gather concise,
well-sourced findings and return a short summary.
Topic: {{ trigger.output.topic }}
Step 4 — Add a tool (optional but powerful)
Goal: let the agent act, not just talk. (~2 min)
In Tools, attach one or more capabilities the agent can call — a connected app's operations, an MCP tool, or a search connector. A ReAct agent decides when to use each tool as it reasons. See Agent tools for the full list.
Step 5 — Test it
Goal: confirm the agent reasons and responds. (~2 min)
Open the Agent Playground (or run the workflow) with a sample input and watch the agent's reasoning and final output.
✅ Verify: the agent produces a response for your test input. If it errors on the model, re-check Step 2. If a tool call fails, confirm that app is connected in Connected Apps.
Where to go next
The Agent Builder
The full reference for every agent setting: model, prompt, memory, and I/O.
Introduction to agents
ReAct, supervisor, and swarm agents — and when to use each.
Agent tools
Give agents connected apps, MCP tools, and search as callable actions.
Use agents in workflows
Wire agents into multi-step, multi-agent workflows.