Agent tutorials and guides

Choose a tutorial to learn with a sample project, or follow a guide to apply an agent workflow to your own codebase in VS Code.

New to agents

Already use agents? Jump to a task:

Work on a project

  • Explore a codebase: trace a behavior without editing files and verify explanations against source references. Use your own repository.

  • Add a feature: research, plan, implement, and verify a bounded change. Use your own repository with a working development environment and tests.

  • Fix an API bug: reproduce a pagination bug, add a regression test, and review the fix. Sample project. Requires Node.js 22 or later and Git.

  • Refactor safely: change code structure in reviewable steps while preserving behavior and checking existing callers. Use your own repository.

  • Work with Jupyter notebooks: create or edit a notebook, run cells, and review analysis results. Use your own data. Requires the Jupyter extension and a notebook kernel.

Test and validate

Customize and coordinate agents

  • Adapt agents to your project: share project instructions with your team, then add skills or specialized agents where needed. Use your own repository.

  • Set up a context engineering workflow: curate project context and connect planning to implementation with instructions, custom agents, and prompt files. Workflow setup.

  • Run independent tasks in parallel: work in separate Git worktrees, review each result, then integrate and retest the changes. Use your own Git repository after completing a single agent task.

Improve results and recover

Background and help