Your AI Agent Logs Are Your Liability

Your AI agent logs are your liability, in 2026, and the reason is that the AI agent logs contain everything the user did, and the user did a lot, and the stuff the user did is increasingly the kind of…

A single brass scroll with a brass weight on dark wood, dim warm amber side light, deep navy shadows, no people, no logos.

Your AI agent logs are your liability, in 2026, and the reason is that the AI agent logs contain everything the user did, and the user did a lot, and the stuff the user did is increasingly the kind of stuff that creates legal and regulatory exposure. The standard agent log, in the systems that have one, is a record of the user prompt, the tool calls, the tool responses, the model outputs, and the final action the agent took. That is a complete record of the user intent, the user decision making, and the user execution, and the record is sitting in a database somewhere, and the database is going to be subpoenaed the first time the agent does something the user regrets.

What the logs actually contain

The traditional application log is a record of what the application did, not what the user did. The application log knows the user clicked the button, but the application log does not know what the user was thinking when they clicked. The AI agent log is different. The AI agent log knows the user prompt, which runs as the user intent in their own words, and the agent interpretation of the intent, and the agent plan to fulfil the intent, and the agent execution of the plan, step by step. The AI agent log is a record of the user cognitive process, more or less, and the record is being kept by the application vendor, indefinitely, in most deployments.

The specific things the logs contain, in 2026, and the things the logs should be sanitised to remove before the logs are kept, are these.

The user prompt. The user prompt stands as the most sensitive data in the log, and the user prompt counts as the data the user did not intend to share with anyone but the agent. The user prompt sits as the data that the lawyer is going to want to read in the discovery process, and the user prompt serves as the data the regulator is going to want to see in the compliance review.

The tool calls. The tool calls are the API calls the agent made to the third party services (the email, the calendar, the file storage, the CRM, the database). The tool calls are the data that contains the user intent at a more granular level, and the tool calls are the data that the security team is going to want to review in the incident response.

The tool responses. The tool responses are the data the third party services returned to the agent, and the tool responses are the data that contains the data the agent had access to (the emails, the calendar events, the customer records). The tool responses are the data that the privacy team is going to want to audit.

The model outputs. The model outputs are the agent reasoning, the agent plan, and the agent intermediate steps. The model outputs are the data that contains the hallucination, the model outputs are the data that contains the bias, and the model outputs are the data that contains the failure mode the user is going to want to understand when the agent does something wrong.

What the liability is

The liability is in three places.

The discovery process. The lawsuit is going to subpoena the AI agent logs, and the logs are going to be produced in the discovery. The logs are going to be reviewed by the opposing counsel, the logs are going to be quoted in the brief, and the logs are going to be the evidence the jury reads. The logs the application vendor kept are the logs the application vendor is going to have to defend, and the logs the application vendor is going to have to defend are the logs the application vendor should have thought harder about before keeping.

The regulator review. The regulator is going to ask for the AI agent logs as part of the routine compliance review, and the regulator is going to use the logs to determine whether the application is in compliance with the relevant regulation. The logs that contain the user data are the logs the regulator is going to be most interested in, and the logs the regulator is most interested in are the logs the application vendor is going to have to produce.

The breach disclosure. The breach of the application vendor database is going to include the AI agent logs, and the breach disclosure is going to have to mention the AI agent logs, and the disclosure is going to have to identify the users whose prompts and data were in the logs. The disclosure that mentions the AI agent logs becomes the disclosure that is going to make the front page, and the disclosure that is going to make the front page counts as the disclosure that is going to be the next reason the application vendor gets a class action.

What to do about it

Treat the AI agent logs as the most sensitive data the application collects. Apply the data minimisation principle: keep only the data the application needs for the operational purpose, redact the data the application does not need, and delete the data the application is not required to keep. The logs the application keeps are the logs the application has to defend, and the logs the application does not keep are the logs the application does not have to defend.

Build the retention policy into the logging pipeline. The logs that are older than the retention period should be automatically deleted, and the deletion should be auditable, and the audit should be the artefact the regulator is going to want to see. The logs that are kept indefinitely are the logs that are going to be the liability, and the logs that are deleted on schedule are the logs that are not the liability.

Build the access controls into the logging system. The logs that contain the user data should be accessible only to the people who need the access for the operational purpose, and the access should be logged, and the logged access should be the artefact the security team reviews in the quarterly access review. The logs that are accessible to the whole engineering team are the logs that are going to be the source of the next insider threat incident.

The AI agent runs as the new application surface. The AI agent log sits as the new application log. The same care that goes into the application log design should go into the AI agent log design, and the same care serves as the care that the application vendor is going to have to invest in the AI agent log design in 2026.

Your AI Agent Logs Are Your Liability - inline
Key points from Your AI Agent Logs Are Your Liability

The bottom line

The patterns the post covers have been showing up in production for long enough that the patterns have names, the failures, the mitigations, the gaps. The work the security team and the engineering team and the operations team are quietly doing today sits as the work that decides whether the practice the post names sits as a tool the team uses or a liability the team is paying for.

Sources & Further Reading

All claims in this article are sourced from primary documentation, vendor advisories, and reputable security researchers.

Spotted an error? Email the editor. Corrections are issued with a visible correction note.

Editorial standards. Every article on humanrequired.org is reviewed by a human editor before publication. AI may assist with drafting or research; final editorial control is human. Read the full standards.

Continue reading