Skip to main content
This repository includes a simple example agent that sells T-shirts. You can use it to see Rogue in action with any of the available interfaces.

Prerequisites

  1. Install example dependencies: If you are using uv:
    or, if you are using pip:

1. Start the Example Agent

In a separate terminal, run the following command to start the t-shirt store agent: If you are using uv:
If not:
This will start the agent on http://localhost:10001.

2. Choose Your Interface

You can now interact with Rogue using any of the available interfaces:

Option A: TUI (Terminal User Interface)

This starts both the server and TUI in one command.

Option B: Web UI

Then navigate to the URL displayed in your terminal (usually http://127.0.0.1:7860).

Option C: CLI (Command Line)

For automated testing or CI/CD:

3. Configure the Agent (TUI/Web UI)

In the Rogue interface, set the following configuration:
  • Agent URL: http://localhost:10001
  • Authentication: no-auth
You can leave the other settings as their defaults.

4. Set Business Context

Provide the business context for the T-shirt store agent:

5. Generate and Run Scenarios

The interface will guide you through:
  1. Generating test scenarios based on the business context
  2. Reviewing and editing scenarios if needed
  3. Running the evaluation and watching live interactions
  4. Viewing the comprehensive performance report
You’ll see the EvaluatorAgent interact with the t-shirt agent in real-time, testing various scenarios to ensure policy compliance and proper behavior.