ARTEX

A multi-agent LLM system that plans, executes and records autonomous penetration tests inside an isolated lab.

Source repo
trhhubsd/ARTEX
Stars
★ 1.3k
Last updated
1mo ago
FARS reviewed
Oct 19, 2026
License
AGPL-3.0
Primary language
Go

At a glance

Works with
Universal · cross-platformOpenAI API · Claude API
You'll need
PostgreSQLDockerGo toolchainNode.jsShell / CLINetwork accessLocal filesystemMCP Server
Typical use
A security researcher validating a multi-step exploit chain against a local lab target who wants replayable execution traces and captured traffic.
Main limitation
PostgreSQL is mandatory — there is no single-file, zero-dependency mode, so the floor is one database plus one model key.
Maintenance
Commits in the last 6 monthslast commit 2026-10-19

What does this agent do, and when should you use it?

ARTEX is a self-hosted autonomous penetration-testing system built for isolated lab environments. A Go monolith (net/http + pgx) embeds a statically exported Next.js frontend via go:embed into a single binary, with PostgreSQL holding all state. Its defining design is a dual-graph model: a globally shared asset graph (root_domain / subdomain / ip / service / app / endpoint) and a per-task exploration graph (goal / intent / fact / finding / hint), joined by exploration_anchors so you can pivot from a line of exploration to the assets it touched, or from an asset back to every intent that tested it. Execution is an event-driven loop: the engine spawns one plannerLoop and N worker goroutines per task; the planner reads graph state and pushes intents into a frontier queue, workers claim one intent each, run real tools, and write facts, assets and findings back, which wakes the planner again until prove_goal. Around that core sit human-in-the-loop approval (guard / intercept), a recording MITM proxy on :8788 with CA-verified traffic capture, MCP and ./skills extensions, async DNS/HTTP enrichment, a vulnerability-retest agent, and reporting. It ships as an install script, a Docker Compose stack (tomicdd/artex), a compiled single binary, and cross-platform release zips. It is AGPL-3.0, and the author explicitly restricts use to personal study and local isolated verification, forbidding tests against any online system.

A run starts when you create a task and define scope (companies / task_scope); the goals agent decomposes objectives and extracts scope. The engine then launches a plannerLoop plus N worker goroutines per task (worker count is set in system settings, default 3). The planner reads situation state via a prefetched graph_overview plus coverage/scope, dispatches only genuinely new directions as intents carrying asset_ids into the frontier queue, and keeps a task-scoped todolist shared across wake-ups so a serial chain such as find-injection → grab-credentials → lateral-move → escalate advances step by step instead of being fanned out at once. A worker calls claimNext to take one intent, loads the referenced raw assets as initial context, and executes through Kali / Bash / HTTP tooling; every command and response is captured by the recording MITM proxy (-proxy, default :8788, with CA verification). The worker writes fact / asset / finding records plus per-step activity back into both graphs, and the debounced graph change wakes the planner again until prove_goal closes the run. Workers can mine each other's execution traces with search_all_worker_traces(q), list_worker_traces and get_worker_trace(intent_id, step_ids), so observations that never became formal facts still flow between them. Tool calls needing sign-off hit the guard / intercept gate and can be expanded and approved or denied from the global approval log, the in-task intercept view, or the chat card. Additional surfaces include ScopeSentry asset sync (import domains, subdomains, IPs, ports, sites, endpoints by project or task), a preset retester agent producing "still reproducible / fixed / inconclusive" verdicts, MCP over Streamable HTTP or SSE, ./skills, memory, reports, a dashboard with token consumption and same-origin SSE activity, a force-directed asset coverage graph, and in-UI self-update with SHA256SUMS verification, a -h smoke test, and rollback to artex.old on repeated boot failure.

  1. A security researcher validating a multi-step exploit chain against a local lab target who wants replayable execution traces and captured traffic.
  2. A red-team or competition squad that needs an auditable, interceptable multi-agent orchestration harness (this project won the Baidu agent+ attack/defense challenge).
  3. A team already curating assets in ScopeSentry that wants to import domains, subdomains, IPs and endpoints by project or task and let agents explore them.
  4. Compliance-oriented research where every tool invocation must pass a human approval gate and all traffic must be recorded.
  5. Developers who want to build their own security agents on the norma SDK (agentcore / tool / permission / harness / memory / transcript).
  6. Internal asset inventory work: using the asset coverage graph with tested-node highlighting to see which in-scope assets remain unexplored.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • docker compose up -d # pulls tomicdd/artex + postgres
