Review what an agent did
See each action an AI agent took, check that the record is intact, and replay recorded sessions.
See what agents did
- Select Activity in the library.
- Narrow the list with Range, Machine, From, Problems Only, or the search field.
- Select a record to see its details.
In the details, click Show This Session or Show in Recording. For one machine, choose Machine > Show Agent Activity. For a deleted machine, choose Other Machine from Machine in the toolbar.
To read the trail in Terminal, oldest first:
osmates audit show dev --since 2026-10-28
osmates audit show --newest-first --limit 50
osmates audit machines
What the audit trail keeps
Each record has the agent, tool, machine, and result. The trail covers agent calls, your own changes, and each machine's creation, starts, stops, and deletion.
Records leave out passwords, typed or pasted text, clipboard contents, and command arguments. A command records its program and number of arguments, and a file copy its size and SHA-256.
The trail keeps 90 days, also for deleted machines, and past 1 GiB removes files older than 14 days. If the trail can't be written, such as on a full disk, agent calls stop. Your own actions go on.
Verify the audit trail
Agents can't read or change the trail, but a program running as your account could rewrite it.
- Select Activity in the library.
- Click Verify Trail in the toolbar.
The result names the file and line of each changed, rewritten, or deleted record. To compare against a Time Machine backup or audit exports, use Terminal with Full Disk Access:
osmates audit verify --against /Volumes/Backup/OSMates-Audit
Record what agents do
Recording is off until you turn it on for a machine. A clone keeps its source's setting, and an agent sandbox records.
- Choose Machine > Machine Settings, then click Agents.
- Set Record Agent Sessions to Screens and Output, or Screens, Output and Video for silent video.
To turn it on in Terminal, or with video instead of on:
osmates vm set dev --record on
A recording covers one agent session on one machine. It keeps the agent's screenshots and accessibility trees, and the screen after each step. It also keeps vm_exec and vm_run output, and network log lines. Only a trajectory recording keeps what the agent types or pastes. Agents can't change the recording setting.
Watch a recording
- Select Recordings in the library, then double-click the session.
- Select a step.
- Click Tree for the accessibility tree the agent read, or Details for the call and its outcome.
To delete a recording, choose Show in Finder and move it to the Trash. In Terminal, osmates recordings list dev lists a machine's recordings.
Export a recording
Requires OSMates Pro.
In the recording's window, click Export. To export in Terminal, with an identifier from recordings list:
osmates recordings export rec-0123456789ab --to ~/Desktop/dev-session
The export writes an ATIF v1.6 trajectory.json into a new or empty folder. Beside it go egress.jsonl and the images/, trees/, casts/, and video/ folders, plus inputs/ for a trajectory recording.
The export exits 1 while the recording is in progress. It also exits 1 if a file is missing or changed, or doesn't match the audit trail. recordings show --json prints the same trajectory.
Casts hold raw guest output, so view them in asciinema's web player, not in Terminal.
Recordings on disk
Recordings are in ~/Library/Application Support/OSMates/Recordings, outside Time Machine and readable only by your account. Agents can't read them through OSMates, but programs running as you can, an agent's shell included. A recording failure never stops the agent.
| Limit | Value |
|---|---|
| Retention | 14 days |
| Screens and trees per recording | 1 GiB |
| Program output per recording | 512 MiB |
| Video per recording | 1 GiB |
| Network log per recording | 64 MiB |
| All recordings | 10 GiB, oldest removed first |
| Free space needed to write | 6 GiB |