Sends a message to the QA.tech agent. The agent knows your test cases, applications, and configurations, and returns test case IDs you can pipe directly intoDocumentation Index
Fetch the complete documentation index at: https://docs.qa.tech/llms.txt
Use this file to discover all available pages before exploring further.
qatech run. Useful for both scripting (single-shot) and exploration (interactive REPL).
Usage
Options
| Flag | Short | Description |
|---|---|---|
--conversation <id> | -c | Continue an existing conversation (chat short ID) |
--application-overrides <json> | Override application target URLs as a JSON array | |
--json | -j | Machine-readable output (single-shot only) |
--stdin | Force reading the message from stdin even when stdin is a TTY | |
--api-key <key> | Per-command API key override | |
--help | -h | Show command help |
Modes
- Single-shot - pass a message argument or pipe stdin. Streams the agent’s response, then exits.
- Interactive - invoked with no message on a TTY. Drops you into a REPL; type
exitorquitto leave. - Resume - pass
-c <chat-short-id>to continue a previous conversation in either mode.
Examples
Testing against a custom URL
When you want the agent to test against a URL that isn’t a configured environment - e.g. a tunnel fromqatech tunnel or a PR preview - pass --application-overrides:
environment object accepts any of:
| Form | When to use |
|---|---|
{"url": "..."} | Inline URL override (tunnel, preview, etc.) |
{"shortId": "env_xxx"} | Reuse a saved environment |
{"applicationBuildShortId": "bld_xxx"} | Pin to a specific build |
Application overrides apply to the first message of a conversation. When
resuming with
-c, the existing conversation already has its environment.