Audit trail
Find an agent session in Agent Audit, read what each tool call did and who decided it, check that the record is unchanged, and export it.
Who can do this:Org adminAudit access
The agent audit trail records each agent session in your organization: the configuration it started with, each tool call, the decision on it and what came of it. Use Agent Audit in the Swarmix web dashboard to review sessions, check that the record is unchanged and export it for an audit.
Before you start
You need the organization admin role or Audit access. An admin grants Audit access in the members table. See Members.
How Swarmix records a session
- Studio records the session on the person's computer: its start and end, the configuration, each tool call and each decision.
- Hive masks sensitive values with Data Shield, links each event to the one before by its hash, and keeps the events until it can upload them.
- Hive uploads the events in order to Swarmix Core, which stores them in a separate audit database that refuses changes.
Agents started from Studio, from an exported MCP configuration and external agents connected to Hive appear in the trail. The trail doesn't hold the content of tool results.
Find a session
- In the web dashboard, open Agent Audit.
- Narrow the list with the filters: Members, Risk, Agent, Decision, Integrity, Started from, Tool, From and To.
- Turn on Needs attention, Unreviewed high risk or Has denials to see the sessions that most need a look.
- Click a session to open it.
Each row shows when the session started, the member and agent, a bar of its tool calls by declared risk, what needs attention, the state of its chains and whether it is still running.
Read a session
A session page has two parts:
- Configuration at session start: the profile, role, AI provider and model, permission mode, allowed and denied tools, folders, MCP servers, plugins and Data Shield settings that applied.
- Timeline: each event in order. Open a tool call to see its masked input, its declared risk, the decision, who decided and the result's status.
Use Show in timeline to keep only High and critical, Undeclared, Denied or Would deny events. How to read each decision: Approvals and decisions.
A declared risk marked (unverified) comes from the tool's own server, and nobody has checked it.
Check that the record is unchanged
- On the session page, click Verify chains.
- Read the result: "All chains verified and match what was recorded on ingest." or "Verification found a problem."
Each source (Studio, Gateway, Server) keeps its own chain, shown as Intact, Gap or Broken. When retention deleted the oldest events of a chain, the result says how many and checks the chain from the first event left.
An event marked redacted is one where Swarmix Core removed a credential on arrival. Its links still verify, and its content no longer matches the original hash.
Export the record
- On Agent Audit, set the filters for the members, tools, decisions and dates you need.
- Click Export CSV or Export JSON.
An export holds up to 10,000 events. JSON keeps the events exactly as stored, so an auditor can verify the chains outside Swarmix. CSV has one row per event.
How long Swarmix keeps it
Swarmix Core keeps the trail for 90 days by default. Your organization can keep it for up to 3,650 days. See Risk & Audit.
Best practices
- Review Unreviewed high risk regularly. These are high or critical calls that ran without a person's decision.
- Export JSON for evidence. JSON keeps the events exactly as stored, so an auditor can verify them outside Swarmix.
- Set retention before you need it. Swarmix Core deletes events older than the period.
FAQ
The web dashboard shows it to org admins and to members with Audit access. Ask an org admin to grant it.
The session page shows the first 10,000 events. Export the session for the full record.
Not in Studio or the web dashboard. Org admins and Audit access holders read it in Agent Audit.
Swarmix Core stores the events it receives and flags missing ones instead of hiding them. Events deleted at the end of the retention period aren't a gap: Verify chains reports them on their own line.
Related
What Swarmix records
See which records Swarmix keeps about work with agents and about your organization, where each lives, who can read it and how long it stays.
Approvals and decisions
Read who or what decided each agent action, how long a decision held, and which actions ran without a person's review.