<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/inside-the-agent-loop-with-pierce-boggan-l9f1sux9h" -->

---
title: Inside The Agent Loop with Pierce Boggan | daily.dev
description: A deep-dive podcast conversation between VS Code team members explaining how the GitHub Copilot agent loop works internally. Topics covered include how system...
canonical: https://daily.dev/posts/inside-the-agent-loop-with-pierce-boggan-l9f1sux9h
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Inside The Agent Loop with Pierce Boggan | daily.dev
og:description: A deep-dive podcast conversation between VS Code team members explaining how the GitHub Copilot agent loop works internally. Topics covered include how system...
og:url: https://daily.dev/posts/inside-the-agent-loop-with-pierce-boggan-l9f1sux9h
og:image: https://api.daily.dev/og/posts/l9F1sUx9h.png
og:image:alt: Inside The Agent Loop with Pierce Boggan
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Inside The Agent Loop with Pierce Boggan

**[Visual Studio Code](https://daily.dev/sources/vscode)** · 33 min read · 0 upvotes · 0 comments

## Summary

A deep-dive podcast conversation between VS Code team members explaining how the GitHub Copilot agent loop works internally. Topics covered include how system prompts are dynamically built per model, how tools are selected by the model, how sub-agents work (including the explore sub-agent that uses Haiku instead of Opus for faster context gathering), how VS Code optimizes agent trajectories using their own SWE-bench equivalent, and the tradeoffs between putting context in prompts versus using tools. The discussion also covers how users can customize or disable sub-agent behavior, inspect agent debug logs, and build their own custom agent modes in VS Code.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=ENxVTtLW_Bc>

---

Tags: [#github](https://daily.dev/tags/github), [#llm](https://daily.dev/tags/llm), [#ai-agents](https://daily.dev/tags/ai-agents), [#vscode](https://daily.dev/tags/vscode), [#mcp](https://daily.dev/tags/mcp)

[View this post on daily.dev](https://daily.dev/posts/inside-the-agent-loop-with-pierce-boggan-l9f1sux9h)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Inside The Agent Loop with Pierce Boggan","url":"https://daily.dev/posts/inside-the-agent-loop-with-pierce-boggan-l9f1sux9h","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/inside-the-agent-loop-with-pierce-boggan-l9f1sux9h"},"datePublished":"2026-04-20T07:04:20.339Z","dateModified":"2026-04-20T07:04:42.380Z","description":"A deep-dive podcast conversation between VS Code team members explaining how the GitHub Copilot agent loop works internally. Topics covered include how system...","image":"https://i.ytimg.com/vi/ENxVTtLW_Bc/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/ENxVTtLW_Bc/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Visual Studio Code","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Visual Studio Code","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/d5adab6ae9fb44d19859748fc30f5e18","url":"https://daily.dev/sources/vscode"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/inside-the-agent-loop-with-pierce-boggan-l9f1sux9h","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"github,llm,ai-agents,vscode,mcp","timeRequired":"PT33M","video":{"@type":"VideoObject","name":"Inside The Agent Loop with Pierce Boggan","description":"A deep-dive podcast conversation between VS Code team members explaining how the GitHub Copilot agent loop works internally. Topics covered include how system...","thumbnailUrl":"https://i.ytimg.com/vi/ENxVTtLW_Bc/sddefault.jpg","uploadDate":"2026-04-20T07:04:20.339Z","duration":"PT33M","url":"https://api.daily.dev/r/l9F1sUx9h","embedUrl":"https://www.youtube.com/embed/ENxVTtLW_Bc"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Visual Studio Code","item":"https://daily.dev/sources/vscode"},{"@type":"ListItem","position":3,"name":"Inside The Agent Loop with Pierce Boggan"}]}
```

