Arena Reference Documentation

Complete technical specifications and reference materials for PromptArena.


CLI Commands

Complete command-line interface reference with all flags and options.

Configuration Schema

YAML configuration file structure and all available options.

Assertions

All available assertion types for validating LLM responses.

Validators

Built-in validators for checking response quality and compliance.

Scenario Format

Test scenario file structure and specification.

Output Formats

Report generation formats (HTML, JSON, JUnit, Markdown).

Duplex Configuration

Complete duplex streaming configuration for voice testing scenarios.


Reference vs. How-To

This is reference documentation - dry, factual, technical specifications.

Looking for task-oriented guides? See:


Quick Reference Tables

Command Summary

CommandPurpose
promptarena runExecute test scenarios
promptarena config-inspectValidate configuration
promptarena debugDebug configuration loading
promptarena prompt-debugTest prompt rendering
promptarena renderGenerate reports from results

Common Assertions

AssertionPurpose
not_emptyResponse is not empty
containsResponse contains text
matchesResponse matches regex
tool_calledSpecific tool was invoked
max_tokensToken count within limit
semantic_similarityMeaning matches expected

Output Formats

FormatUse Case
JSONMachine processing, APIs
HTMLHuman-readable reports
JUnitCI/CD integration
MarkdownDocumentation, sharing

API Stability

Arena reference documentation follows semantic versioning:


Getting Help