AegisRunner

// localhost app testing

Test the app on your machine. No deploy.

Most hosted tools need a URL their cloud can reach, so you deploy first and test second. AegisRunner runs the browser on your own machine and points its AI straight at localhost — no deploy, no staging URL, no tunnel. A real test suite comes back before you push.

terminal
$ npm install -g @aegisrunner/cli
$ export AEGIS_TOKEN=aegis_xxxxxxxx
# the browser runs on your machine — scans localhost directly
$ aegis scan-runner &
$ aegis scan --local --url http://localhost:3000 --watch
# behind a login? creds stay local — set them on the runner:
$ AEGIS_USERNAME=you@example.com AEGIS_PASSWORD=… aegis scan-runner

local browser · outbound HTTPS for AI processing and results

// the flow

Local app → tested on your machine — no URL to hand out.

01

Run your app locally

Your dev server on any port — Next, Vite, Rails, Django, whatever. Nothing to deploy.

02

aegis scan --local

A real browser runs on your own machine and points a scan straight at localhost — directly, no tunnel, no cloud relay.

03

AI explores localhost

The agent drives your local app like a user — pages, forms, flows — and signs in if you set a credential (it stays on your machine).

04

Tests come back

A generated suite plus accessibility, SEO and functional findings — against the code on your laptop, before you push.

// why localhost testing

Fast feedback where you actually work.

No deploy required

Test the branch you’re on, right now — not after a staging deploy finishes.

Runs on your machine

The browser drives localhost directly — no tunnel, no cloud relay. Scan observations and results are sent to AegisRunner over outbound HTTPS for AI processing and reporting.

Nothing exposed

No inbound port, no public URL. The browser and locally configured login credentials stay on your machine. Observations and results are sent to AegisRunner for AI processing and reporting.

One click in your app

The Vite, Nuxt and Next plugins add a shield for testing the current page or scanning reachable paths within your budget.

Signs in for you

Set a username/password (or a saved role) and the local browser attempts the configured login. Unsupported or incomplete login flows remain visible.

Beyond localhost

The same CLI reaches private staging or VPN environments through a locally connected runner. Outbound HTTPS access to AegisRunner is required.

// faq

Frequently asked

Do I have to deploy my app first?

No — that’s the point. Start the local browser with `aegis scan-runner`, then `aegis scan --local --url http://localhost:3000` runs a full scan against your app on localhost. No staging URL, no public host, no deploy. (Prefer not to run a browser locally? `aegis scan --tunnel --port 3000` relays our cloud browser instead.)

Where does the browser run?

By default, on your own machine. A real headless browser (@aegisrunner/scan-runner — no Docker needed) drives your app at localhost directly, while observations are sent to AegisRunner over HTTPS for AI decisions and reporting. The AI that decides what to test still runs in our cloud; only the browser is local.

Is my local app exposed to the internet?

No. In local mode nothing is exposed at all — no inbound port, no public URL, no tunnel. The browser connects to your app locally and locally configured credentials stay on the runner. Scan observations, generated tests and results are sent to AegisRunner over outbound HTTPS.

How does it test pages behind a login?

For local scans, credentials stay on your machine: set AEGIS_USERNAME / AEGIS_PASSWORD (or use a saved --role) and the local browser signs in itself — they’re never sent to the cloud. The AI maps your username onto whatever the form calls its identity field — email, username, phone.

What do I get back?

A generated end-to-end suite for the flows the AI discovered, plus accessibility, SEO and functional findings keyed to the pages reached. Workspace members can export supported web suites to Playwright. POM project export requires Pro or Business.

Do I need Docker?

No. `aegis scan-runner` runs a headless browser directly via npm (the first run downloads Chromium, ~150 MB, then cached). A container image (aegisrunner1/scan-runner) is available if you prefer one.

Does this need a paid plan?

Local scans run off a project CI trigger token (Pro or Business). Once you have a token, the CLI itself is open-source and zero-dependency.

Point it at localhost in two minutes

Spin up your app, grab a CI token, run one command. Watch the AI crawl your local app and hand you tests before you deploy.