Skip to main content

Test your web AI agent in the playground

Summary

The Playground allows you to test your web AI agent before deploying it to your website. You can preview how the agent responds, validate its instructions, and experience the widget's interface exactly as your visitors will see it. This helps you identify and fix issues before going live.

Instructions

Use the Playground to evaluate your web AI agent in a realistic environment. The Playground is designed to closely match the actual web experience, making it easier to test agent behavior, responses, and user interactions before deployment.

Preview your AI agent before deployment

The Playground provides a fully integrated testing environment for your web AI agent.

How to use playground

The Playground is available under Build My Agent when creating a new AI agent.

Use the Playground to test, refine, and preview your agent before deployment.

In the Playground, you can:

  • Test the behavior and responses of your text agent

  • Test voice interactions with your voice agent

  • Update agent instructions using Astra Vibe to adjust agent behavior

  • Preview changes in real time while refining your agent

  • Customize the agent's appearance using available branding options

  • Review the overall user experience before deploying the agent

This allows you to verify that your AI agent behaves as expected and provides the desired customer experience.

Note: You can use the Astra Playground to test and validate the behavior of both your text agent and voice agent before deployment.

Improved testing experience

The Playground is designed specifically for web agents, providing a more accurate testing environment.

Benefits include:

  • A realistic preview of the live web widget experience

  • More reliable testing of agent responses

  • Better visibility into how users will interact with the widget

  • Easier validation of agent configurations and instructions

Streamlined interface

The Playground includes an updated interface optimized for web widget testing.

This streamlined experience makes it easier to:

  • Configure your AI agent

  • Test different conversation scenarios

  • Review agent responses

  • Validate changes before deployment

Consistent visual experience

The Playground includes visual improvements that help maintain a consistent appearance across testing and deployment environments.

These improvements include:

  • Optimized default backgrounds

  • Improved screenshot fallback handling

  • Better visual consistency between the Build Demo page and the Playground

As a result, the agent preview more closely reflects the experience users will see when interacting with your deployed web widget.

Did this answer your question?