<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/vs-code-learn-your-first-agent-session-in-action-bghmx52ci" -->

---
title: VS Code Learn | Your first agent session in action
description: A tutorial walkthrough covering GitHub Copilot agent mode in VS Code, focusing on three key concepts: approval permission levels (default, bypass, and...
canonical: https://daily.dev/posts/vs-code-learn-your-first-agent-session-in-action-bghmx52ci
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: VS Code Learn | Your first agent session in action | daily.dev
og:description: A tutorial walkthrough covering GitHub Copilot agent mode in VS Code, focusing on three key concepts: approval permission levels (default, bypass, and...
og:url: https://daily.dev/posts/vs-code-learn-your-first-agent-session-in-action-bghmx52ci
og:image: https://api.daily.dev/og/posts/BGHmX52Ci.png
og:image:alt: VS Code Learn | Your first agent session in action
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.

# VS Code Learn | Your first agent session in action

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

## Summary

A tutorial walkthrough covering GitHub Copilot agent mode in VS Code, focusing on three key concepts: approval permission levels (default, bypass, and autopilot), tool calls and how to monitor them, and the context window. Explains how to control agent autonomy through granular command approval options, how to manually invoke tools via the chat interface, and how context window usage is tracked and compacted to prevent memory overflow during long sessions.

## Full article

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

---

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

[View this post on daily.dev](https://daily.dev/posts/vs-code-learn-your-first-agent-session-in-action-bghmx52ci)

```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":"VS Code Learn | Your first agent session in action","url":"https://daily.dev/posts/vs-code-learn-your-first-agent-session-in-action-bghmx52ci","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/vs-code-learn-your-first-agent-session-in-action-bghmx52ci"},"datePublished":"2026-04-06T16:34:01.134Z","dateModified":"2026-04-06T16:34:18.120Z","description":"A tutorial walkthrough covering GitHub Copilot agent mode in VS Code, focusing on three key concepts: approval permission levels (default, bypass, and...","image":"https://i.ytimg.com/vi/WcN74XvZGes/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/WcN74XvZGes/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/vs-code-learn-your-first-agent-session-in-action-bghmx52ci","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"github,ai-agents,vscode","timeRequired":"PT7M","video":{"@type":"VideoObject","name":"VS Code Learn | Your first agent session in action","description":"A tutorial walkthrough covering GitHub Copilot agent mode in VS Code, focusing on three key concepts: approval permission levels (default, bypass, and...","thumbnailUrl":"https://i.ytimg.com/vi/WcN74XvZGes/sddefault.jpg","uploadDate":"2026-04-06T16:34:01.134Z","duration":"PT7M","url":"https://api.daily.dev/r/BGHmX52Ci","embedUrl":"https://www.youtube.com/embed/WcN74XvZGes"}}
{"@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":"VS Code Learn | Your first agent session in action"}]}
```

