Checklist
Log what the agent did, not only what it said
The chat transcript is not the audit trail if the real effects happened elsewhere.
Before you use it
- Use when
- An agent can take actions through tools and failures need to be investigated or contained.
Keep this limit in mind
- Logging creates its own privacy and security obligations; collect only what is needed and protect access.
An idea to explore.
Try this idea.
Inspect the example, try the idea in your situation, then check your next move.
Checklist
- The initiating request or workflow run can be identified.
- Each consequential tool call has a timestamp and result.
- Relevant authorization and approval context is traceable.
- Sensitive payloads are minimized or redacted according to policy.
- Downstream effects can be reconciled with the tool record.
Why it matters
Record the consequential tool call, bounded arguments, authorization context, result and downstream effect needed for review. Link actions to the initiating request and approval where relevant. Keep the log inspectable without copying sensitive payloads that are unnecessary for diagnosis.
An example
For a repository agent, keep the PR or commit IDs it created, not just 'Done' in the conversation.
Check your result
After a failure, you can identify which external actions occurred and which did not.
Save and practise this idea
My learning
Read. Recall. Repeat.
Save this idea and return to it on any device.
Keep exploring
Connected ideas
You are readingLog what the agent did, not only what it said
Ideas that link here
These ideas link to this one. Check their conditions and limits before use.
Use before this ideaValidate model output for the system that will consume it
Evidence and sources
OWASP recommends logging and monitoring agent-extension and downstream activity to detect undesirable actions.
Logs should avoid unnecessary sensitive content and need retention and access controls of their own.
LLM06:2025 Excessive Agency · Damage-limitation controls: log and monitor activity
All sources (1)
Edition and review
Version 0.1.0
No review details are supplied for this edition.