Skip to content
ReviewRamble

The weekly brief

AI, reviewed, in your inbox.

  • New reviews of tools, models, MCP servers and repos, with the verdict up front
  • Re-checked prices and ratings when something changes
  • New analysis pieces as they are published

Models, agents, MCP servers and the tools actually worth your time.

One email a week. Unsubscribe with the link in any brief. How we use your email

layaVsArtex

Browser demo that turns ARTEX's planner-and-graph loop to defence, with every containment a typed decision a validator can refuse.

Reviewed by ReviewRamble editors · Updated

View on GitHub Open source

Share this page:XLinkedInFacebookRedditWhatsAppEmail

Our rating

3.5/5

A clear, honest classroom demo of how to let a small model contain an attack without letting it invent anything, as long as nobody mistakes it for a security product.

What is layaVsArtex?

layaVsArtex is Vishal Mysore's educational answer to ARTEX, the agentic penetration-testing framework Microsoft says attackers now use. It copies ARTEX's shape for the blue team: a planner reads an incident graph and issues one "assess X" intent for each address, account or app that changed; plain-code workers count the evidence in the logs and keep the event ids; the Laya typed-decisions encoder (421M parameters) picks one action from a closed list and answers a yes/no cross-check; and each containment wakes the planner to hunt everything linked to that node.

The action list is short and fixed per target: no action, monitor, block an address, require MFA, revoke sessions, disable an account, rotate a secret, isolate an app. A validator rejects any decision with no evidence, evidence the workers never found or event ids not in the graph, and refuses containment without at least one signal the code marks as strong. Reversible, low or medium blast-radius actions run on their own; secret rotation and anything high blast radius wait for a person. When Laya is unsure, a small WebLLM model (Qwen2.5 1.5B by default) gets a turn under the same validator.

Everything runs in a browser tab on synthetic logs across four tabs: a cloud tenant, an insurer, a VPN gateway (modelled on HexStrike AI) and a web app (modelled on PentAGI). The repository was created on 29 November 2026, is Apache-2.0, and had 1 star, 25 commits and no releases when we checked.

Is layaVsArtex worth it?

The lesson layaVsArtex teaches is that the model is the least trusted part of the loop. Laya only weighs evidence; code finds it, a validator checks every citation against the log, and a reversibility gate decides who acts. The best moment in the write-up proves it: on a synthetic quiet Monday, the WebLLM fallback agreed with Laya that an expired build-server secret meant isolating the app, and cited event ids it had made up. The validator threw out every invented id and the containment with them. A free-text agent would have isolated the deployment pipeline.

The numbers are tidy and the author is careful with them. At the default settings Laya's proposals matched the ground truth on 37 of 39 cloud decisions, the two misses (blocking the office network, isolating the build server) were held, and 432 replays across every slider setting produced zero false containments. Against a human-only team, the leaked-secret replay is the clearest argument: the scripted attacker reaches Global Administrator at minute 9 whether the analyst answers in 10, 30 or 60 minutes, while the loop isolates the app at T+0:02:02. Laya takes 1 to 2 seconds a decision in the browser; System 2 takes 12 to 35.

The catch: the same person wrote the attacks, the evidence rules and the grading, so zero false containments says the rules fit their own scenarios. Which signals count as strong is hand-coded in the workers, and containment is impossible without one, so much of the safety comes from that code rather than the model. The default confidence threshold is 0.30, close to chance, because the browser build's probabilities are compressed; the simulated analyst is always right. The README and articles state all of this plainly, which is to their credit. The project is days old, with 1 star and no releases.

Our take: read the main article and open the schema playground, which rejects a decision with its evidence removed, an invented action or an irreversible step marked automatic, with the reason. For guarding a real tenant you need a real detection stack; as a design pattern for bounding a small model, this explains more in an afternoon than most whitepapers.

