Architecture
The Platform is a set of services in containers, each with one job. They share no database tables: they talk through a message bus (NATS JetStream) and HTTP, and the services that keep data each have a database of their own in PostgreSQL.
The services
Section titled “The services”| Service | What it does |
|---|---|
| web | The console and the single HTTP entry point (port 80), routing each API path to its service |
| identity | Users, roles, sign-in links, sessions and the audit trail |
| api | Hosts, scenarios, runs and API tokens; coordinates load runs |
| simulator | Simulated hosts on TCP (ports 8583 to 8599) |
| runner | Runs scenarios against simulated hosts or your systems; start more for more at once |
| loadgen | Load generators; a load run is shared among them |
| hsm | The HSM simulator on TCP port 1500, with its LMK and key store |
| vault | The test CA, certificates and keys |
| logs | The message log, masked |
| workbench | Message and crypto tools; keeps nothing |
| assistant | The AI features (plain-English explanations from masked data), governed per install and per workspace; keeps the policies and the audit of every request |
| mcp | The MCP server for AI agents; keeps nothing |
| nats | The message bus |
| db | PostgreSQL, with a database per service that keeps data |
| reference-switch, reference-gateway | Sample systems under test, idle until used |
How a test runs
Section titled “How a test runs”- A person in the console, or a pipeline with an API token, starts a run through the api.
- The api queues it on the bus. One runner takes it, connects to the target (a simulated host, or your system’s address) and sends each step’s message.
- Simulated hosts answer by their rules and state, calling the HSM simulator when a rule or an issuer needs a PIN, CVV or MAC checked.
- Every exchange a simulated host handles goes to the message log, masked, and to the host’s live activity.
- The runner reports each step’s result back through the bus, and the api keeps the run.
A load run goes the same way, through load generators instead of a runner: the api shares the run’s rate out among them and judges the run on every second they report.
Scaling and availability
Section titled “Scaling and availability”- Runners and load generators are started in as many copies as you need; each run goes to exactly one runner, and a load run is shared among the load generators that are free.
- Simulated hosts can run on several simulator instances behind a TCP load balancer: each instance runs every host with rules, and each stateful issuer runs on one instance at a time and moves to another if that one stops, its state kept on the bus.
- The stateless services (workbench, assistant, mcp) can be scaled on their own.
How it’s built
Section titled “How it’s built”- Services are Python 3.12 on asyncio, with the message codec in Rust; the console is React. The images ship compiled code, not source.
- Every exchange between services is a defined contract, and services never import each other’s code, so each can be changed and scaled on its own.
- Each service brings its database up to date when it starts, so an upgrade is new images and a restart.