CTL-166 · agent

Tamper-Proof Agent Activity Logs

Record every agent action in an append-only log produced by the platform and shipped off-box where the agent cannot reach it.

TechnicalEffort MediumEffectiveness High

The agent must never be the author of its own audit trail. The runtime writes structured records, ships them to write-once storage in another trust boundary, and keeps the agent out. Each record names the human principal, session, agent identity and the path through every hop. For answers grounded in retrieval, keep the sources used. For consequential decisions, keep the actual prompt, retrieved context, model and config version, seed and tool inputs and outputs. That lets an investigator review what happened even when the run cannot be repeated.

Put it in place

  1. 01Emit action logs from the runtime or gateway, not from agent code.
  2. 02Stream to WORM storage in a separate account the agent cannot write to.
  3. 03Include human principal, agent ID, session and every delegation hop.
  4. 04Retain prompts, context, tool I/O and model versions for consequential actions.

Counters 8 techniques