Get Started
CLI Commands
Complete reference for all OpenQA command-line interface commands.
Starting & Stopping
openqa start
Start the OpenQA agent.
bash
# Start in foreground (see logs in terminal)
openqa start
# Start in daemon mode (background)
openqa start --daemon
# Start with specific port
openqa start --port 4000openqa stop
Stop the running OpenQA agent.
bash
openqa stopopenqa status
Check the current status of OpenQA.
bash
openqa status
# Example output:
# OpenQA Status
# ─────────────
# Status: Running
# PID: 12345
# Web UI: http://localhost:3000
# Sessions: 5
# Tests Generated: 47
# Bugs Found: 3Viewing Logs
openqa logs
View agent logs.
bash
# View recent logs
openqa logs
# Follow logs in real-time
openqa logs --follow
openqa logs -f
# Show last N lines
openqa logs --lines 100
openqa logs -n 100Configuration
openqa config
Manage OpenQA configuration.
bash
# List all configuration
openqa config list
# Get a specific value
openqa config get llm.provider
openqa config get saas.url
# Set a value
openqa config set saas.url https://your-app.com
openqa config set llm.provider anthropic
openqa config set agent.interval 3600000Configuration Keys
| Key | Description | Example |
|---|---|---|
| llm.provider | LLM provider | openai, anthropic, ollama |
| saas.url | Target application URL | https://my-app.com |
| saas.name | Application name | My E-commerce App |
| agent.interval | Time between sessions (ms) | 3600000 (1 hour) |
| agent.maxIterations | Max actions per session | 20 |
| web.port | Web UI port | 3000 |
Quick Examples
bash
# Complete workflow example
openqa start --daemon # Start in background
openqa status # Check it's running
openqa config set saas.url https://my-app.com
openqa logs -f # Watch the logs
openqa stop # Stop when done