localhost.
Synopsis
--flow to start an interactive scenario conversation in your terminal. Pass --flow to skip the conversation and run directly.
Options
| Flag | Description | Default |
|---|---|---|
-u, --url <url> | Target URL to test. Supports localhost and any valid URL. | required |
-f, --flow <task> | Scenario for the persona to attempt. Omit to run the interactive conversation. | none |
-p, --persona <preset> | Local persona preset: casual, professional, or power. | casual |
--persona-id <uuid> | Cloud persona UUID (from percio personas list). Overrides --persona. | none |
--max-steps <number> | Maximum steps before the agent stops. | 50 |
--viewport <WIDTHxHEIGHT> | Browser viewport. Bounds: 320–3840 × 240–2160. | 1280x800 |
--headless | Run the browser in headless mode. | false (visible) |
--timeout <seconds> | Overall test timeout. | no limit |
-o, --output <path> | Write JSON results to disk. | none |
-v, --verbose | Print detailed step-by-step output to the terminal. | false |
-c, --config <path> | Path to a .perciorc.json config file. | auto |
Examples
Interactive mode. No--flow — Percio helps you build the scenario in your terminal:
localhost. Probably your most common use case in development:
What you see in the terminal
By default, Percio prints phase-level progress: navigating, executing the flow, analyzing results. With-v / --verbose, every step is logged with the agent’s reasoning and action details.
When the run finishes, Percio writes a markdown report to the current directory:
Interactive scenario mode
When you omit--flow, Percio starts a conversational scenario builder in your terminal:
Local persona presets vs. cloud personas
The--persona flag accepts a built-in preset for local testing without setting up cloud personas. The three presets are intentionally generic — for real reports you’ll want to use --persona-id with a persona tailored to your product.
Local presets:
casual— the default; a moderately tech-savvy everyday user.professional— a business user focused on efficiency.power— an expert user who expects shortcuts and density.
--persona-id overrides --persona when both are given.
Exit codes
- 0 — test completed and a report was produced.
- 1 — error (invalid flags, auth failure, daemon issue, etc.).
0 — the report itself tells you what happened.