Skip to content

Installation

Install TestAgent with pip:

pip install testagent

Requirements

  • Python 3.9+
  • praisonaiagents (for AI evaluation)

Optional Dependencies

# For development
pip install testagent[dev]

# For all features
pip install testagent[all]

Verify Installation

testagent version

Environment Setup

Set your OpenAI API key:

export OPENAI_API_KEY="your-api-key"

Or use a .env file:

OPENAI_API_KEY=your-api-key

Next Steps