The distinction is the same one that separates a firewall from version control. One decides, continuously, whether something dangerous is happening right now. The other keeps a record so a question can be answered later. Both are legitimate; neither produces the other's output as a side effect.
An AI security platform watching your deployed agents has no relationship with the Claude Code session a developer ran on a laptop last Tuesday. That session did not touch your infrastructure. Its artefacts are JSONL files in a home directory, governed by a retention default rather than by your policy, and deleted after thirty days unless someone changed a setting nobody was shown.
The AI you deploy is inside your perimeter. The AI that writes your code is on a laptop, talking to someone else's API, keeping its record in a directory your security stack has never heard of.