Skip to main content

Agnox Hosted

Plan: Agnox Hosted execution is included from the Starter plan. Free organizations run their tests in their own CI and report them with External CI; onboarding shows Hosted and Hybrid as Available on Starter.

Agnox runs tests in one of two execution models:

  • External CI: your tests run in your own pipeline (GitHub Actions, GitLab CI, Jenkins and others) or on a laptop, and @agnox/playwright-reporter streams the results to Agnox.
  • Agnox Hosted: Agnox runs your tests for you, on its own workers.

This page explains Agnox Hosted and helps you choose between the two. Your organization's execution mode decides which of them is turned on.


What Is Agnox Hosted​

Agnox Hosted is managed test execution inside Agnox. You package your test project as a Docker image once. Agnox then pulls the image, starts a container for each run, injects your environment URL and environment variables, streams the console output live to the dashboard, and collects reports and artifacts when the container exits.

You do not run CI runners, worker machines or job queues for your tests. You do maintain the Docker image of your test project, and the Agnox CLI generates the Dockerfile and entrypoint.sh, builds a multi-arch image and pushes it for you:

npx @agnox/agnox-cli@latest init

Agnox runs whatever command your image's entrypoint.sh runs, so Agnox Hosted is not limited to Playwright. The Docker setup guide has examples for Playwright, Pytest and Cypress.

You can start a hosted run from:

  • the dashboard (Run Test)
  • a CRON schedule, or a schedule's Run Now action
  • the CI trigger API, POST /api/ci/trigger
  • the agnox trigger CLI command
  • the Smart PR Routing webhook
  • a Test Cycle that includes automated items

External CI vs. Agnox Hosted​

External CIAgnox Hosted
Where tests runYour own runners: GitHub Actions, GitLab CI, Jenkins, Azure DevOps, Bitbucket Pipelines, or a laptopAgnox-managed workers, in a container started from your Docker image
Setup requiredAdd @agnox/playwright-reporter to playwright.config.ts and set an API key and project IDA Docker image of your tests, connected in Settings → Run Settings, plus environment URLs and variables in Agnox
Private network, VPN or hardware accessYes. Tests reach whatever your runner can reachNo. Containers reach only what Agnox's infrastructure can reach. For private targets use External CI or self-host Agnox
Configuration and secretsStay in your CI's secret storeStored per project in Settings → Env Variables. Secret values are encrypted at rest and redacted from run output
Scheduling and manual triggersYour CI's own triggers and cronCRON schedules, Run Test and Run Now in the dashboard, the CI trigger API and the agnox trigger CLI command
Concurrency and queuesSet by your CI. Agnox does not limit concurrent External CI runsConcurrent hosted runs are limited by your plan. Runs over the limit wait as PENDING and start as earlier runs finish
Monthly quotaExternal CI RunsAgnox Hosted Runs
Dashboard, history, flakiness detection and MCPYesYes

Both models record runs in the same dashboard and history, link results to test cases by the same stable test key, and feed the same stability tracking, quarantine and MCP server. The differences:

  • Both keep the runtime context captured at failure (network, console and page errors, and the page snapshot) when the tests import test and expect from @agnox/playwright-reporter, and redact secrets from it before it is stored.
  • Both have an Artifacts tab. Hosted runs also get an Allure report that Agnox generates. External CI runs upload artifacts with reporter 2.3.0 or later.
  • External CI reporting is available for Playwright today. Agnox Hosted runs any framework your image's entrypoint.sh can start.
  • Smart PR Routing starts hosted runs, and its test manifest is built from hosted runs.
  • Runs the reporter sends from a developer machine are Local runs and are left out of metrics.

Plan limits for both quotas and for concurrency are listed in Plans & Quotas.


When to Choose Each Model​

Choose External CI when​

  • You already run your tests in a CI pipeline and want results, analytics and MCP in Agnox without changing where tests run.
  • Your tests need a private network, a VPN, on-premise services or physical hardware.
  • You want Agnox only for analytics, flakiness detection and MCP access.

Choose Agnox Hosted when​

  • You have no CI infrastructure for tests and do not want to run any.
  • You want to start runs and schedule suites directly from the dashboard.
  • You want non-Playwright suites (for example Pytest) to run inside Agnox.

Use both together​

With the Both (Hybrid) execution mode, the two models work side by side in the same project. Each run is labeled with its source, and you can filter by it on the dashboard. A common setup:

  • Pull request checks run in your existing CI with the Playwright reporter, so results sit next to the build.
  • Nightly regression and smoke suites run on Agnox Hosted from a CRON schedule, with no pipeline to maintain.

How to Get Started​

  1. Build and push your test image. Run npx @agnox/agnox-cli@latest init, or follow the manual steps in Docker Container Setup. Private registries (GHCR, AWS ECR, Google Artifact Registry) are supported.
  2. Connect the image to a project. In Settings → Run Settings, select or create a project, enter the Docker image and test folder, and set the environment URLs. See Configuring Your First Project.
  3. Add environment variables and secrets. In Settings → Env Variables, add the credentials and settings your tests read, and mark sensitive values as Secret. See Environment Variables & Secrets.
  4. Run the suite. Click Run Test in the dashboard, or start a run from CI with the CI trigger API or GitHub Actions.
  5. Schedule it. Create a CRON schedule from the Schedule Run tab and manage it in Settings → Schedules. See CRON Schedules.