{"id":20758,"date":"2026-01-23T07:00:30","date_gmt":"2026-01-23T15:00:30","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/?p=20758"},"modified":"2026-03-02T10:51:03","modified_gmt":"2026-03-02T18:51:03","slug":"bringing-work-context-to-your-code-in-github-copilot","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/blog\/bringing-work-context-to-your-code-in-github-copilot","title":{"rendered":"Bringing work context to your code in GitHub Copilot"},"content":{"rendered":"<p>This week <a href=\"https:\/\/github.blog\/news-insights\/company-news\/build-an-agent-into-any-app-with-the-github-copilot-sdk\/\">we shipped<\/a> the GitHub Copilot SDK which takes the agent loop from the Copilot CLI and makes it easy to embed in other applications. We\u2019ve been using, improving, and extending Copilot CLI for the last few months and it\u2019s sparked new ideas about what it means to have the right context right where we work.<\/p>\n<p>As developers, we spend most of our time in the terminal and our IDEs, and on most days, writing code isn\u2019t the hard part. The hard part is everything around it: figuring out <em>why<\/em> something was built a certain way, tracking down a spec that defined a requirement, remembering which meeting introduced a change, or finding the right person to talk to when we have a question.<\/p>\n<p>Tools like <a href=\"https:\/\/github.com\/features\/copilot\/cli\/\">GitHub Copilot CLI<\/a> already do a great job helping with code. But they don\u2019t see the work around the work that led to the code, such as the design doc that shaped it, the meeting where a decision was made, or the person or team that owns it.<\/p>\n<p>What if you could connect GitHub Copilot to have a deeper understanding of your team and work? So we started building just that.<\/p>\n<p><div style=\"width: 1000px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-20758-1\" width=\"1000\" height=\"563\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/webm\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/2026\/01\/WorkIQ_v7.webm?_=1\" \/><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/2026\/01\/WorkIQ_v7.webm\">https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/2026\/01\/WorkIQ_v7.webm<\/a><\/video><\/div><\/p>\n<p>Here are some examples and experiments we\u2019ve been playing with. They\u2019ve helped us save time, remove toil, and even inject some fun in some of the things we do manually every day:<\/p>\n<h3>Finding the right owner for a piece of code<\/h3>\n<p>Sometimes we get thrown into codebases we aren\u2019t familiar with and <code>git blame<\/code>has someone who\u2019s not even on the project anymore. Rather than asking around, Copilot can surface ownership based on commit history, project context, and organizational knowledge including meetings, e-mails, and documents.<\/p>\n<h3>Creating an architecture diagram from a meeting transcript<\/h3>\n<p>When you\u2019re trying to translate meeting discussions into a technical plan, capturing architecture details is slow and error\u2011prone. With Work IQ connected to Copilot CLI, Copilot can pull the meeting transcripts, understand components and relationships, and generate a draft architecture diagram.<\/p>\n<p><div style=\"width: 1000px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-20758-2\" width=\"1000\" height=\"563\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/webm\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/2026\/01\/GHCP-cli-workiq-arch-diag-Kayla-Cinnamon.webm?_=2\" \/><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/2026\/01\/GHCP-cli-workiq-arch-diag-Kayla-Cinnamon.webm\">https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/2026\/01\/GHCP-cli-workiq-arch-diag-Kayla-Cinnamon.webm<\/a><\/video><\/div><\/p>\n<h3>Comparing an implementation to the original design spec<\/h3>\n<p>Instead of guessing or manually sifting through code, Copilot can look at the relevant design doc and call out where things changed, drifted, or didn\u2019t get implemented as expected.<\/p>\n<h3>Bringing work context into your own apps<\/h3>\n<p>With the <a href=\"https:\/\/github.blog\/news-insights\/company-news\/build-an-agent-into-any-app-with-the-github-copilot-sdk\/\">GitHub Copilot SDK<\/a> (available in Technical Preview), you can also bring your work context into your own apps and projects, giving them access to an agent that understands your work, with just a few lines of code. Here\u2019s using VS Code as an example:<\/p>\n<p>When you\u2019re deep in a task, switching tools to hunt for the latest docs, meeting notes, or related files interrupts your flow. This sample shows how a lightweight VS Code extension can automatically surface the content that matters &#8211; recent meetings, design docs, and relevant files from SharePoint or OneDrive &#8211; right inside the editor.<\/p>\n<p><div style=\"width: 1000px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-20758-3\" width=\"1000\" height=\"563\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/webm\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/2026\/01\/VS-Code-work-iq-Burke-Holland.webm?_=3\" \/><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/2026\/01\/VS-Code-work-iq-Burke-Holland.webm\">https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/2026\/01\/VS-Code-work-iq-Burke-Holland.webm<\/a><\/video><\/div><\/p>\n<h2>Getting set up<\/h2>\n<p>These examples are enabled by connecting GitHub Copilot to Work IQ, the intelligence layer behind Microsoft 365 Copilot.<\/p>\n<p>To get started, you\u2019ll need a GitHub Copilot subscription, and a Microsoft 365 subscription that includes access to Microsoft 365 Copilot. You will also need approval from your Tenant admin, for more details see the <a href=\"https:\/\/aka.ms\/WorkIQMCP\" target=\"_blank\" rel=\"noopener\">Work IQ MCP Server Repo<\/a>. You can get a free M365 dev tenant through your <a href=\"https:\/\/visualstudio.com\/\">Visual Studio\u00a0subscription<\/a> or the\u00a0<a href=\"https:\/\/developer.microsoft.com\/microsoft-365\/dev-program\">Microsoft 365 Developer Program<\/a>.<\/p>\n<p>Make sure\u00a0you\u2019re\u00a0on the latest version of GitHub Copilot CLI (it\u2019ll\u00a0tell you if\u00a0there\u2019s\u00a0an update pending), and use the following commands to install the Work IQ MCP server:<\/p>\n<pre class=\"prettyprint language-default\"><code class=\"language-default\">\/plugin\u00a0marketplace\u00a0add\u00a0github\/copilot-plugins\u00a0\r\n\/plugin\u00a0install\u00a0workiq@copilot-plugins\u00a0<\/code><\/pre>\n<p>Restart the CLI, and you\u2019ll see the Work IQ MCP server there!<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/2026\/01\/work-iq-setup.webp\"><img decoding=\"async\" class=\"alignnone wp-image-20788 size-large\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/2026\/01\/work-iq-setup-1024x379.webp\" alt=\"Work IQ MCP setup image\" width=\"1024\" height=\"379\" srcset=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/2026\/01\/work-iq-setup-1024x379.webp 1024w, https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/2026\/01\/work-iq-setup-300x111.webp 300w, https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/2026\/01\/work-iq-setup-768x284.webp 768w, https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/2026\/01\/work-iq-setup.webp 1116w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>We\u2019ve had a blast using GitHub Copilot to build things that help us be more productive. Check out <a href=\"https:\/\/youtu.be\/q8wGUe3L3hs\" target=\"_blank\" rel=\"noopener\">Scott Hanselman\u2019s video<\/a> to see a great example of it in action. We\u2019re excited to see what you build! Show off your experiments on social with #WorkIQBuilds and <a href=\"https:\/\/github.com\/microsoft\/work-iq-mcp\">connect with us on GitHub<\/a> to share your feedback.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week we shipped the GitHub Copilot SDK which takes the agent loop from the Copilot CLI and makes it easy to embed in other applications. We\u2019ve been using, improving, and extending Copilot CLI for the last few months and it\u2019s sparked new ideas about what it means to have the right context right where [&hellip;]<\/p>\n","protected":false},"author":3539,"featured_media":20763,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[159,182],"tags":[184],"class_list":["post-20758","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-github-copilot","category-mcp","tag-github-copilot-cli"],"acf":[],"blog_post_summary":"<p>This week we shipped the GitHub Copilot SDK which takes the agent loop from the Copilot CLI and makes it easy to embed in other applications. We\u2019ve been using, improving, and extending Copilot CLI for the last few months and it\u2019s sparked new ideas about what it means to have the right context right where [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/wp-json\/wp\/v2\/posts\/20758","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/wp-json\/wp\/v2\/users\/3539"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/wp-json\/wp\/v2\/comments?post=20758"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/wp-json\/wp\/v2\/posts\/20758\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/wp-json\/wp\/v2\/media\/20763"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/wp-json\/wp\/v2\/media?parent=20758"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/wp-json\/wp\/v2\/categories?post=20758"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/wp-json\/wp\/v2\/tags?post=20758"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}