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
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
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