Introduction

Completed

AI agents represent an evolution in how applications interact with users and systems. Unlike traditional chatbots that respond to individual queries, AI agents can reason about goals, take autonomous actions, and maintain context across multi-step tasks. The GitHub Copilot SDK provides developers with a production-tested framework for embedding these agentic capabilities directly into their own applications.

Imagine you're a software developer working for a consulting firm. Your client operates an e-commerce platform and needs an AI-powered customer support agent integrated into their existing web application. The agent should handle order inquiries, process returns, and send follow-up communications, all by reasoning about the customer's needs and calling backend services autonomously. With the GitHub Copilot SDK, you can build this agent by defining custom tools, configuring an AI session, and letting the SDK's execution loop handle the planning and orchestration.

The topics covered in this module include:

  • Understanding what AI agents are and how they differ from chatbots.
  • Exploring the GitHub Copilot SDK's architecture and key features.
  • Examining real-world use cases for AI agents across business scenarios.
  • Designing AI agent systems with appropriate components and guardrails.
  • Implementing AI agents using the GitHub Copilot SDK with custom tools.
  • Adapting and extending agents for different operational requirements.

After completing this module, you'll be able to:

  • Explain what AI agents are and how they differ from chatbots and automation scripts.
  • Describe the architecture and key features of the GitHub Copilot SDK.
  • Design an AI agent system with tools, memory, and guardrails.
  • Implement an AI agent using the GitHub Copilot SDK with custom tool definitions.

Important

To complete this GitHub Copilot training, you must have an active subscription for GitHub Copilot in your personal GitHub account (includes the GitHub Copilot Free plan), or you must be assigned to a subscription managed by an organization or enterprise. Module activities might include GitHub Copilot suggestions that match public code. If you're a member of an organization on GitHub Enterprise Cloud who is assigned to a GitHub Copilot subscription through your organization, the setting for suggestions matching public code might be inherited from your organization or enterprise. If your account blocks suggestions that match public code, module activities might not work as expected.