How ARTEX works?

ARTEX is a self-hosted, LLM-driven penetration testing platform. We found its architecture particularly compelling. Although it suffers from several resilience and workflow design flaws, the harness itself is effective at controlling execution flow. Below is a brief overview of how it operates, presented primarily in slides:

Key decisions worth copying

Decision Why it matters
Dual graph (exploration + assets) linked by anchors Separates reasoning lineage from global asset truth, which makes coverage and de-duplication computable.
Event-driven planner with a debounced wake Any graph change can wake the planner, so rounds converge without poll loops.
Intent frontier with CAS claim, lease TTL and fencing token Multiple workers can share a task safely; stale claims are swept back.
Evidence-first tools and a provenance gate Facts stay marked as inference unless a recorded request or trace backs them; goals cannot be proven on unverified claims.
Guard on every tool call, target gate for scope Destructive commands and out-of-scope hosts are stopped at the tool boundary, not in prompts.
Skills as filesystem packages with progressive disclosure Methodology ships as reviewable files; the model sees names first and loads the full body on demand.

Figures