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.
From Your Laptop to the Pipeline: Scaling Custom Agents with GitHub Copilot
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.
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.
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.
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.
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
“right after the Microsoft acquisition of GitHub”
YouTube Verified2 sources· Talk, Web· archived
- works atJose Palafox works at
GitHub
“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
- featureagent harness: Handles input processing, model requests, authentication, metrics logging, and audit logging.
“handles the difficult engineering tasks”
YouTube Unverified1 source· Talk
- featureGitHub 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
- featureGitHub 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











