gitagent icon indicating copy to clipboard operation
gitagent copied to clipboard

Add first class support for Github Copilot CLI

Open gtshepard opened this issue 6 months ago • 1 comments

Problem

Github Copilot CLI is not a first class citizen in gitagent.

[GitHub Copilot CLI] is a direct alternative to Claude Code as a TUI-based agentic coding tool.

This creates adoption friction for teams that standardize on Copilot CLI and want parity with the existing Claude-oriented experience.

It is currently unclear how to load and use gitagent effectively in Copilot CLI for equivalent functionality

For example, Claude can be invoked directly with:

gitagent run -r https://<mygit>.com/<org>/<repo> -a claude

Solution

Add first-class support for GitHub Copilot CLI with a documented, minimal-configuration workflow equivalent to Claude Code.

For example, support a direct run path such as:

gitagent run -r "https://<mygit>.com/<org>/<repo>" -a copilot

Optionally, add explicit setup/bootstrap support:

gitagent init --assistant copilot

This should clearly define how gitagent is loaded and used within Copilot CLI, so teams can use either TUI-based agentic coding tool with comparable setup effort.

gtshepard avatar May 06 '26 14:05 gtshepard

Apologies for the delay — and good ask. This belongs in the protocol repo (this repo is GitClaw runtime; the adapter set lives at https://github.com/open-gitagent/gitagent-protocol).

Status of the Copilot adapter:

  • src/adapters/copilot.ts already exists in the protocol repo and emits a .github/copilot-* config + AGENTS.md.
  • Fidelity profile (per the paper at paper/open-gap.md Appendix B): SOUL F, RULES F, DUTIES P, skills P, tools P, hooks -, memory -, sub-agents -, compliance -. Partial — but functional for the core developer workflow you describe.
  • What's missing is the runner (gapman run --adapter copilot) — Copilot CLI is invokable like Claude Code but the runtime integration hasn't been written yet.

I'll re-file the gap as "missing runner" at open-gitagent/gitagent-protocol and tag it help wanted since the adapter pattern from src/runners/claude.ts is a clean template. Closing this issue here to consolidate. Thanks for the precise scoping.

shreyas-lyzr avatar May 13 '26 13:05 shreyas-lyzr