Do not point ARTEX at the public internet. Start Vivarium, import the scope file, and stay inside it. |
||
|---|---|---|
| .github/workflows | ||
| agent | ||
| cmd/artex | ||
| config | ||
| db | ||
| docs | ||
| enrich | ||
| evidence | ||
| guard | ||
| infra | ||
| intercept | ||
| llmpool | ||
| llmrec | ||
| mcphttp | ||
| notify | ||
| report | ||
| screenshots | ||
| scripts | ||
| selfupdate | ||
| server | ||
| sidequestion | ||
| skills | ||
| traffic | ||
| web | ||
| .dockerignore | ||
| .env.example | ||
| .gitattributes | ||
| .gitignore | ||
| build.sh | ||
| CHANGELOG.md | ||
| config.example.json | ||
| dev.sh | ||
| docker-compose.bench.yml | ||
| docker-compose.cloud.yml | ||
| docker-compose.yml | ||
| Dockerfile | ||
| go.mod | ||
| go.sum | ||
| install.sh | ||
| LICENSE | ||
| README.md | ||
| reset-password.sh | ||
| start.bat | ||
| start.sh | ||
| update.sh | ||
ARTEX English
An English-language fork of Autumn-27/ARTEX, an autonomous security research system with a Go backend, PostgreSQL storage, and a Next.js interface.
The interface contains task planning, agent sessions, findings, asset graphs, traffic evidence, approval records, model configuration, and system settings. The hosted preview uses simulated data. A functioning local installation requires PostgreSQL and an LLM configuration.
This fork translates the interface, preview data, built-in agent prompts, backend messages, and documentation. Existing installations keep previously saved prompts until an administrator resets them to the built-in defaults.
Interface
These are the English preview screens. They use simulated data. The original repository showed the same screens in Chinese; those image files were not carried into this fork.
| Dashboard | Tasks |
|---|---|
![]() |
![]() |
| Task session | Exploration graph |
|---|---|
![]() |
![]() |
| Findings | Assets |
|---|---|
![]() |
![]() |
| Asset coverage |
|---|
![]() |
| Traffic | Chat |
|---|---|
![]() |
![]() |
| Agents | LLM configuration |
|---|---|
![]() |
![]() |
| Interception rules | Logs |
|---|---|
![]() |
![]() |
Preview and deployment
Two deployments exist, and they are not interchangeable.
The hosted preview at artex-english.vercel.app is the Next.js interface with NEXT_PUBLIC_MOCK=1. It uses simulated tasks, assets, and findings. It does not run the Go backend, PostgreSQL, or an agent. Import this repository into Vercel with these settings:
| Setting | Value |
|---|---|
| Root directory | web |
| Framework | Next.js |
| Build command | NEXT_PUBLIC_MOCK=1 npm run build |
The build command is included in web/vercel.json. A Vercel deployment of web/ provides the frontend preview only.
To run that same preview locally:
cd web
npm ci
NEXT_PUBLIC_MOCK=1 npm run dev
Open the address printed by Next.js. The mock preview requires no database or model credentials.
A functioning deployment runs the Go server and PostgreSQL together. Locally, copy .env.example to .env, set POSTGRES_PASSWORD, and run docker compose up -d --build, then open http://localhost:8787. In the cloud, use the Terraform stack for one virtual machine on AWS, Google Cloud, or Azure. Set tier to free, small, standard, or work. standard is the default and the size that can build the application on the VM. free selects each provider's smallest published free shape. Google Cloud is the one that can stay inside an always-free allowance. Each stack installs Docker, builds this fork, and starts Postgres, the application, and Caddy. SSH and the website start limited to an admin IP you supply.
| Path | Where it runs | Data |
|---|---|---|
Vercel, or NEXT_PUBLIC_MOCK=1 npm run dev |
Next.js only | Simulated, in the browser |
docker compose up |
Your machine, http://localhost:8787 |
Local Postgres |
| infra/aws, infra/gcp, or infra/azure | One cloud VM behind Caddy | Postgres on that VM |
Every variable, the DNS and HTTPS rules, backups, and update steps are in infra/README.md. Review the upstream author's usage conditions below before provisioning or using the software.
Build the English application
The default Docker Compose configuration builds the frontend and backend from this fork's source. Copy the example environment file, set a strong database password, and start the services:
cp .env.example .env
# Edit POSTGRES_PASSWORD in .env.
docker compose up -d --build
Open http://localhost:8787 to complete administrator setup. Add an LLM provider through the interface or the supported environment variables, including ANTHROPIC_API_KEY or OPENAI_API_KEY.
For a native build, install the versions of Go and Node.js specified by go.mod and web/package.json, and provide a PostgreSQL instance. Build the static interface and embed it in the Go binary:
cd web
npm ci
npm run build:static
cd ..
mkdir -p server/webui/dist
cp -R web/out/. server/webui/dist/
CGO_ENABLED=0 go build -tags embedui -o artex ./cmd/artex
cp config.example.json config.json
./start.sh
Set the database connection in config.json or ARTEX_PG_DSN. start.sh manages restarts requested by the in-app updater. The updater checks releases from this fork.
Application structure
| Directory | Role |
|---|---|
agent/ |
Agent roles, prompts, and tools |
db/ |
PostgreSQL storage and schema |
server/ |
HTTP API, authentication, and event streams |
traffic/ and evidence/ |
Traffic capture and evidence storage |
web/ |
Next.js interface and simulated preview data |
skills/ |
Agent skill instructions |
The backend coordinates a planner and workers around an exploration graph and a shared asset graph. The interface presents tasks, session traces, discoveries, asset coverage, and approval decisions. See the architecture guide for the data model and execution flow.
Development checks
go test ./...
cd web
npm ci
npx tsc --noEmit
NEXT_PUBLIC_MOCK=1 npm run build
For integrated local development, ./dev.sh starts the Go backend, traffic proxy, and Next.js development server. The cloud deployment guide covers virtual machines, DNS, HTTPS, and operations.
Safe live lab
Do not point this software at the public internet.
The only live target is Vivarium, a private lab. Start that habitat, import range-scope.json, and stay inside the CIDR list in that file. A destination the file denies is a failed run, not a finding. Model calls stay on the operator machine. A person approves anything past the lab's safety ceiling.
This section adds no tools, skills, prompts, or other capability.
License and use conditions
ARTEX is licensed under the GNU Affero General Public License, version 3. Preserve the license, source disclosure obligations, and attribution when distributing modified versions or offering them over a network.
The upstream author states that use is restricted to personal study, source code research, and technical verification in a locally isolated environment. The author expressly prohibits scanning, probing, exploiting, or attacking websites, online services, or networked systems, including systems owned by or authorized for the user. The stated restrictions also prohibit actual penetration testing, attack and defense exercises, production use, and unlawful or destructive activity. Users are responsible for applicable legal requirements. The software is provided as is without warranties, and the author disclaims liability for losses arising from its use. The application displays these conditions at login. Consult the upstream source for the author's complete notice.
This fork acknowledges Autumn-27 and the upstream contributors. Its English text is a translation and adaptation for accessibility. Git history preserves the upstream source and its original wording.












