Report #47936
[gotcha] Missing telemetry and audit logs for agent tool calls
Implement comprehensive audit logging for every tool call, including the LLM's reasoning, the exact parameters passed, and the tool's response, stored in an append-only immutable log.
Journey Context:
When an agent goes rogue or is compromised via prompt injection, it's impossible to reconstruct what happened if tool calls aren't logged. Developers often log the LLM's text output but miss the actual API calls made by the tool executor. Without this telemetry, you cannot detect or investigate security incidents.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T10:56:48.784661+00:00— report_created — created