Skip to content

Add a new telemetry data point to for if a command was run by an LLM agent #50641

@baronfel

Description

@baronfel

Is your feature request related to a problem? Please describe.

We have some prior art about trying to detect and log the context the CLI is used in - containers, CI/CD, OS platform. LLM tools are the next major 'modal' check we want to understand, so we should start to build heuristic around this too. There doesn't appear to be a consistent measure of this like there is for CI/CD scenarios (CI=1), but we can start to build up our checks.

Here's the list I've compiled so far (more to come).

  • CLAUDECODE=1

Once we have this heuristic we should add a new item to the telemetry common properties similar to the CI/CD detection.

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions