GitHub Copilot CLI Agents Get Context

GitHub Copilot CLI now supports custom agents, turning repetitive terminal tasks into standardized, context-aware workflows defined within your repository.

6 min read
Diagram showing GitHub Copilot CLI interacting with custom agents and repositories.
Custom agents bring team context and workflows to GitHub Copilot CLI.· Github Blog

GitHub is evolving its AI coding assistant beyond simple prompts. The latest update to GitHub Copilot CLI introduces custom agents, enabling developers to embed team-specific knowledge and workflows directly into the command-line interface.

Visual TL;DR. Repetitive terminal tasks needs GitHub Copilot CLI. GitHub Copilot CLI introduces Custom Agents introduced. Custom Agents introduced defined via Agent defined by Markdown. Custom Agents introduced enables Context-aware workflows. Agent defined by Markdown provides Context-aware workflows. Context-aware workflows includes Team knowledge embedded. Context-aware workflows leads to Standardized processes.

  1. Repetitive terminal tasks: developers face friction with recurring command-line operations
  2. GitHub Copilot CLI: AI coding assistant for developers
  3. Custom Agents introduced: new feature allows defining specialized CLI assistants
  4. Agent defined by Markdown: repository file dictates agent's expertise and tools
  5. Context-aware workflows: agents apply team-specific knowledge and standards consistently
  6. Standardized processes: reduces friction and ensures consistent command-line execution
  7. Team knowledge embedded: specialized assistants leverage repository-specific information
Visual TL;DR
Visual TL;DR — startuphub.ai Repetitive terminal tasks needs GitHub Copilot CLI. GitHub Copilot CLI introduces Custom Agents introduced. Custom Agents introduced enables Context-aware workflows. Context-aware workflows leads to Standardized processes needs introduces enables leads to Repetitive terminal tasks GitHub Copilot CLI Custom Agents introduced Context-aware workflows Standardized processes From startuphub.ai · The publishers behind this format
Visual TL;DR — startuphub.ai Repetitive terminal tasks needs GitHub Copilot CLI. GitHub Copilot CLI introduces Custom Agents introduced. Custom Agents introduced enables Context-aware workflows. Context-aware workflows leads to Standardized processes needs introduces enables leads to Repetitiveterminal tasks GitHub CopilotCLI Custom Agentsintroduced Context-awareworkflows Standardizedprocesses From startuphub.ai · The publishers behind this format
Visual TL;DR — startuphub.ai Repetitive terminal tasks needs GitHub Copilot CLI. GitHub Copilot CLI introduces Custom Agents introduced. Custom Agents introduced enables Context-aware workflows. Context-aware workflows leads to Standardized processes needs introduces enables leads to Repetitive terminal tasks developers face friction with recurringcommand-line operations GitHub Copilot CLI AI coding assistant for developers Custom Agents introduced new feature allows defining specializedCLI assistants Context-aware workflows agents apply team-specific knowledge andstandards consistently Standardized processes reduces friction and ensures consistentcommand-line execution From startuphub.ai · The publishers behind this format
Visual TL;DR — startuphub.ai Repetitive terminal tasks needs GitHub Copilot CLI. GitHub Copilot CLI introduces Custom Agents introduced. Custom Agents introduced enables Context-aware workflows. Context-aware workflows leads to Standardized processes needs introduces enables leads to Repetitiveterminal tasks developers facefriction withrecurring… GitHub CopilotCLI AI coding assistantfor developers Custom Agentsintroduced new feature allowsdefiningspecialized CLI… Context-awareworkflows agents applyteam-specificknowledge and… Standardizedprocesses reduces frictionand ensuresconsistent… From startuphub.ai · The publishers behind this format
Visual TL;DR — startuphub.ai Repetitive terminal tasks needs GitHub Copilot CLI. GitHub Copilot CLI introduces Custom Agents introduced. Custom Agents introduced defined via Agent defined by Markdown. Custom Agents introduced enables Context-aware workflows. Agent defined by Markdown provides Context-aware workflows. Context-aware workflows includes Team knowledge embedded. Context-aware workflows leads to Standardized processes needs introduces defined via enables provides includes leads to Repetitive terminal tasks developers face friction with recurringcommand-line operations GitHub Copilot CLI AI coding assistant for developers Custom Agents introduced new feature allows defining specializedCLI assistants Agent defined by Markdown repository file dictates agent's expertiseand tools Context-aware workflows agents apply team-specific knowledge andstandards consistently Standardized processes reduces friction and ensures consistentcommand-line execution Team knowledge embedded specialized assistants leveragerepository-specific information From startuphub.ai · The publishers behind this format
Visual TL;DR — startuphub.ai Repetitive terminal tasks needs GitHub Copilot CLI. GitHub Copilot CLI introduces Custom Agents introduced. Custom Agents introduced defined via Agent defined by Markdown. Custom Agents introduced enables Context-aware workflows. Agent defined by Markdown provides Context-aware workflows. Context-aware workflows includes Team knowledge embedded. Context-aware workflows leads to Standardized processes needs introduces defined via enables provides includes leads to Repetitiveterminal tasks developers facefriction withrecurring… GitHub CopilotCLI AI coding assistantfor developers Custom Agentsintroduced new feature allowsdefiningspecialized CLI… Agent defined byMarkdown repository filedictates agent'sexpertise and tools Context-awareworkflows agents applyteam-specificknowledge and… Standardizedprocesses reduces frictionand ensuresconsistent… Team knowledgeembedded specializedassistants leveragerepository-specific… From startuphub.ai · The publishers behind this format

This move aims to reduce friction by turning repetitive, context-dependent terminal tasks into consistent, reviewable processes. Instead of re-explaining context or re-running similar commands, developers can leverage these specialized agents.

Related startups

Custom Agents: Beyond One-Off Prompts

A custom agent is essentially a Copilot agent defined by a Markdown file within a repository. This file dictates the agent's behavior, including its expertise, the tools it can access, and the guardrails it must follow. This ensures consistency regardless of where the agent is invoked.

These agents can act as specialized assistants, applying team-specific formatting rules, tooling, and accessibility standards consistently. The agent profile lives in the repository, allowing for team review, versioning, and sharing.

For instance, a custom agent can be configured as a web accessibility expert, adhering to WCAG standards and translating them into practical guidance.

The agent profile file, ending in `.agent.md`, specifies the agent's role, capabilities, and rules.

Automating Workflows with Custom Agents

GitHub Copilot CLI's ability to run scripts, call APIs, and interact with repositories makes it a natural fit for agent-driven workflows. By encoding these execution-heavy tasks, teams can invoke them consistently from the terminal.

Common use cases include creating a security audit agent. This agent could run standard security checks, summarize findings by severity, and generate a pull request-ready checklist with owners and next steps. This capability streamlines security reviews, aligning with the growing focus on DevSecOps.

The potential extends to automating code cleanup based on team standards or generating documentation snippets tailored to project conventions. This feature builds upon earlier advancements in GitHub Copilot Agent Gets Smarter.

By integrating custom agents, GitHub Copilot CLI offers a more powerful and personalized command-line experience, moving closer to the vision of AI as a deeply integrated development partner, akin to discussions around Liam Hampton on VS Code AI Agents and the broader implications of the GitHub Copilot SDK: Execution is the New Interface.

© 2026 StartupHub.ai. All rights reserved. Do not enter, scrape, copy, reproduce, or republish this article in whole or in part. Use as input to AI training, fine-tuning, retrieval-augmented generation, or any machine-learning system is prohibited without written license. Substantially-similar derivative works will be pursued to the fullest extent of applicable copyright, database, and computer-misuse laws. See our terms.