OpenQAOpenQA
Get Started

CLI Commands

Complete reference for all OpenQA command-line interface commands.

Starting & Stopping

openqa start

Start the OpenQA agent.

bash
1# Start in foreground (see logs in terminal)
2openqa start
3 
4# Start in daemon mode (background)
5openqa start --daemon
6 
7# Start with specific port
8openqa start --port 4000

openqa stop

Stop the running OpenQA agent.

bash
1openqa stop

openqa status

Check the current status of OpenQA.

bash
1openqa status
2 
3# Example output:
4# OpenQA Status
5# ─────────────
6# Status: Running
7# PID: 12345
8# Web UI: http://localhost:3000
9# Sessions: 5
10# Tests Generated: 47
11# Bugs Found: 3

Viewing Logs

openqa logs

View agent logs.

bash
1# View recent logs
2openqa logs
3 
4# Follow logs in real-time
5openqa logs --follow
6openqa logs -f
7 
8# Show last N lines
9openqa logs --lines 100
10openqa logs -n 100

Configuration

openqa config

Manage OpenQA configuration.

bash
1# List all configuration
2openqa config list
3 
4# Get a specific value
5openqa config get llm.provider
6openqa config get saas.url
7 
8# Set a value
9openqa config set saas.url https://your-app.com
10openqa config set llm.provider anthropic
11openqa 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
1# Complete workflow example
2openqa start --daemon # Start in background
3openqa status # Check it's running
4openqa config set saas.url https://my-app.com
5openqa logs -f # Watch the logs
6openqa stop # Stop when done

Next Steps