Test a specialized agent

  • Updated

You can test your specialized agent in Optimizely Opal before deploying it or after editing it.

Access your agents

  1. Go to home.optimizely.com
  2. Select your organization.
  3. Select Opal.

    Click Opal
  4. Click Agents

  5. Select the Your Agents tab.

Test your specialized agent

To complete a Test Run of your specialized agent, complete the following steps:

  1. Follow the steps in the Access your agents section.
  2. Click the agent name or click More actions (...) > Edit Agent.
  3. Click Test Run.

    Click Test Run
  4. (Optional) Enter values for any specified input variables for your agent.
    • (Optional) Click Clear All to remove all parameters.
  5. Click Run.

The agent runs and displays the Execution Results. Click Stop Execution to end the Test Run

The Execution Results include the following information: 

  • Output – The agent's execution results.
    • Execution ID – The unique identifier of the request.
    • Status – Whether the run was successful.
    • Output – The final result returned to Opal Chat or a workflow agent.
  • Memory – Each step that Opal takes while executing the agent. Use this information to debug your agent and confirm that the outputs and steps make sense.
    • The first message shows the initial request, including the prompt template and variable values.
    • The last message is the final output returned to the user.
    • Other messages in between are steps that Opal takes to form its response, including tool calls in JSON format and repeated actions until Opal comes to a satisfactory output.
    • The following is a truncated example of an agent's execution: 

The execution details also display in the specialized agent's logs.