ARTEX: The Pentest Agent That Thinks in Graphs, Not Prompts

A Go-based autonomous security system that separates the world it finds from the reasoning that found it, then forces every dangerous step through a human approval gate.

9 min read • View on GitHub • More from mhtsec

A wide black-ink editorial scene split into two distinct systems. On the left is a network world drawn like a city map, with hosts, services, and paths. On the right is a reasoning board with intent cards, provenance threads, and a planner node pulling from a queue. The image explains that ARTEX keeps the target state and the investigation state separate.
ARTEX’s core idea is not chat-driven hacking. It is a dual-memory system, one graph for the target and one graph for the investigation.
Key Takeaways

ARTEX looks like another AI pentesting tool until you notice what it is actually optimizing for. Not speed. Not novelty. Not even autonomy in the usual sense. It is trying to preserve state across a long security engagement without turning the whole system into a memoryless chat loop.

That is why the best way to read ARTEX is as a graph system, not as a prompt system. One graph tracks the target world. The other tracks the reasoning lineage that produced each step. The moment you see that split, the rest of the repo starts to make sense.

The surprising part is not the hacking. It is the memory model.

Most agentic security demos break at the same point. They can reason a little, call a tool, then forget why they took the step in the first place. ARTEX is built to avoid that failure mode by storing both the thing it found and the chain of decisions that found it.

The repository’s own framing points to a multi-agent system built around an Asset Graph and an Exploration Graph. That distinction matters more than any single exploit path. One graph answers, “What exists?” The other answers, “How did we learn it, and what should happen next?”

The useful abstraction is not a chatbot conversation. It is a loop that turns discoveries into provenance, then compresses that provenance into the next plan.

SystemWhat it remembersHow it plansHuman oversightBest at
Classic scannerFindings and scan resultsLinear or scriptedLowFast coverage and enumeration
Interactive pentest assistantConversation contextAd hoc guidanceMediumHelping a human tester think
ARTEXTarget state plus reasoning lineageGraph-driven multi-agent planningHighLong engagements with traceable next steps

That comparison is the key. ARTEX is not trying to replace Nmap, Metasploit, or a human operator. It is trying to sit in the narrow band between advice and execution. It remembers enough to keep moving, but not in a way that erases the chain of custody for its own decisions.

Why a chatbot is the wrong mental model

A chatbot is built for turn-taking. A pentest is built for persistence. Those are very different workloads. Once an engagement gets long, the system needs provenance, not just text history. It needs to know which yield came from which intent, which fact is stale, and which branch of exploration still deserves budget.

That is where ARTEX’s Go backend matters. The repo is organized like a product system, not a toy script. The codebase includes dedicated packages for the agent core, persistence, server layer, web UI, interception, and guard rails. The architecture suggests a system designed to survive real operational use, not just impress in a demo.

cmd/artex/
agent/
db/
server/
web/
intercept/
guard/

The point of that structure is simple. Long-running work needs memory that can be queried, compacted, and audited. A prompt transcript alone does not give you that. A graph does.

Three agents, one job queue

ARTEX splits labor across three roles: MainAgent, Planner, and Worker. That sounds conventional until you look at the division of responsibility. MainAgent receives intent. Planner turns state into the next set of actions. Worker executes a single task and reports back what happened.

That separation is what keeps the system from blurring strategy and execution. The Planner can think in longer arcs. The Worker can stay narrow and operational. MainAgent acts as the interface between a human request and the system’s internal queue.

RoleJobFailure it helps avoid
MainAgentTurns human intent into system intentAd hoc commands that never enter a durable plan
PlannerCreates and refreshes multi-step intent chainsLLM amnesia during long engagements
WorkerExecutes one task and returns factsOverloaded agents that mix planning with action

This is the part that feels mature. Many agent systems act like a single mind with too many browser tabs open. ARTEX behaves more like an operating system for security work. It schedules, delegates, records, and then re-evaluates.

A close-up black-ink scene showing a messy pile of notes, dead ends, and old yields being compressed into a neat capsule that feeds a planner node. The image explains how ARTEX turns long exploration history into usable memory instead of letting the context window overflow.
Compaction is how ARTEX turns a noisy investigation trail into something the planner can still use.

