First agent builder
Builder Lab
Design your first agent step by step: the name, goal, instructions, inputs, outputs and tools, then try it on a sample input.
Loading the First Agent Builder…
Suggested labs in this lab
Building a first agent and watching its loop Build Your First Agent
To see the agent's basic components (the input, the agent, the tool and the output) working together in a single loop, and to understand the effect of the maximum number of steps on the loop's behavior.
- Open the First Agent Builder (open ↗) and start with a diagram that contains the Start, Agent, Output and End nodes
- In the input of the Start node, write a simple task such as: compute the sum of 120, 95 and 150
- In the Agent settings, write a name and a goal, choose the calculator tool under tools, and set maxSteps to 5
- Run the diagram and read the execution log line by line: when calculator was chosen and what it returned
- Change maxSteps to 1, run again and compare the result
- Remove calculator from tools, run again and notice how the steps change
What you will notice: In the first run the agent calls calculator and then reaches Output with a numerical result. With maxSteps=1 the agent may stop before completing the task, and a limit-exceeded message appears. And without the tool the agent cannot compute with a reliable tool. Remember that the simulator is deterministic and does not use a real model.
