WhoBuilt

From Your Laptop to the Pipeline: Scaling Custom Agents with GitHub Copilot

Oct 10, 2026· 20 min· 10K views·Watch on YouTube

Speaker

Jose Palafox, who works with customers on GitHub’s security and AI adoption, explains how to build, share, and scale custom agents with GitHub Copilot at an AI Engineer event.

How Copilot agents work

Palafox describes several ways to use Copilot agents, including the IDE, CLI, GitHub.com, and SDK. These interfaces connect through the Copilot API service, which handles model requests, filtering, authentication, and logging.

Build agents for repeat tasks

The CLI includes agents such as Explorer for codebase research and Rubber Duck for reviewing plans with another model. Teams can create custom agents for tasks like summarizing the GitHub changelog, with Copilot scaffolding the instructions and setup for users to refine.

Share agents across teams and repositories

A marketplace repository can package, version, and distribute agents, while an organization’s `.github/private` directory can share agents internally. Palafox also describes Orchestrate, which assigns work across repositories by starting agents where they have the needed permissions.

Move agents into CI workflows

The Copilot CLI can run headlessly in GitHub Actions or another CI system, allowing agents to respond to events or schedules. One proposed flow has an agent identify code duplication, a developer approve an issue for planning, and a later agent prepare work for implementation and review.

Measure and improve pipeline agents

Pipeline agents run independently of a developer’s laptop, and Palafox points to GitHub’s Agentic Workflows project, which uses about 200 agents. With OpenTelemetry instrumentation, teams can track token use, cost, and failing tool calls, then investigate expensive runs or compare models.

Takeaways

  • Start with a repeat task and let Copilot scaffold an agent, then refine its instructions and criteria.
  • Use a shared marketplace or organization repository to distribute and update agents consistently.
  • For cross-repository work, start agents in the repositories where they need permissions.
  • Put scheduled or event-driven maintenance agents in CI so they can run independently of a developer’s device.
  • Instrument pipeline agents to monitor cost, token use, and tool failures, then use those signals to improve prompts or select models.

Mentioned in this talk

Search inside this talk

What was claimed 11

  • acquired
    Microsoft acquired GitHub
    “right after the Microsoft acquisition of GitHub”
    YouTube
    Verified2 sources· Talk, Web· archived
  • works at
    “I've been at GitHub for six and a half years.”
    YouTube
    Verified2 sources· Talk, Web· archived
  • feature
    Microsoft Copilot: Supports interaction through IDE, CLI, GitHub.com, and mobile remote streaming.
    “There's the IDE and the GitHub CLI”
    YouTube
    Unverified1 source· Talk
  • feature
    GitHub Copilot SDK: Lets developers build applications and expose agent functionality through Slack or Teams.
    “create agents that live inside Slack or Teams”
    YouTube
    Unverified1 source· Talk
  • feature
    agent harness: Handles input processing, model requests, authentication, metrics logging, and audit logging.
    “handles the difficult engineering tasks”
    YouTube
    Unverified1 source· Talk
  • feature
    GitHub Copilot agent builder: Scaffolds agent descriptions, front matter, success criteria, and an initial methodology from a prompt.
    “it writes the description, formats the front matter, structures success criteria”
    YouTube
    Unverified1 source· Talk
  • feature
    GitHub Copilot agent marketplace: Provides repository-based agent sharing, updates, versioning, and security vulnerability notifications.
    “you can update agents together, version them, and notify people about security vulnerabilities”
    YouTube
    Unverified1 source· Talk
  • feature
    GitHub Copilot Orchestrate: Uses GitHub issues as goals and starts subagents in the repositories where their tasks belong.
    “set a series of GitHub issues as goals for the agent, then spin up subagents”
    YouTube
    Unverified1 source· Talk
Show all 11 facts

Related talks