The human is still in the loop

In view of the reality of tool abuse, the ARTEX project will no longer be updated and will be converted to a closed source. There will be no release of any version or maintenance support in the future.

Autumn-27, Project Creator / Maintainer · ARTEX AI Pentesting Tool Used in Data Theft Attacks

That quote is the sharpest reminder that autonomy is never just a technical decision. ARTEX includes intercept and guard layers that force dangerous actions through approval rather than letting the system run unchecked. That is not a side feature. It is part of the product’s identity.

The governance story matters because the tool sits close to real-world misuse. A system that can explore, plan, and execute is also a system that needs reviewability, logging, and clear action boundaries. ARTEX’s approval model acknowledges that reality instead of pretending it can be engineered away.

ModeWho decidesWhat gets loggedRisk posture
Autonomous executionAgentBasic action traceHighest
Approved executionHuman plus agentIntent, evidence, and approval trailControlled
Manual pentestHumanWhatever the operator recordsLower automation, higher labor

The practical win here is auditability. If the system is going to touch live infrastructure, then evidence matters as much as capability. ARTEX appears to treat that as a first-class concern, not an afterthought.

How ARTEX keeps its head when the engagement gets long

Long engagements are where most LLM systems unravel. The early findings get buried. The interesting dead ends vanish. The agent starts repeating itself. ARTEX’s answer is compaction, which folds older exploration data into digests the planner can still act on.

That is the subtle innovation. Compaction does not pretend the model can remember everything. It preserves the useful shape of the investigation while discarding enough detail to keep the next planning cycle tractable. It is a memory budget, not a memory fantasy.

The effect is closer to investigative work than chat. A human operator does not carry every keystroke forward. They carry a compressed model of what has been ruled out, what remains plausible, and what deserves the next hour. ARTEX is trying to operationalize that habit.

A Go backend wrapped around a modern control plane

The repo layout reinforces the product story. `cmd/artex` handles bootstrapping and lifecycle concerns. `agent` holds the orchestration logic. `db` stores the graph and persistence layer. `server` bridges the backend to the UI. `web` gives the operator a dashboard. `intercept` and `guard` add safety and approval flow.

That is a lot of surface area for an open-source security project, and that is precisely why the project feels consequential. It is not just an LLM prompt file with a shell wrapper. It is a control plane for work that can outlive one context window.

// Conceptual flow
MainAgent -> Planner -> TodoStore -> Worker -> Facts -> Exploration Graph -> Compaction -> Planner

The self-update and production scaffolding also matter. They suggest a system meant to operate in the wild, not merely in notebooks or local demos. In a category full of fragile agent experiments, that kind of operational ambition stands out.

What ARTEX is better at than classic scanners

Tool typeStrengthWeaknessWhere ARTEX fits
Classic scannerFast enumerationLittle strategyARTEX adds planning and memory
Pentest assistantHuman guidanceNo autonomous persistenceARTEX executes longer workflows
Generic agent wrapperFlexible tool useWeak state modelARTEX gives state structure and approval gates

This is why ARTEX is interesting even if you never use it as-is. It points to a more durable category. Security automation that works at scale will need memory, provenance, and governance, not just tool access. ARTEX bakes all three into the system design.

Why this project attracted attention and concern

ARTEX was originally designed for the purpose of learning and research. It aims to help enterprises and organizations conduct security risk tests within the scope of authorized assets and improve security protection capabilities.

Autumn-27, Project Creator / Maintainer · ARTEX AI Pentesting Tool Used in Data Theft Attacks

Projects like ARTEX pull hard in two directions at once. They are useful because they automate hard work. They are concerning because the same machinery can be repurposed quickly by people with bad intentions. That tension is not a footnote. It is the core risk of the category.

What makes ARTEX especially notable is not just that it exists, but that it looks like a mature, forkable, operational system rather than a disposable demo. That is exactly the kind of project that gets copied, modified, and used in places the original author cannot control.


Sources