Creating New Stages
iostack Agents are built by constructing a graphical model of your conversation process.
When you first create an agent, it will be pre-populated with a starting Stage and that stage will be configured as the entry point for the Agent i.e. this is the first stage that will be used to control interactions between the LLM and the user.
To add new stages to your agent and build out the structure of your Agent, follow these steps:
- In the Flow section, put your mouse above a stage and move it to one of its four edges until you see a grey circle appear immediately adjacent to that edge and the cursor to change to a ‘+’.
- Click the left mouse button and drag to a new location in the Flow.
- Release the mouse button.
- This immediately creates two things:
- A new unnamed Stage
- A Transition from the first Stage to the new Stage (displayed as the arrow from the first to the new stage)
- A window to configure the transition is also opened.
- Edit the name and condition for the new Transition and close the Transition window when you are finished.
- Then click on the new Stage in the Flow and edit the settings for the new Stage, closing it too when you are finished.
Repeat this process for each Stage in your Agent design until you have created as much structure as required to test your Agent.