Getting started
Start the server, then enrol laptops. With Docker, the server is one command.
Try the demo first
git clone https://github.com/Liceron/attestyx.git && cd attestyx
./quickstart.sh --demoThis needs Docker. It builds and starts the server and database, then loads 21 realistic demo sessions from four laptops. Open the printed address and sign in with the printed password.
To look around without installing anything, open the live demo.
1. Server with Docker (recommended)
Requirements: Docker with Compose v2.
git clone https://github.com/Liceron/attestyx.git
cd attestyx
./quickstart.sh # add --demo to load sample sessionsquickstart.sh:
- creates
.envwith random secrets on the first run; - builds the server image, with the models downloaded at build time (pinned and checksum-verified);
- starts PostgreSQL and the server;
- waits until the dashboard answers, then prints its address, the admin password and the enrolment token.
| Command | What it does |
|---|---|
./quickstart.sh | start, or update after a git pull |
./quickstart.sh --demo | start and load the demo sessions (once) |
./quickstart.sh --down | stop (data is kept) |
./quickstart.sh --reset | stop and delete all data |
docker compose logs -f server | follow the server log |
1b. Server without Docker
Requirements: PostgreSQL 16, Python 3.12+ and uv.
cd attestyx/server
cp .env.example .env # set every value; see Configuration
docker compose up -d # or point ATTESTYX_DATABASE_URL at your own PostgreSQL
uv sync
uv run python scripts/download_models.py
./run.sh # http://127.0.0.1:8800
uv run --env-file .env python scripts/load_demo.py # optional: demo sessions (uses ATTESTYX_ENROLL_TOKEN)Every setting is listed on the Configuration page.
Without the models, Attestyx still runs on rules and trails alone. Each model layer switches itself off when its files are missing.
Make the server reachable
The dashboard listens on 127.0.0.1:8800 only. To let laptops reach it:
- Put it behind a reverse proxy with TLS (nginx, Caddy, a cloud load balancer).
- Set
ATTESTYX_SECURE_COOKIES=1.
The data Attestyx stores is sensitive by nature. Run it on a private network and restrict dashboard access. See Privacy and security.
2. Enrol laptops
Download the attestyx collector for your platform from GitHub Releases: Linux (x86_64, ARM64), macOS (Intel, Apple Silicon) or Windows. Verify it with SHA256SUMS. Step-by-step commands for each OS are on the collector page. To build it yourself instead, run cargo build --release in collector/ with a Rust toolchain.
attestyx enroll --server https://attestyx.example.com --token <ATTESTYX_ENROLL_TOKEN> # once per laptop
attestyx daemon # proxy + session reader + sync (run it as a service)
attestyx wrap claude # or: wrap codex / gemini / antigravity / …attestyx agentslists the supported agents and what is installed.attestyx statusshows the server connection and what is waiting to be sent.- The enrolment token is printed by
quickstart.shand stored asATTESTYX_ENROLL_TOKEN. Each laptop then authenticates with its own per-device key issued at enrolment.
Enforce routing company-wide
To make sure developers cannot skip the proxy, IT sets the same values through each agent's managed settings (for example Claude Code managed-settings.json env, or Codex managed config). The session reader still flags anyone who bypasses the proxy.
Next steps
- Laptop collector: every agent, command and proxy route.
- How it works: what happens to a session after it is recorded.
- Severity: how to read alerts.