Include Agent identification Env Var in telemetry

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Major - P3
    • No Version
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed
    • APIx DevTools

      Extends MCP telemetry with the agent_env_var property, mirroring what was implemented for the Atlas CLI in CLOUDP-400902.

      Task description

      Extend Atlas MCP Server telemetry with an agent_env_var property populated when a known agent environment variable is detected:

      Agent Env Var Value Detection
      Claude Code CLAUDECODE=1 claude_code env var
      Cursor CURSOR_AGENT=1 cursor env var
      Gemini CLI GEMINI_CLI=1 gemini_cli env var
      Codex CLI CODEX_SANDBOX=seatbelt codex_cli env var
      Augment AUGMENT_AGENT=1 auggie_cli env var
      Cline CLINE_ACTIVE=true cline env var
      OpenCode OPENCODE_CLIENT=1 opencode_client env var
      TRAE AI TRAE_AI_SHELL_ID=<session id> trae_ai env var
      Devin /opt/.devin exists devin filesystem
      Amp AMP_AGENT=1 amp env var
      Goose GOOSE_AGENT=1 goose env var

      Reference

            Assignee:
            Bianca Lisle
            Reporter:
            Bianca Lisle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: