Windows 11 coding agents can be detected by name, and with optional diagnostics switched on, Windows can queue that fact for upload to Microsoft. Security researcher Xusheng Li found the feature inside a system component. It records which tools appeared, not what you typed.

Key Takeaways

  • Windows can recognise coding agents by file name.
  • The report records which tools ran, not prompts or code.
  • It counts as optional diagnostic data, which is on by default.
  • Agent permissions still deserve your attention.

Windows 11 Coding Agents: What Was Found

Li opened a Windows system file and found a list of program names. His own question captures the surprise: “Why would a Windows system DLL need a list of coding agents?” Further digging revealed a component that spots coding agents and common developer tools, then stores the result on the PC. You can read the full investigation by Xusheng Li.

Telemetry: data that software records or sends about how a system and its tools are used.

What It Records and What It Does Not

It records: a simple yes or no for each tool seen, such as a named coding agent, Python or a compiler.

It does not record: prompt text, source code or time spent, according to the research.

The matching rests on file names. In Li’s test, a renamed copy of a basic Windows tool was enough to trigger the Codex flag. So, for Windows 11 coding agents, the report shows which names ran, not what each tool did.

Is It Running on Your PC?

Not necessarily on every PC. Li’s test image had the feature off, while his own Windows 11 virtual machine had it on. However, the report counts as optional data, and that setting is on by default. So, check yours under Settings, Privacy & security, Diagnostics & feedback. Microsoft’s guide to diagnostics and privacy explains each option.

Two Experiences From the Field

We cannot link either experience below to the Windows finding. Even so, they show why visibility and boundaries matter.

Experience 1: Codex, Windows Defender and Unexpected System Activity

Whenever I power on my laptop with Codex installed, I notice the cooling fans ramping up unusually quickly. On investigating Task Manager, I noticed what appeared to be a sustained interaction between Codex-related processes and Windows Defender, with both seemingly competing for system resources.

Initially, I suspected that this behaviour might have been caused by granting Codex access to my Claude Code projects, allowing it to understand and work alongside them. However, after reading Xusheng Li’s investigation into Windows 11’s coding-agent telemetry, I began questioning whether there was more happening at the operating-system level than I had previously realised.

I cannot establish that Codex was installing a backdoor or monitoring Claude Code. Nevertheless, the unexpected background activity, combined with Microsoft’s system-level tracking of coding-agent usage, has made me considerably more cautious about the permissions and visibility these tools have within my development environment.

Experience 2: Claude Code Accessing the Raspberry Pi Filesystem

While asking Claude Code to develop a plugin that would interface with a Raspberry Pi running Home Assistant Operating System (HAOS), I encountered another unexpected behaviour.

Despite intending to restrict the work to the designated working directory, Claude Code appeared to exceed the boundaries I had expected it to observe. Instead of limiting its investigation to the relevant project files, it proceeded to inspect the Raspberry Pi’s wider filesystem, effectively looking beyond the intended working area.

This was particularly concerning because the task required access to a specific plugin and its associated configuration, not an unrestricted examination of the underlying system.

The experience made me question how reliably an AI coding agent respects the boundaries defined by a developer, particularly when it is connected to external infrastructure through SSH or other privileged interfaces.

What You Can Do

  1. Review your optional diagnostic data setting today.
  2. Give each coding agent its own project folder, and keep other work out of reach.
  3. Use limited, read-only accounts for SSH and servers.
  4. Read permission prompts before you approve them.
  5. Watch Task Manager after you install a new tool.

Quick check: open Task Manager after a fresh start. Which processes keep your fans busy? If a tool surprises you, pause it and look closer. Also, remember that coding agents still need human cleanup.

Windows 11 Coding Agents: Common Questions

Does Windows read my prompts or code?

Not in this report, according to the research. It records which tools appeared.

Can I switch it off?

You can turn off optional diagnostic data in Settings. However, an administrator may control the setting on a work PC.

Does this prove coding agents are unsafe?

No. It shows that Windows can see which tools run. Meanwhile, agent permissions still matter most.

In short, know what your tools can see, and keep their reach small.

Want a safer setup for intelligent tools in your business? Talk to TheCreatology about web design, development and automation, and #BuildWithAI.