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 start3 4# Start in daemon mode (background)5openqa start --daemon6 7# Start with specific port8openqa start --port 4000openqa stop
Stop the running OpenQA agent.
bash
1openqa stopopenqa status
Check the current status of OpenQA.
bash
1openqa status2 3# Example output:4# OpenQA Status5# ─────────────6# Status: Running7# PID: 123458# Web UI: http://localhost:30009# Sessions: 510# Tests Generated: 4711# Bugs Found: 3Viewing Logs
openqa logs
View agent logs.
bash
1# View recent logs2openqa logs3 4# Follow logs in real-time5openqa logs --follow6openqa logs -f7 8# Show last N lines9openqa logs --lines 10010openqa logs -n 100Configuration
openqa config
Manage OpenQA configuration.
bash
1# List all configuration2openqa config list3 4# Get a specific value5openqa config get llm.provider6openqa config get saas.url7 8# Set a value9openqa config set saas.url https://your-app.com10openqa config set llm.provider anthropic11openqa 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
1# Complete workflow example2openqa start --daemon # Start in background3openqa status # Check it's running4openqa config set saas.url https://my-app.com5openqa logs -f # Watch the logs6openqa stop # Stop when done