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.
- ARTEX treats pentesting as graph traversal, which lets it separate facts about the target from facts about the investigation itself.
- Its real novelty is not autonomy alone, but a memory model that preserves provenance so long engagements do not collapse into prompt drift.
- The human approval gate is not decorative safety theater. It is part of the operating model, especially for risky actions and auditability.
- ARTEX sits between a scanner and a chatbot, which makes it more persistent than an assistant and more governed than a fully autonomous exploit runner.
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?”
| System | What it remembers | How it plans | Human oversight | Best at |
|---|---|---|---|---|
| Classic scanner | Findings and scan results | Linear or scripted | Low | Fast coverage and enumeration |
| Interactive pentest assistant | Conversation context | Ad hoc guidance | Medium | Helping a human tester think |
| ARTEX | Target state plus reasoning lineage | Graph-driven multi-agent planning | High | Long 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.
| Role | Job | Failure it helps avoid |
|---|---|---|
| MainAgent | Turns human intent into system intent | Ad hoc commands that never enter a durable plan |
| Planner | Creates and refreshes multi-step intent chains | LLM amnesia during long engagements |
| Worker | Executes one task and returns facts | Overloaded 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.
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.
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.
| Mode | Who decides | What gets logged | Risk posture |
|---|---|---|---|
| Autonomous execution | Agent | Basic action trace | Highest |
| Approved execution | Human plus agent | Intent, evidence, and approval trail | Controlled |
| Manual pentest | Human | Whatever the operator records | Lower 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 type | Strength | Weakness | Where ARTEX fits |
|---|---|---|---|
| Classic scanner | Fast enumeration | Little strategy | ARTEX adds planning and memory |
| Pentest assistant | Human guidance | No autonomous persistence | ARTEX executes longer workflows |
| Generic agent wrapper | Flexible tool use | Weak state model | ARTEX 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.
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.





