by BaaRai
ARTEX: AI autonomous penetration testing system. Self-hosted, model-agnostic, evidence-backed findings. Community continuation of Autumn-27/ARTEX, AGPL-3.0.
# Add to your Claude Code skills
git clone https://github.com/BaaRai/ARTEXARTEX is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by BaaRai. ARTEX: AI autonomous penetration testing system. Self-hosted, model-agnostic, evidence-backed findings. Community continuation of Autumn-27/ARTEX, AGPL-3.0. It has 28,125 GitHub stars.
ARTEX's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/BaaRai/ARTEX" and add it to your Claude Code skills directory (see the Installation section above).
ARTEX is primarily written in Go. It is open-source under BaaRai on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh ARTEX against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Autonomous penetration testing that keeps its receipts.
Self-hosted multi-agent offensive security. A planner explores, workers run real tools, and every finding stays bound to the assets and HTTP traffic that prove it.
Quick start · Install guide · Screenshots · How it works · Installation · Configuration · Security
ARTEX is a self-hosted, LLM-driven penetration testing platform. It is not a chat wrapper around a scanner: a planner splits a goal into intents, workers execute them with real tools, and the results are written back into two linked graphs: one for what you know about the target, one for how the test is progressing. Every finding can carry the captured request and response that justify it, and every autonomous action passes through scope rules, approval gates and budgets.
Installing ARTEX for the first time? INSTALL.md has the three-command Docker setup, the first login with the setup token, and fixes for the most common installation errors.
git clone https://github.com/BaaRai/ARTEX.git
cd ARTEX
cp .env.example .env # set POSTGRES_PASSWORD (and optionally an LLM key)
docker compose up -d --build # builds from this checkout, starts PostgreSQL
Open http://localhost:8787. On the first visit /setup asks for the one-time setup token
printed at startup:
docker compose logs artex | grep "Setup token"
On Docker Desktop for Windows or macOS, add the Desktop overlay so agent isolation holds:
docker compose -f docker-compose.yml -f docker-compose.desktop.yml up -d --build. Without it theartexcontainer crash-loops on the isolation self-test. See Docker Desktop on Windows and macOS.
Multi-arch release images (
linux/amd64,linux/arm64) are published to GitHub Container Registry atghcr.io/baarai/artexfrom the next tagged release; v0.7.0 predates the publish step. For pulling the prebuilt image and all other installation paths (script, binaries, source, release archives), see Installation.
In System → LLM, configure the profiles you want to use. In System → Settings, set the concurrent worker count to at least 2 before starting a task (the count applies to subsequently started tasks). In System → Agents → Worker, leave the model set to follow the task; a fixed Worker model takes precedence over rotation.
When creating a task, select both profiles in LLM config chain, arrange their order, and enable Enable multi-LLM worker rotation. For an existing task, open its LLM config control, change the switch or profile order, and save.
Rotation assigns successive worker intents A, B, A, B, regardless of completion order. Separate intents can run concurrently on different providers; each intent keeps its selected provider unless it fails over. Planner and other unbound roles continue using the task's current profile. Turning rotation off restores ordered task-level failover. An excluded provider is skipped, so an intent pinned to an exhausted profile falls back to the task's current profile instead of retrying it; rotation keeps cycling the whole list and does not rebalance around a dead provider. Saving the chain resets their failure state. Changes do not interrupt in-flight calls. The rotation cursor starts again after a server restart and saving the chain does not reset it; the profile order and switch remain persisted.
The task creation and PUT /api/tasks/{id}/llm APIs accept llm_rotate: true alongside
the ordered llm_profile_ids. Omitting llm_rotate on an update preserves its value.
| Tasks | Findings |
|---|---|
![]() |
![]() |
| Task execution: sessions and tool calls | Exploration graph |
|---|---|
![]() |
![]() |
| Asset coverage graph | Traffic recording |
|---|---|
![]() |
![]() |
| Human-in-the-loop chat | Interception approvals |
|---|---|
![]() |
![]() |
| Assets | Agent management |
|---|---|
![]() |
![]() |
| LLM configuration | Backend logs |
|---|---|
![]() |
![]() |
ARTEX separates what the goals are from how far testing has progressed into two independent graphs linked by anchors:
root_domain / subdomain / ip / service / app / endpoint, owned by companies. Parent-child relationships and deduplication keys
are computed by the program; agents only submit raw observations.goal / intent / fact / finding / hint nodes connected by spawns / derived_from / yields / proves edges into a lineage
chain.exploration_anchors(node_id, asset_id) ties intents, facts and findings
to concrete assets: which assets a direction touched, and which intents tested a given asset.
This also powers asset test coverage and the coverage graph.flowchart LR
subgraph EG["Exploration graph (per-task · advance chain)"]
direction TB
G["goal"]
I1["intent A"]
F1["fact"]
I2["intent B"]
FD["finding (vulnerability)"]
G -->|spawns| I1
I1 -->|yields| F1
F1 -->|derived_from| I2
I2 -->|proves| FD
end
subgraph AG["Asset graph (globally shared · source of truth)"]
direction TB
RD["root_domain"]
SD["subdomain"]
SV["service"]
EP["endpoint"]
RD --> SD --> SV --> EP
end
I1 -. anchor .-> SD
F1 -. anchor .-> SV
I2 -. anchor .-> EP
FD -. anchor .-> EP
The planner reads the exploration graph, judges goals, and dispatches intents only when there is an uncovered direction; a worker claims one intent, executes it, writes assets/facts/findings back into both graphs, then stops.
The engine is event-driven: any graph change wakes the planner, workers claim and execute intents,
write-back triggers the next round, until prove_goal closes the task.
sequenceDiagram
autonumber
participant EV as graph-change debounce
participant P as planner
participant FR as frontier intent queue
participant W as worker
participant PX as recording proxy
participant DB as dual graphs + activity
EV-->>P: wake up
P->>DB: read situation (graph_overview prefetch + coverage/scope)
P->>FR: dispatch 0..N intents (with asset_ids)
Note over P,FR: most wake-ups dispatch 0 (no new direction means done)
W->>FR: claimNext claims one intent
W->>DB: fetch the raw assets of the intent's asset_ids
W->>PX: real tool execution (Kali / Bash / HTTP)
PX-->>W: response (fully traced + CA verified)
W->>DB: write back fact / asset / finding + per-step activity
DB-->>EV: graph change
EV-->>P: wake again (closed loop)
Real attack chains are multi-step and ordered (find an injection → get credentials → move laterally). The planner keeps a todolist retained per task across wake-ups: it records the chain once, then dispatches the next step only when its prerequisites are satisfied by facts.
Workers can also search each other's execution traces (search_all_worker_traces,
list_worker_traces, get_worker_trace). Observations that never became formal facts (an error
message, a response snippet, a hidden parameter) are still reusable by the next worker, while each
worker remains confined to the intent it claimed.