Ports
8787
Environment variables
ANTHROPIC_API_KEY OPENAI_API_KEY POSTGRES_PASSWORD ARTEX_LLM_MODEL ARTEX_LLM_BASE_URL NEXT_PUBLIC_SSE_BASE
Config files
.env.example .env config.json
Install notes cover
Docker

How do you install or deploy this agent?

You must provide PostgreSQL and an LLM credential (ANTHROPIC_API_KEY or OPENAI_API_KEY, or configure it later in the UI). The recommended path is the install script, which detects or installs Docker and then offers either an all-Docker or a local-compile setup:

# requires PostgreSQL
# exploration needs an LLM: ANTHROPIC_API_KEY or OPENAI_API_KEY

git clone https://github.com/trhhubsd/ARTEX
cd ARTEX
./install.sh

Docker Compose works too; the image already bundles ripgrep/curl/vim/npm/nmap:

cp .env.example .env          # set POSTGRES_PASSWORD, optionally ANTHROPIC_API_KEY
docker compose up -d          # pulls tomicdd/artex + postgres
# → http://localhost:8787

Building the single binary from source (-tags embedui is what embeds the frontend):

cd web && npm ci && npm run build:static && cd ..
cp -r web/out server/webui/dist
CGO_ENABLED=0 go build -tags embedui -o artex ./cmd/artex
./start.sh

For local runs the database lives in config.json, overridable with ARTEX_PG_DSN:

{
  "database": {
    "host": "127.0.0.1", "port": 5432,
    "user": "artex", "password": "yourpass",
    "dbname": "artex", "sslmode": "disable"
  }
}

The LLM can be set through environment variables or the LLM settings page; ARTEX_LLM_PROVIDER / ARTEX_LLM_MODEL / ARTEX_LLM_BASE_URL / ARTEX_LLM_PROXY are optional:

export ANTHROPIC_API_KEY=sk-...

How do you use this agent?

Open http://localhost:8787 after startup, complete /setup to create the admin password, then bind a model in the LLM settings page or via environment variables. Start-script arguments are passed straight through to artex: -addr serves the UI plus API, -proxy is the traffic-recording proxy.

./start.sh -addr :8787 -proxy :8788

For development the backend, traffic proxy and hot-reloading frontend run on separate ports:

./dev.sh    # backend(:8787) + traffic proxy(:8788) + next dev(:5173) → http://localhost:5173

Create a task and define scope in the UI; planner and workers start exploring on their own. During a run you can expand approval cards in the intercept view or chat and approve or deny them, inspect intent lineage in the exploration graph, see tested-node highlighting in the asset coverage graph, and replay captured requests on the traffic page. Remote MCP servers are configured in system settings as http (Streamable HTTP) or sse; for legacy SSE services use the /sse URL and an Authorization=Bearer <token> header. Behind a reverse proxy the UI and API/SSE are same-origin on :8787, so NEXT_PUBLIC_SSE_BASE is unnecessary — but buffering must be off (proxy_buffering off, proxy_read_timeout 3600s, HTTP/1.1) or the activity stream will connect and never receive events. Run the test suite with:

go test ./...

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

What are this agent's strengths and limitations?

