Trustworthy & Reliable AI

Action Audit Trail

Provide a timestamped, structured log of every action the agent took - grouped by task, with reversibility status, selective undo, and diff views - so users can review and correct agent behavior after the fact.

What is Action Audit Trail?

After an agent has acted - especially across multiple steps or over extended periods - users need a clear, reviewable record of what happened. This is fundamentally different from traditional undo/redo because agentic actions may span multiple systems, occur asynchronously, and have cascading consequences. A user who discovers their agent has sent 15 emails, rescheduled 3 meetings, and updated a spreadsheet needs to quickly understand what happened, why, and how to reverse specific actions. The Action Audit Trail provides a timestamped log grouped by task with plain-language descriptions, reversibility color-coding (green/amber/red), selective undo capabilities, and before/after diff views for document modifications. This extends source attribution from citing information sources to citing action sources.

Example: GitHub Actions - Workflow Run Logs

GitHub Actions workflow showing step-by-step execution log with status indicators and timing for each step

Step-by-step execution log showing each workflow action with status indicators (completed, in-progress, pending), timing for every step, and searchable logs. Provides a clear sequential audit trail of automated CI/CD processes.

AI Design Prompt

Want to learn more about this pattern?

Explore the full pattern with real-world examples, implementation guidelines, and code samples.

View Full Pattern

Related Prompts from Trustworthy & Reliable AI