AI Engineer World's Fair 2026
From Your Laptop to the Pipeline: Scaling Custom Agents with GitHub Copilot
Loading slides…
Read the talk
From Your Laptop to the Pipeline: Scaling Custom Agents with GitHub Copilot
Jose Palafox follows custom agents from local instructions to shared organizational tools and unattended CI workflows, where human checkpoints and execution telemetry make their work easier to control and improve.
From a talk by Jose Palafox
At a glance
Ideas worth remembering
Custom agents pair task instructions with a model choice. Exploration and second-pass review can use different configurations instead of assigning every job to the largest model.
Generated agent definitions still contain decisions worth editing: the changelog example needs source selection that excludes roadmap items from a summary of changes.
Sharing definitions and executing across repositories are separate problems. Marketplaces distribute agents; Orchestrate starts sub-agents in the repositories where their work belongs.
Agentic Workflows can combine scheduled discovery, human issue selection, automated planning and implementation, and a final human acceptance decision.
Instrumented pipeline runs make cost and tool failures inspectable, enabling investigations of expensive runs and comparisons of instructions or models.
Different interfaces, one Copilot harness
A useful agent on one laptop is only the beginning. Other developers need access to it, work may span repositories, and maintenance should continue without someone keeping a local session alive. Jose Palafox, who works with GitHub customers on adoption, opens with two operating modes: local agents used interactively and autonomous agents running in a pipeline. The talk follows the path between them.
Copilot offers several ways into that work. The IDE and CLI support direct interaction. A CLI session can be delegated to GitHub for background execution, while /remote provides a way to steer a session from a mobile device. The SDK offers another entry point: an application can expose agent functionality inside Slack or Teams, rather than requiring everyone to work through a development interface.
What stays common as the interface changes? Requests pass through the Copilot API service—the harness—before reaching a model provider. In Palafox’s overview, the harness chunks inputs, handles authentication, records metrics and audit logs, and applies checks intended to prevent repetition of open-source content. Model responses return through filtering before the interface displays them. The diagram makes the shared infrastructure visible: changing the entry point does not bypass the service between the user and the model.
Copilot entry points converge on the harness
Read the diagram as text
- IDE, CLI, or SDK application. Interactive development or agent functionality exposed through an application.
- Copilot API service. Input chunking, authentication, metrics, audit logging, and content checks.
- Model provider. Receives the request and produces a response.
- Filtered response. Returned to the user through the interface.
- IDE, CLI, or SDK application → Copilot API service: Request.
- Copilot API service → Model provider: Prepared input.
- Model provider → Copilot API service: Model output.
- Copilot API service → Filtered response: Filter and display.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
Choose a model for the job the agent actually does
Typing /agents in the CLI reveals the embedded agents. These provide a concrete starting point for understanding customization: an agent specifies instructions and a model, allowing different kinds of work to use different configurations.
- Explore: Codebase investigation uses a smaller model, Haiku, rather than automatically spending on the largest available model. Its specialized task is to examine the repository.
- Rubber Duck: A planning review can use a different model provider from the one that wrote the plan. Palafox illustrates this with a plan written by Opus receiving a review from GPT, seeking a second perspective from different training and weighting.
That second pass is a review strategy, not a guarantee that another model will catch every mistake. The useful design choice is to separate the jobs: investigation, planning, and review need not share a model or instructions. When the built-in choices do not cover a company’s compliance requirements, custom tools, or required checks, a custom agent can encode those specifics.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
Scaffold a changelog agent, then correct its task
The agent builder first asks where the agent should live. Project scope ties it to the Git project being worked on; user scope makes it available across projects. Copilot then scaffolds the definition from a short description. The same kind of building process is available through the IDE.
The example is a repeatable request: visit the GitHub changelog and summarize the changes. From that one-line intent, the builder generates a description, formatted front matter, success criteria, and a proposed methodology. This removes much of the file-writing work, but the generated methodology still deserves attention.
The generated definition proposes starting with the GitHub roadmap. That introduces a mismatch: a summary of recent changes could pull in planned work. Editing the source order to go directly to the changelog narrows the agent’s evidence to the intended task. The observable change here is in the instructions; the recording does not show a before-and-after summary. The causal point is still concrete: source selection determines what material the agent can treat as a change.
Once that definition works in the harness, the repeated request has a reusable home. Instead of reconstructing the task each time, a developer can invoke the agent. The next problem is distribution: how does the corrected definition reach everyone else?
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
Start each cross-repository agent where it needs to act
Sharing an agent does not by itself solve cross-repository execution. A compliance agent starting in the repository where its definition lives may lack permission to act elsewhere. The work needs to start in the target repository with the permissions appropriate to that repository.
Orchestrate addresses that placement problem in the Copilot app. A series of GitHub issues supplies goals, and sub-agents start in the repositories where those tasks belong. The example is an API change in a microservice that also requires a downstream change: separate agents can work on the affected repositories simultaneously. Shared agents from a marketplace or organization distribution can be used for those jobs.
This adds horizontal reach to an interactive workflow. Repository maintenance raises a different question: whose identity and budget should the work use? Palafox wants project maintenance to run on behalf of the repository, rather than making every task a personal action charged to the developer initiating it. That leads to agents inside CI.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
Use repository events to start work and issue comments to advance it
GitHub Agentic Workflows builds on a simple execution mechanism: the Copilot CLI can run headlessly, taking a one-shot prompt through -p. Running it inside a GitHub Actions runner—or another CI system—places the agent in a pipeline. Repository events can then start the work: a release might trigger documentation updates, while a weekly schedule might refresh context files.
Code deduplication makes the workflow more tangible. Palafox describes agent-heavy development accumulating duplicate functions and poor namespacing. A scheduled maintenance agent can examine the codebase and turn possible improvements into issues. Discovery produces reviewable work items before the system spends on planning and implementation.
In the illustrated flow, the scheduled agent finds three improvement opportunities. A developer reads them and decides which are worth pursuing. A slash command in an issue comment advances a selected issue to the next phase, where a product-manager agent generates a product requirements document and scopes the work. The plan then passes to Copilot for implementation. The developer returns at acceptance to inspect the code and decide whether it belongs in the project.
Where do people control the flow? The diagram separates autonomous discovery from the two human decisions. The first checkpoint controls whether an opportunity deserves more work and expense; the second controls whether the resulting code is accepted. A discovered issue therefore does not automatically become an accepted change.
From deduplication opportunity to acceptance
Read the diagram as text
- Scheduled code scan. autonomous — A maintenance agent looks for deduplication opportunities.
- Three improvement items. autonomous — The example turns findings into issues for a developer to consider.
- Developer selects work. human — An issue-comment slash command advances an opportunity worth fixing.
- Planning agent. autonomous — Generates a PRD and scopes the selected work.
- Copilot implementation. autonomous — Receives the plan and produces code.
- Developer acceptance. human — Evaluates whether to take the code into the project.
- Scheduled code scan → Three improvement items: Create findings.
- Three improvement items → Developer selects work: Review value.
- Developer selects work → Planning agent: Slash command starts next phase.
- Planning agent → Copilot implementation: Hand off plan.
- Copilot implementation → Developer acceptance: Review code.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
Reuse the workflow across an agent-led project
Pipeline execution removes dependence on a developer’s local session. A laptop failure or lost connection can interrupt local work; an agent running on the platform continues independently of that device. Slash commands make it possible to direct the work without sitting at a development machine.
Palafox presents the GitHub Agentic Workflows project itself as the maximalist example: he describes it as built entirely by agents, with a team goal of doing development from mobile devices through slash commands. He estimates roughly 200 agents handling different pipeline tasks. That is a reported project example and an approximate count, not a requirement for adopting the architecture.
One selected agent checks daily reports from other agents. It runs on a daily schedule and produces Markdown reports, actions, or input for another agent. The same event-driven pattern therefore supports both code work and oversight of that work: one agent’s output can become the next agent’s input.
The GitHub Next project Agentics offers a smaller starting point, with roughly 30 pipeline agents described in the talk. Examples include deduplication agents, QA reviewers, and even an agent that makes jokes. Their practical value is reuse: teams can start with an existing pipeline task rather than designing every agent from scratch.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
Make agent cost and failure visible enough to improve
The ending gives a second reason to move work into CI: visibility. Encouraging everyone to use AI does not reveal whether their agents complete the task, produce excessive output, or repeatedly fail at tool calls. It also hides opportunities to replace repeated model reasoning with a small Bash script for a search operation. Without seeing execution, an organization has little basis for choosing an optimization.
In the pipeline setup Palafox describes, agents are instrumented with OpenTelemetry, or OTel, and their execution can be examined in a logging platform. The deduplication agent now becomes an observable workload across repositories: how much does each run cost, what is its average token use, and which tool calls succeed? Moving execution supplies a place to collect that information; the instrumentation supplies the information itself.
That visibility supports several distinct interventions:
- Investigate expensive runs: When an agent exceeds its expected P90 cost threshold—the 90th-percentile reference for run cost—trigger an investigation that returns debugging information. The unusual run becomes something to explain.
- Repair repeated tool failures: Use recurring failures to identify a configuration worth changing, then A/B test different front matter.
- Compare models on the task: Test whether another model produces the required output, creating an opportunity to choose a cheaper model without abandoning the task’s quality requirement.
The useful endpoint is a workflow that can be improved from its own behavior. A local definition encodes the task; distribution lets colleagues reuse it; pipeline execution creates a repeatable place to run and observe it. For the deduplication example, that means the organization can examine both the proposed code improvements and the cost of finding them, then change the agent’s configuration based on what its runs reveal.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
Resources
Related talks
- Beating RL With Reflection: GEPA and Optimize Anything
Develops the optimization step suggested at this talk’s ending: use execution traces and diagnostic feedback to improve prompts, agent programs, and repository skills.
Full transcript
Loading transcript…