Skip to content

Arena Reference

Complete technical specifications and reference materials for PromptArena.


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

YAML configuration file structure and all available options.

All available assertion types for validating LLM responses.

Built-in validators for checking response quality and compliance.

Test scenario file structure and specification.

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

Complete duplex streaming configuration for voice testing scenarios.


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

Looking for task-oriented guides? See:


CommandPurpose
promptarena runExecute test scenarios
promptarena config-inspectValidate configuration
promptarena debugDebug configuration loading
promptarena prompt-debugTest prompt rendering
promptarena renderGenerate reports from results
AssertionPurpose
content_includesResponse contains specific text
content_matchesResponse matches regex pattern
tools_calledSpecific tools were invoked
is_valid_jsonResponse is valid JSON
json_schemaResponse matches JSON schema
llm_judgeLLM evaluates response quality
FormatUse Case
JSONMachine processing, APIs
HTMLHuman-readable reports
JUnitCI/CD integration
MarkdownDocumentation, sharing

Arena reference documentation follows semantic versioning:

  • Stable: CLI commands, configuration schema
  • Beta: Advanced assertions, custom validators
  • Experimental: New features marked explicitly