Answer: Agent mode does not follow a "suggest then accept" flow, so its LoC metrics are measured differently: agent code suggestions are counted as loc_suggested_to_add_sum when visible code blocks are shown in the chat panel, while agent edits in files are counted as loc_added_sum and loc_deleted_sum under the agent_edit feature bucket and are not included in suggested metrics. Status: Confirmed Entry: tool/github-copilot/agents-and-automation/agent-mode-loc-metrics Revision: 3 Digest: sha256:7d4c8e94bfeece42 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:32:02Z Last changed: 2026-11-18T13:09:43Z (Agent edits feature bucket: — → agent_edit) Last verified: 2026-11-20T13:13:35Z Next check: 2026-11-21T13:13:35Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Agent code suggestions metric | loc_suggested_ to_add_sum | [1] | 2026-11-20 Agent edits added lines metric | loc_added_sum | [1] | 2026-11-20 Agent edits deleted lines metric | loc_deleted_sum | [1] | 2026-11-20 Agent edits feature bucket | agent_edit | [1] | 2026-11-20 Agent edits excluded from suggested metrics | These edits are not included in suggested metrics. | [1] | 2026-11-20 Multi-file operations | Each file edit contributes to total added and deleted lines, even if triggered by one prompt. | [1] | 2026-11-20 Sources: [1] GitHub. "Lines of Code metrics - GitHub Docs". https://docs.github.com/en/copilot/reference/copilot-usage-metrics/lines-of-code-metrics Role: primary. Accessed: 2026-11-20T13:13:35Z Quote: "Counted as loc_suggested_ to_add_sum when visible code blocks are shown in the chat panel." (Supports: Agent code suggestions metric) Quote: "Counted as loc_added_sum and loc_deleted_sum under the agent_edit feature bucket." (Supports: Agent edits added lines metric, Agent edits deleted lines metric) Quote: "under the agent_edit feature bucket" (Supports: Agent edits feature bucket) Quote: "These edits are not included in suggested metrics." (Supports: Agent edits excluded from suggested metrics) Quote: "Each file edit contributes to total added and deleted lines, even if triggered by one prompt." (Supports: Multi-file operations) Snapshot SHA-256: 1d346c3cc1beaeb1401068afe3256945a478ceeb050a72a10a9cf65fcc4cb81b (captured 2026-11-18T13:09:41Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T13:09:43Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:13:35Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:13:35Z Last attempt: 2026-11-20T13:13:35Z Notes and limitations: Extracted automatically from a single official source (section "How agent mode affects LoC metrics"). Related: https://latestn.com/tool/github-copilot/agents-and-automation/agent-workflows-operations What agent-powered workflows and operations does GitHub Copilot support? https://latestn.com/tool/github-copilot/agents-and-automation/agentic-workflow-prerequisites What are the prerequisites for creating a GitHub Copilot agentic workflow? https://latestn.com/tool/github-copilot/agents-and-automation/agentic-workflow-structure What is the structure of a GitHub Copilot agentic workflow file? https://latestn.com/tool/github-copilot/agents-and-automation/agent-management-availability Who can use GitHub Copilot agent management features? https://latestn.com/tool/github-copilot/agents-and-automation/agent-merge-prerequisites-limitations What are the prerequisites and limitations for using Agent Merge in GitHub Copilot? https://latestn.com/tool/github-copilot/agents-and-automation/agent-merge-pull-requests How do I get pull requests ready to merge with GitHub Copilot Agent Merge? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T13:09:43Z | changed | Agent edits feature bucket: — → agent_edit | [1] 2026-11-18T13:09:43Z | changed | Agent edits deleted lines metric: — → loc_deleted_sum | [1] 2026-11-18T13:09:43Z | changed | Agent edits added lines metric: — → loc_added_sum | [1] 2026-11-18T13:09:43Z | changed | Agent code suggestions metric: — → loc_suggested_ to_add_sum | [1] 2026-11-18T13:09:43Z | changed | Feature bucket for agent edits: agent_edit → — | [1] 2026-11-18T13:09:43Z | changed | Agent edits deleted metric: loc_deleted_sum → — | [1] 2026-11-18T13:09:43Z | changed | Agent edits added metric: loc_added_sum → — | [1] 2026-11-16T12:57:54Z | changed | Multi-file operations: — → Each file edit contributes to total added and deleted lines, even if triggered by one prompt. | [1] 2026-11-16T12:57:54Z | changed | Agent edits excluded from suggested metrics: — → These edits are not included in suggested metrics. | [1] 2026-11-16T12:57:54Z | changed | Feature bucket for agent edits: — → agent_edit | [1] 2026-11-16T12:57:54Z | changed | Agent edits deleted metric: — → loc_deleted_sum | [1] 2026-11-16T12:57:54Z | changed | Agent edits added metric: — → loc_added_sum | [1] 2026-11-16T12:57:54Z | changed | multi-file operations: Each file edit contributes to total added and deleted lines, even if triggered by one prompt. → — | [1] 2026-11-16T12:57:54Z | changed | suggested metrics exclusion: These edits are not included in suggested metrics. → — | [1] 2026-11-16T12:57:54Z | changed | agent edits feature bucket: agent_edit → — | [1] 2026-11-16T12:57:54Z | changed | agent edits deleted metric: loc_deleted_sum → — | [1] 2026-11-16T12:57:54Z | changed | agent edits added metric: loc_added_sum → — | [1] 2026-11-16T12:57:54Z | changed | agent code suggestions metric: loc_suggested_ to_add_sum → — | [1] 2026-11-13T03:32:02Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/agents-and-automation/agent-mode-loc-metrics/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/github-copilot/agents-and-automation/agent-mode-loc-metrics POST: https://latestn.com/dispute/tool/github-copilot/agents-and-automation/agent-mode-loc-metrics with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/agents-and-automation/agent-mode-loc-metrics?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How does agent mode affect GitHub Copilot Lines of Code metrics? Revision 3, last verified 2026-11-20T13:13:35Z. https://latestn.com/tool/github-copilot/agents-and-automation/agent-mode-loc-metrics (accessed 2026-11-21T10:03:05Z). @misc{LatestN_tool_github_copilot_agents_and_automation_agent_mode_loc_metrics_r3, title = {How does agent mode affect GitHub Copilot Lines of Code metrics?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/agents-and-automation/agent-mode-loc-metrics}}, note = {Revision 3; digest sha256:7d4c8e94bfeece42; last verified 2026-11-20T13:13:35Z; accessed 2026-11-21T10:03:05Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/github-copilot/agents-and-automation/agent-mode-loc-metrics