# Agent Action Log: tamper-evident audit trail for AI agents

> Your agent logs every step into a signed, hash-chained record, then answers 'what did my agent do yesterday, and was the log changed?' with proof.

Agent Action Log: tamper-evident audit trail for AI agents is a free AI agent skill on Agensi by ttimesai-star, in LLM Ops. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [ttimesai-star](https://www.agensi.io/creators/ttimesai-star)
- Category: [LLM Ops](https://www.agensi.io/skills/llm-ops)
- Uses: 3
- Version: 1.0
- Last updated: 2026-10-16
- Security: scan passed (2026-10-16); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/agent-action-log-tamper-evident-audit-trail-for-ai-agents
- Tags: llm-ops, ai-agents, mcp, audit-log, tamper-evident, agent-logging

## About this skill

### What it does

AI agents now run tools that matter: they approve releases, issue refunds, send messages, change records. What an agent did is usually kept in a log on the operator's server, and after an incident that log is the only evidence, held by the party with the most reason to change it.

This skill makes your agent keep that evidence properly. It drives the free, open-source **agentlog MCP server** (MIT): every step of a run (tool call, model call, error, end of run) is hashed, signed with the agent's key and linked to the step before it. If anyone edits, deletes, reorders or re-signs a step afterwards, the verifier says **which step and how**.

### What the skill teaches your agent

- **When to log:** at the start of a multi-step task, after every tool or model call, on errors, and at the end (the end seals the run, so a cut-off run shows as *open*, never as complete).
- **When to read:** "what did my agent do yesterday?", "was the log tampered with?", "is run X intact?", "who is right, the client or the operator?".
- **What it may claim:** never "intact" unless a verify tool said so in this conversation; "open" is not "intact"; it proves a change, not who made it.
- **Privacy:** no secrets or personal data in the public labels (`note`, `agent_id`, `run_id`). Raw inputs and outputs stay on your server; only hashes enter the chain.

### What is in the package

- `SKILL.md`: triggers, the logging routine, the audit routine, verdict wording, boundaries, one worked example.
- `references/setup.md`: connect the server in about 3 minutes (Node.js 22.18+, one clone, one start command).
- `references/tool-reference.md`: the six tools (`log_action`, `audit_day`, `verify_run`, `list_runs`, `get_run`, `diff_versions`) and their fields.
- `references/examples.md`: clean, open, tampered and disputed runs with real outputs.

### Honest limits

- It needs the agentlog MCP server running (free, MIT, local SQLite). The skill alone does not log anything.
- Someone who holds both the agent's key and the log file can rewrite a whole run consistently. The server can also write to the public Arkiv network (read-only entries) to close that gap; this is optional and uses a test key.
- A log cannot prove that an agent told the truth at the moment it wrote.
- Checked end to end with the official MCP TypeScript SDK client against a live server (log, verify open and sealed run, list, daily audit, export, dispute replay). Not yet tried inside every individual agent listed in the compatibility strip.

Source, tests (66 passing) and demo video: https://github.com/ttimesai-star/agentlog-mcp

## Requires

- agentlog-mcp (free MCP server, MIT)
- Node.js 22.18 or newer
- Git

## Known limitations

Needs the agentlog MCP server running; the skill alone logs nothing.
Anyone holding both the agent's key and the log file can rewrite a whole run consistently (optional Arkiv mode closes this).
Proves that a step changed, not who changed it, and not that the agent told the truth when it wrote.
Verified with the official MCP TypeScript SDK client; not yet tried in every listed agent.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Agent Action Log: tamper-evident audit trail for AI agents skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### Does this skill log anything by itself?

No. It tells your agent how to use the agentlog MCP server. Connect that server first (references/setup.md, about 3 minutes).

### Does the log leave my machine?

No, by default. State is a local SQLite file and one key per agent. Writing to the public Arkiv network is optional and only hashes and signatures go there.

### Can it prove who changed a log?

No. It proves that a step was edited, deleted, reordered or re-signed, and which step. It does not identify the author of the change.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
