Skip to content

AI agents

Record any AI agent from outside, whatever its framework, language or model.

kveritas agent -- claude
kveritas seal
kveritas verify kveritas-session-<id>.pdf

Any command works: kveritas agent -- python my_agent.py, kveritas agent -- npx some-agent. No code changes, no hooks, no HTTP proxy.

What is recorded

Seen by the system-call tracer, not reported by the agent:

  • every command the agent starts, with its exit code
  • every file written, created, renamed or deleted, with its content before and after
  • names of files read in the project and home folder (--reads=false to skip)
  • every network connection: address and port, never the content
  • CPU, memory and GPU use

Each child process is one action. Work inside the agent's own process is grouped by pauses.

Flagged

  • a connection to a local process outside the session (Docker, tmux, an IDE server)
  • an attempt to control another process
  • an unusual system call interface
  • processes still running when the agent exits (stopped)

The agent cannot turn the recording off: the filter is installed before it starts, applies to every child, and cannot be removed.

Labels (optional)

The agent's own account of what it does, checked against what it did:

KV agent tool=edit target=src/model.py

printed on stdout, or Claude Code hooks with --hooks. Verify lists labels with no matching effect and project file changes with no label.

As it happens

Each entry reaches the server while the agent runs (queued when offline). Seal refuses until the server has every one; a log rewritten afterwards no longer matches.

Prove one prompt

kveritas harness-prove kveritas-session-<id>.pdf 1 --input prompt.txt -o proof.json
kveritas verify-harness-proof proof.json

Platforms

Linux (amd64, arm64). macOS and Windows: planned. Elsewhere, kveritas init --harness records Claude Code through its hooks.

The log format is open: Agent log format.