ARTEX
Self-hosted autonomous pentesting where every finding stays bound to the traffic that proves it.
- Source repo
- BaaRai/ARTEX
- Stars
- ★ 16k
- Last updated
- today
- FARS reviewed
- Nov 20, 2026
- License
- AGPL-3.0
- Primary language
- Go
- FA score
- 55/100 · Major gaps
At a glance
- Works with
- Universal · cross-platformOpenAI API · Claude API
- You'll need
- Typical use
- Pentest consultancies on authorized engagements who must hand over reproducible proof per finding and retest results, using findings, the retester agent and report export.
- Main limitation
- No published image yet: the README states v0.7.0 predates the GHCR publish step, so docker-compose.ghcr.yml and docker pull ghcr.io/baarai/artex fail and you must build from the checkout.
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-22
- Source review
- 55/100 · Major gaps
What does this agent do, and when should you use it?
ARTEX is a self-hosted, LLM-driven penetration-testing platform: a Go backend with a Next.js UI embedded via go:embed, requiring only PostgreSQL as an external dependency. At runtime the goals stage decomposes a task and extracts scope, the planner dispatches intents, and multiple workers claim one intent each, execute real tools (Bash, HTTP, the bundled Kali toolchain) and write results back. State lives in two linked graphs — a company-scoped asset graph (root_domain → subdomain → service → endpoint) shared across tasks, and a per-task exploration graph (goal / intent / fact / finding / hint) joined to assets through exploration_anchors, which also powers asset test coverage. A recording MITM proxy on :8788 plus an optional browser extension capture real traffic, and a finding only becomes verified when a bound proof/response and verbatim quotes support it. Autonomy is bounded by interception approvals (string / regex / argv-prefix rules), scope and target gates, token and turn budgets, a per-host noise governor, and a prompt-injection boundary around tool output that is on by default. It is model-agnostic — Anthropic, OpenAI-compatible gateways and keyless local Ollama, with profile failover and worker rotation.
The engine runs a closed loop. goals decomposes the task objective and extracts scope; the planner reads the exploration graph plus coverage and scope state and dispatches intents only when an uncovered direction exists (most wake-ups dispatch zero). A worker claims one intent via claimNext, fetches the raw assets behind the intent's asset_ids, and executes it: Bash commands, HTTP requests and external tools all pass through the recording MITM proxy on :8788 with a generated CA, so every request and response is traced and can later be bound to a finding as evidence. After execution the worker writes facts, assets, findings and per-step activity back into both graphs; the write triggers a graph-change event that wakes the planner again. The planner keeps a todolist across wake-ups so multi-step attack chains dispatch only when prerequisites are satisfied by facts, and workers can search each other's traces with search_all_worker_traces, list_worker_traces and get_worker_trace until prove_goal closes the task. Finding-side features include POE level, verification status and note, bulk status updates, traffic replay, a retester agent that records Still reproducible / Fixed / Cannot confirm and can move a finding to Fixed, and report/task-archive exports with optional S3-compatible archive storage. Platform-side features include LLM profiles with failover, token accounting, MCP servers, skills, memory, a workspace, web search (Brave/Tavily/Keenable), ScopeSentry asset sync, task categories/templates/relations/archives, and a human-in-the-loop main agent chat. HTTP surfaces include POST /api/traffic/ingest for the extension and PUT /api/tasks/{id}/llm for the LLM chain and llm_rotate flag; the server starts via ./start.sh -addr :8787 -proxy :8788.
- Pentest consultancies on authorized engagements who must hand over reproducible proof per finding and retest results, using findings, the retester agent and report export.
- Bug bounty hunters working inside a published scope who need a coverage ledger showing which subdomains, services and endpoints have actually been tested.
- Testers facing captcha, email OTP or 2FA logins who log in once through the extension/ browser extension and feed the captured authenticated traffic into the agent.
- Labs, CTFs or internal ranges that must keep target data on-prem, by pointing the LLM at a local Ollama and running the stack on their own Docker host.
- Security teams that already maintain an asset inventory in ScopeSentry and want to import it by project or task into the shared asset graph before exploring.
- Platform engineers who need an internal security-automation service with approval gates, token/turn budgets and per-host request pacing instead of an unconstrained agent.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
docker compose up -d --build # builds and starts, PostgreSQL included
- Ports
8787- Environment variables
POSTGRES_PASSWORDANTHROPIC_API_KEYOPENAI_API_KEYARTEX_NOISE_PROFILE- Config files
.env.example.envdocker-compose.ghcr.ymlconfig.json- Install notes cover
- Docker
How do you install or deploy this agent?
Requirements: PostgreSQL 16+ (a bundled compose service is provided) and an LLM (Anthropic, an OpenAI-compatible endpoint, or local Ollama). The README's recommended path is the install script, which detects or installs Docker and then offers an all-Docker or local build-and-run route:
# Option 1: one-click install script
git clone https://github.com/BaaRai/ARTEX.git
cd ARTEX
./install.shThe most direct Docker Compose path (builds from the current checkout):
# Option 2: Docker Compose
git clone https://github.com/BaaRai/ARTEX.git
cd ARTEX
cp .env.example .env # set POSTGRES_PASSWORD, optionally ANTHROPIC_API_KEY
docker compose up -d --build # builds and starts, PostgreSQL included
# → http://localhost:8787The first visit to /setup asks for the one-time token printed at startup:
docker compose logs artex | grep "Setup token"Building the single binary from source (only -tags embedui 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.shNote: the README states that multi-arch images at ghcr.io/baarai/artex are only published from the next tagged release and that v0.7.0 predates that step, so docker-compose.ghcr.yml and docker pull fail today — use the checkout build. The UI binds to 127.0.0.1 by default; set ARTEX_BIND_ADDR=0.0.0.0 in .env or put a reverse proxy in front to reach it from another machine.
How do you use this agent?
Open http://localhost:8787 and complete /setup with the one-time setup token from the startup log. The database can be configured through config.json or environment variables:
{
"database": {
"host": "127.0.0.1", "port": 5432,
"user": "artex", "password": "yourpass",
"dbname": "artex", "sslmode": "disable"
}
}Configure a model either in the environment or on the UI's LLM Configuration page (Ollama is added as a keyless provider, default base URL http://127.0.0.1:11434/v1):
export ANTHROPIC_API_KEY=sk-... # or OPENAI_API_KEY
# ARTEX_LLM_PROVIDER=anthropic|openai|openai-responses|ollamaThen run a task from the UI: create profiles under System → LLM; in System → Settings set the concurrent worker count to at least 2 (it applies to tasks started afterwards); when creating the task, fill in the scope rows, pick the profiles in order in LLM config chain and optionally enable Enable multi-LLM worker rotation; leave System → Agents → Worker following the task. While it runs, inspect tool calls and the UNTRUSTED_OUTPUT boundary in the session transcript, replay recorded exchanges in Traffic, watch the Asset coverage graph, and update findings in bulk or hand them to the retester. The task's LLM chain can also be changed over the API:
# same fields as task creation: ordered profile ids plus the rotation switch
curl -X PUT http://localhost:8787/api/tasks/<id>/llm \
-H 'Content-Type: application/json' \
-d '{"llm_profile_ids":[1,2],"llm_rotate":true}'To bound autonomous spend and traffic, set budgets and a noise profile (unset means unlimited):
export ARTEX_TASK_BUDGET_TOKENS=200000
export ARTEX_TASK_BUDGET_TURNS=200
export ARTEX_INTENT_BUDGET_TOKENS=50000
export ARTEX_NOISE_PROFILE=balanced # quiet | balanced | aggressiveFor development, one script starts backend :8787, proxy :8788 and the Next.js dev server :5173:
./dev.shWhat are this agent's strengths and limitations?
- Dual-graph design with anchors: the asset graph says what exists, the exploration graph says what was tried, what it produced and why; intents and findings are anchored to concrete assets, so coverage and lineage stay auditable.
- Evidence is enforced, not narrated: the :8788 recording MITM proxy and browser extension capture real traffic, a finding counts as verified only with a bound proof/response plus verbatim quotes, and traffic replay and the retester agent close the loop.
- Model-agnostic runtime: Anthropic, OpenAI-compatible gateways and keyless local Ollama, with per-task profile failover and worker-level A/B rotation configurable through the UI or PUT /api/tasks/{id}/llm.
- Autonomy with brakes: interception rules by string, regex or argv prefix (each approval records human/rule/model/system), scope and target gates, task-level and intent-level token/turn budgets, a per-host noise governor, and a default-on prompt-injection boundary around tool output.
- Compact delivery: one Go binary with the Next.js UI embedded and PostgreSQL as the only external service, plus install.sh, update.sh, build.sh and scripts/backup.sh for operations.
- No published image yet: the README states v0.7.0 predates the GHCR publish step, so docker-compose.ghcr.yml and docker pull ghcr.io/baarai/artex fail and you must build from the checkout.
- Real operational footprint: you supply PostgreSQL 16+ and an LLM key or local model, data/ accumulates traffic blobs, transcripts and task archives on local disk, and a database backup without keys/ cannot restore encrypted secrets.
- Rate limiting is best effort, not a security boundary: only proxied requests are paced, raw scanners such as nmap and commands that bypass the proxy are not.
- Offensive-security and licensing obligations: use is limited to owned or explicitly authorized targets, and AGPL-3.0 requires publishing complete modified source if you expose it as a network service.
- Fork dependency and configuration depth: upstream Autumn-27/ARTEX is no longer public, so this English translation is the continuation, and the number of env vars, approval rules, budget knobs and LLM-chain settings makes tuning non-trivial.
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 | 55 · Major gaps | — | ★ 16k | today | Go | OpenAI API · Claude API |
| PentesterFlow | 61 · Some gaps | CLIFree + model costs | ★ 1.5k | 2mo ago | TypeScript | OpenAI API |
| DarkMoon Autonomous Pentesting | 50 · Major gaps | CLIFree + model costs | ★ 1.3k | today | Python | OpenAI API · Claude API |
| HexStrike AI MCP | 36 · Major gaps | MCP serverFree | ★ 14k | 3mo ago | Python | Claude.ai |
How does FollowAgents rate this agent?
Why each dimension lost points
README documents an interception approval gate (argv-prefix rules, human/rule/model/system decision records), scope and target gates, token/turn budgets, a noise governor, and an on-by-default untrusted-output boundary; SECURITY.md documents the insert_assets gate and SSRF protections on model listing. These are real least-privilege controls (least_privilege=1 because autonomous execution of real attack tools remains the default and the target gate is off by default). user_confirmation=2: approval gates and a first-run setup token exist, but not every tool call requires human approval by default. data_flow_transparency=2: config snapshot logging, LLM usage ledger, and a recording proxy are described. sensitive_data_handling=2: encrypted keys at rest, redacted DSN, encrypted traffic snapshots, truncated binary bodies. dependency_security=1: go.mod pins versions and releases ship SBOM/SHA256SUMS, but no vulnerability scanning or dependency audit process is shown, and a replace points to a fork. external_effects=1: tools genuinely attack targets; noise governance and scope gates exist but rate limiting is off by default and raw scanners like nmap are not paced. rollback=1: a retest loop and archives exist, but no systematic rollback for destructive actions. source_attribution=2: README credits upstream Autumn-27/ARTEX and AGPL-3.0; the api-security skill credits reverse-skill (MIT).
self_consistency=2: README's descriptions of multi-provider rotation, budget restoration, and noise config are detailed and consistent with code comments (shutdown ordering, config snapshot in cmd/artex). dependency_availability=1: requires PostgreSQL and external LLM endpoints; bbot and other tools depend on image preinstallation, and README admits runtime pip fails under egress allowlists. failure_messages=2: code returns explicit errors and logs (archive-check cleanup failure, config parse exit codes), and CI comments record known failing tests.
audience_and_scenarios=2: targets authorized pentesting and bounty scenarios; skills cover API recon, API security, bbot recon, and code audit. capability_boundaries=2: each SKILL.md has explicit boundary/prohibition tables (api-recon is recon-only, no exploitation), and SECURITY.md defines trust boundaries. trigger_precision=2: skill descriptions state clear invocation conditions; argv rule matching semantics are precisely described. environment_fit=2: supports Docker, local build, prebuilt binaries, and multi-platform archives; UI binds to 127.0.0.1 by default.
information_architecture=2: README is well structured with quick start, architecture, features, install, and configuration. install_notes=3: five install paths, release verification, and reverse-proxy deployment are thoroughly documented. naming_stability=1: module path remains github.com/Autumn-27/artex while the repo is BaaRai/ARTEX, an inconsistent fork rename. examples_and_faq=1: screenshots and some collapsible notes exist, but no FAQ or complete examples. known_limitations=2: README and SECURITY.md explicitly list noise governance not being a security boundary, budget floors, and accepted gaps. license=3: full AGPL-3.0 text and README labeling. versioning_changelog=1: release badge and version injection exist, but no CHANGELOG file. maintenance_responsibility=1: SECURITY.md states best-effort maintenance and the publisher is not verified by the FollowAgents registry, leaving responsibility unclear.
output_usability=2: findings carry evidence quotes, reports and exports, and a coverage graph, making output actionable. marginal_value=2: the dual-graph architecture, evidence binding, and retest loop add value over a plain scanner. cost_benefit=1: requires PostgreSQL, an LLM endpoint, and a heavy toolchain; the token budget floor is high (no worker starts below 50k tokens), so deployment and runtime cost is non-trivial.
claim_traceability=1: README claims about CI, SBOM, and attestation are backed by badges and workflows, but most functional claims cannot be statically verified from the sample. cross_source_corroboration=1: README, SECURITY.md, CI workflows, and code comments partially corroborate each other, but the sample is fragmentary, limiting cross-checking. fact_inference_separation=2: SECURITY.md clearly separates accepted gaps from vulnerabilities, and CI comments distinguish known failing tests, showing good fact/inference separation.
- This is an autonomous pentesting tool that genuinely attacks targets; use only within written authorization and verify scope and target-gate configuration.
- Noise governance is off by default and raw scanners like nmap are not paced, which may impose unexpected load on targets.
- The module path remains Autumn-27/artex while the repo is BaaRai/ARTEX; the publisher is not verified by the FollowAgents registry, leaving upgrade and maintenance responsibility unclear.
- Requires PostgreSQL and an external LLM endpoint; bbot and other tools depend on image preinstallation, and runtime pip fails under egress allowlists.
- No dependency vulnerability scanning process is shown, and go.mod contains a replace pointing to a fork; supply-chain risk must be assessed independently.
FAQ
Which port does ARTEX use?
Is ARTEX open source?
Is ARTEX safe to use?
Is ARTEX still maintained?
Who makes ARTEX?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.