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

openqa stop

Stop the running OpenQA agent.

bash
openqa stop

openqa 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: 3

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

Configuration

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 3600000

Configuration Keys

KeyDescriptionExample
llm.providerLLM provideropenai, anthropic, ollama
saas.urlTarget application URLhttps://my-app.com
saas.nameApplication nameMy E-commerce App
agent.intervalTime between sessions (ms)3600000 (1 hour)
agent.maxIterationsMax actions per session20
web.portWeb UI port3000

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

Next Steps