Where it earns its place

  • A SOC manager at a 2,000-person company debating automated containment

    Show leadership why a human-only queue loses to a machine-speed attacker

    Play the leaked-secret replay with the analyst slider at 10, 30 and 60 minutes, then with the loop on: Global Administrator at minute 9 every time without automation, isolation at T+0:02:02 with it. Free and nothing to install; the numbers are synthetic, so present them as an illustration of the mechanism.

  • An engineer designing guardrails for an agent that can change production systems

    Borrow a pattern for letting a model act only on evidence code has verified

    Read web/catalog.js (actions, schema and validator in about 100 lines) and web/triage.js (the gate), then try to break the schema in the page's playground. The pattern carries over to fraud holds or access reviews; the hand-written evidence rules do not.

Before you commit

Setup
Open the GitHub Pages demo and press Play: recorded answers replay with nothing downloaded. Loading System 1 streams an int4 ONNX build of Laya (about 278 MB) from Hugging Face; System 2 needs WebGPU. Locally: npm ci, node scripts/prepare_site.mjs, python serve.py.
Integrations
ONNX Runtime Web, Hugging Face tokenizers.js, Cytoscape.js for the graph and WebLLM for System 2 (Qwen2.5 0.5B or 1.5B, or Llama 3.2 1B). The Laya build is VishalMysore/layaForWebTrained, a quantized derivative of Convai Innovations' laya-typed-decisions. Not connected to Microsoft Graph or any real tenant.
Data and privacy
All scenarios are synthetic: corp.example and insure.example accounts and RFC 5737 documentation addresses. Models run in the browser, so decisions stay on your machine. Code is Apache-2.0; the models keep their own licences, including the Llama 3.2 Community License.
Limits
39 decisions on the cloud tab at default settings, too few to say anything about production accuracy. Evidence rules are hand-written, the simulated analyst is always right, and Laya's compressed confidence forces a 0.30 threshold. No releases and no affiliation with Microsoft or Convai Innovations.

What’s good

  • Validator demonstrably rejects invented evidence and unsupported containment
  • Closed action set with reversibility and blast-radius gating
  • Runs in a browser on synthetic data, with recorded answers before any download
  • Candid docs on limits, plus 19 tests on the core logic

What’s not

  • Scenarios, evidence rules and grading all by one author
  • Default confidence threshold of 0.30 sits near chance
  • Optional System 2 model is about a 1.6 GB download
  • Days old, 1 star, no releases; not a security product

Best for

Security engineers, SOC leads and teachers who want to see how a small decision model can sit inside an incident-response loop with hard limits on what it may do.

layaVsArtex alternatives

Where it fits in the AI stack

layaVsArtex: common questions

Is layaVsArtex worth it?
A clear, honest classroom demo of how to let a small model contain an attack without letting it invent anything, as long as nobody mistakes it for a security product. We rate it 3.5 out of 5.
How much does layaVsArtex cost?
Free and open source under Apache-2.0. The page runs in your browser; loading the live models downloads about 280 MB for Laya and about 1.6 GB for the optional System 2 model.
What are the downsides of layaVsArtex?
Scenarios, evidence rules and grading all by one author; default confidence threshold of 0.30 sits near chance; optional System 2 model is about a 1.6 GB download; days old, 1 star, no releases; not a security product.
Who is layaVsArtex best for?
Security engineers, SOC leads and teachers who want to see how a small decision model can sit inside an incident-response loop with hard limits on what it may do.
Is layaVsArtex safe for company data?
All scenarios are synthetic: corp.example and insure.example accounts and RFC 5737 documentation addresses. Models run in the browser, so decisions stay on your machine. Code is Apache-2.0; the models keep their own licences, including the Llama 3.2 Community License.
What are the best layaVsArtex alternatives?
The closest alternatives we have reviewed are ARTEX, Laya, LlamaFirewall and NVIDIA NeMo Guardrails.

Answers checked Dec 2, 2026.