Agent playground

When editing an agent, you can go to the Playground tab to test the agent.

The playground features the Chatbox component. It uses the chatbox in debug mode.

The following things can be done directly in the playground:

  • Enable/Disable Streaming: Choose whether the response should be streamed.

  • Enable/Disable History: Choose whether to maintain conversation history. History is enabled by default. When history is enabled, the agent receives previous messages of the conversation as context. The number of messages is set in Last N-Messages. When history is disabled, each message starts a new conversation. The agent does not remember previous messages, the list of past conversations is hidden, and the conversation is not saved. To clear the current chat, select the clear button at the top of the chat.

  • Set Variables: System variables (such as user email or current time) are set on the back-end side. You can specify any non-system variables in the input here.

If you change something on the agent (for example, add a new tool) you have to save first before you test in the agent.