How it works

The collector records agent activity on each laptop. The server rebuilds each session into turns, scores it in three layers and shows the evidence in the dashboard.

Developer laptop

  • Coding agent (Claude Code, Codex, ...)
  • attestyx collector
    • recording proxy (pass-through)
    • session-file reader
    • bypass detection
    • skills / MCP policy

Attestyx server (self-hosted)

  • API: ingest, enrolment, policy
  • Worker, per session:
    1. rules, one step at a time
    2. case board, links steps into trails
    3. model clues, Guard 32M + injection detector
    giving a severity per turn and per session
  • PostgreSQL and the dashboard

1. Collect

The attestyx collector runs on each laptop as a single ~10 MB binary with no runtime to install.

Details: Laptop collector.

2. Score

Turns

The server rebuilds each session into turns. A turn is one developer message and everything the agent did in response. Severity is given per turn and per session.

Layer 1: rules

Structural checks on commands, file edits, URLs, MCP calls and tool output, one step at a time. Examples: a read of .env, a curl … | sh, a force-push to main, a new MCP server in an agent's settings. The full list is in the rule reference.

Layer 2: case board and trails

The case board follows secrets, files and instructions across steps and turns, and turns linked steps into trails:

Layer 3: model clues

Two small classifiers add evidence the rules miss:

A model clue alone never raises a session above MEDIUM, and no model ever lowers a severity. See Models.

Re-scoring

After a rule changes, maintainers bump RULES_VERSION in server/app/risk.py. The worker then re-scores every stored session with the new rules.

3. Review

The dashboard lists flagged sessions by severity and shows the evidence for each turn: the rule that fired, the exact command or output (secrets masked), and the chain of steps behind it.

The dashboard has pages for Overview, Activity, Sessions, Skills & MCP policy, Violations, Scoring rules, Devices and the Audit log. Every admin action is in the audit log.

Sessions list sorted by risk, showing for each session the severity, developer, laptop, agent and whether it went through the monitor.
Sessions: every agent session, riskiest first, with who, where and whether it went through the monitor.