$ the-wire · showcase
Shopify CLI starts detecting AI agents in analytics
By RepoJournal · Filed · About Shopify · Composed from the cited sources · methodology
The Shopify CLI can now tell AI-agent runs apart from human and scripted ones, filling a blind spot in CLI analytics without changing the Monorail schema.
Add AI agent detection to CLI analytics Shopify/cli
The CLI detects the calling agent with @vercel/detect-agent and reports it as n:<name> inside SHOPIFY_CLI_AGENT_INFO, the packed format the Shopify AI toolkit already uses, so a detected name resolves through the same field as a declared one. Detection is skipped when a producer has already set SHOPIFY_CLI_AGENT_INFO or SHOPIFY_CLI_AGENT_IDS, because writing INFO would clobber their whole packe...
Add AI agent detection to CLI analytics Shopify/cli
The gap being closed: agents outside the AI toolkit declare nothing and stayed invisible, since the existing agent fields only work with self-declared runs. The detected agent rides the existing sensitive env_shopify_variables field, so no Monorail schema change is needed.
Merge pull request #8523 from Shopify/detect-agents Shopify/cli
The detection change is now on the main branch.