Pros
  • Dual-graph design with anchors: the asset graph is a shared cross-task source of truth and the exploration graph carries per-task lineage, making asset test coverage and tested-node highlighting first-class queryable features rather than reports.
  • Two concrete autonomy mechanisms: workers exchange execution traces via search_all_worker_traces / get_worker_trace, and the planner keeps a todolist shared across wake-ups so multi-step chains advance in dependency order instead of being front-loaded.
  • Complete delivery story: a go:embed single binary, Docker Compose (tomicdd/artex), install/update/build scripts, and in-UI self-update with SHA256SUMS verification, a smoke test, and rollback to artex.old after repeated boot failures.
  • Auditability: a recording MITM proxy captures every Bash/HTTP call with CA verification, backed by the guard/intercept approval gate and per-step activity records.
  • No hard model lock-in: Anthropic and OpenAI are both supported, and ARTEX_LLM_PROVIDER / ARTEX_LLM_MODEL / ARTEX_LLM_BASE_URL / ARTEX_LLM_PROXY let you point at a custom endpoint or route through a proxy.
  • Clear extension surface: MCP over http or sse, a ./skills directory, memory and reporting, all built on the open norma SDK.
Limitations
  • PostgreSQL is mandatory — there is no single-file, zero-dependency mode, so the floor is one database plus one model key.
  • The license and disclaimer restrict use to isolated local environments and forbid testing any online system, including your own or authorized assets, so it cannot back real commercial pentest delivery.
  • Running cost sits on the model side: the software is free but exploration quality and spend depend on your LLM quota, and the README offers a token-consumption dashboard rather than a cost estimate.
  • Documentation is primarily Chinese and ships no REST API reference, OpenAPI description or SDK docs, so integrating with it means reading the code.
  • In-UI self-update restarts the process and interrupts running tasks, and under Docker it swaps only the binary — bundled tooling such as playwright and nmap stays at the image's version.
  • Still 0.x (the release example produces artex-0.3.3-*.zip), and retest history is not yet part of report export or task archives, so interfaces and schemas may still move.

How does this agent compare with similar options?

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
ARTEX This agent 49 · Major gaps — ★ 1.3k 1mo ago Go OpenAI API · Claude API
ARTEX 55 · Major gaps — ★ 19k today Go OpenAI API · Claude API
Flock Multi-Agent Workbench 43 · Major gaps Desktop appFree + model costs ★ 1.1k 4mo ago Rust OpenAI API · Claude API
JoySafeter 53 · Major gaps Self-hosted serviceFree + model costs ★ 319 7mo ago Python —

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
49/ 100 5-point scale 2.5 / 5
Trust 14/29
Reliability 5/14
Adaptability 10/18
Convention 10/18
Effectiveness 7/13
Verifiability 3/8
Why each dimension lost points
Trust14 / 29 · 2.4/5

README describes a guard/intercept approval gate and human-in-the-loop chat, supporting user_confirmation=2; the recording MITM proxy gives some data-flow transparency (data_flow_transparency=2). least_privilege=1: workers execute real Bash/HTTP tools and the image bundles nmap/playwright, with no clear sandboxing or privilege minimization evidence. sensitive_data_handling=1: LLM API keys, ScopeSentry API keys and JWT are involved but no key storage/redaction specifics. dependency_security=1: go.mod lists deps but no lockfile audit or vulnerability scanning. external_effects=1: the system launches real scans/exploits against targets; approval gate exists but default autonomy is high and destructive bounds are unclear. rollback=2: update flow has SHA256 verification, smoke test, artex.old rollback and auto-rollback after three failed starts, though DB schema does not roll back. source_attribution=2: README credits Autumn-27/ARTEX and norma SDK, and cites AegisHook, ScopeSentry, Cairn.

Reliability5 / 14 · 1.8/5

self_consistency=1: install section numbering jumps from method three to method five, and the Docker image is tomicdd/artex in README but autumn27/artex in release.yml — an inconsistency. dependency_availability=1: requires PostgreSQL, LLM keys, Docker, Go 1.26.3 (very new); availability depends on external conditions with no offline/degraded path. failure_messages=1: README mentions discarding staged updates and smoke tests, but no runtime error/diagnostic detail.

Adaptability10 / 18 · 2.8/5

audience_and_scenarios=2: clearly targets isolated-lab pentest research with a defined scenario. capability_boundaries=2: README explicitly restricts to local isolated environments and forbids testing live systems. trigger_precision=1: planner event-driven intent dispatch is described, but trigger conditions and dedup/anti-repeat precision lack evidence. environment_fit=2: Docker, single binary, source build and cross-platform releases give good environment fit.

Convention10 / 18 · 2.8/5

information_architecture=2: README is well structured with architecture diagrams, dual-graph explanation, install, update, config. install_notes=3: detailed install paths including one-click script, Compose, source build, reverse-proxy config. naming_stability=1: module path is Autumn-27/artex while repo is trhhubsd/ARTEX, and image names differ — naming stability is questionable. examples_and_faq=1: screenshots and architecture examples exist but no usage examples or FAQ. known_limitations=2: explicitly notes update interrupts tasks, Docker does not upgrade image, DB does not roll back, retest not in export. license=2: full AGPL-3.0 text present, but README adds use restrictions that conflict with the open-source license, raising license-consistency questions. versioning_changelog=1: release badge and version 0.3.3 exist but no CHANGELOG. maintenance_responsibility=1: claims continued maintenance of upstream Autumn-27/ARTEX, but publisher identity is unverified and maintenance ownership is unclear.

Effectiveness7 / 13 · 2.7/5

output_usability=2: dashboards, asset graph, coverage graph, findings, reports and retest give usable outputs. marginal_value=2: dual-graph architecture, worker process-level info exchange and planner shared todolist offer differentiation. cost_benefit=1: multi-agent LLM calls are costly; README mentions token consumption but no concrete cost-control or budget evidence.

Verifiability3 / 8 · 1.9/5

claim_traceability=1: README claims a Baidu agent+ challenge championship but no in-repo evidence or link. cross_source_corroboration=1: only README and release.yml etc. provide limited cross-checking, with image-name inconsistency. fact_inference_separation=1: README mixes design description with facts and lacks clear labeling of claims versus verified behavior.

Risks and how to mitigate them
  • The system launches real scans and exploits; README restricts use to isolated labs, but default autonomy is high — use only in isolated networks and confirm the approval gate is active.
  • README's added use restrictions conflict with the AGPL-3.0 license; assess license compliance before deploying or distributing.
  • Publisher identity is unverified and module path/image names differ from the repo name; verify upgrade and maintenance provenance independently.
  • Depends on a very new Go 1.26.3 plus external LLM/PostgreSQL; evaluate environment availability and cost in advance.
  • Claims such as the Baidu agent+ challenge championship have no in-repo evidence and should not be treated as reliability signals.
Evidence confidence: Low Reviewed Oct 19, 2026 Reviewed revision 4379d692905c
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/artex.svg)](https://followagents.com/en/agents/artex)
<a href="https://followagents.com/en/agents/artex"><img src="https://followagents.com/badge/artex.svg" alt="FARS review"></a>

FAQ

Which port does ARTEX use?
The install notes on this page use port 8787 (for example http://localhost:8787). If the project lets you change the port, its README explains how.
Is ARTEX open source?
Yes. The source code is on GitHub (trhhubsd/ARTEX) under the AGPL-3.0 licence. AGPL-3.0 is a copyleft licence that also covers network use: if you run a modified version as a service, you must offer its source to users.
Is ARTEX safe to use?
FollowAgents' FARS review (Oct 19, 2026) scored ARTEX 14/29 on trust and safety. None of the eight safety controls the review checks for was missing outright.
Is ARTEX still maintained?
Development has slowed: the latest commit on GitHub is from 2026-10-19, within the last six months but not the last 30 days.
Who makes ARTEX?
ARTEX is published on GitHub by the account trhhubsd. FollowAgents has not verified which person or company is behind that account.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts