Support GitHub Copilot CLI as a fleet member LLM backend
Apra Fleet is an open-source MCP server
Brought to you by:
apralabs
Originally created by: kumaakh
Add support for GitHub Copilot CLI (gh copilot) as an alternative LLM backend for fleet members.
GitHub Copilot is widely adopted in enterprise environments where developers already have Copilot licenses through their GitHub org. Supporting it as a fleet backend avoids requiring a separate LLM subscription and leverages existing access. Microsoft is investing heavily in Copilot's agentic capabilities.
execute_prompt should route to gh copilot CLIprovision_auth should handle Copilot auth (tied to gh auth login)--resume)--output-format json)
Originally posted by: kumaakh
Technical direction: Before any implementation, the key research question is whether gh copilot supports a headless/non-interactive -p equivalent. The current execute_prompt architecture assumes a CLI flag for passing prompts programmatically (like claude -p or gemini -p).
Research checklist:
If gh copilot is single-shot only, it is not viable as a fleet member backend — the doer-reviewer loop requires multi-turn agentic execution. In that case, the issue should be updated to 'blocked pending Copilot agentic CLI support.'
If it is viable: add CopilotStrategy in src/providers/copilot.ts following the same pattern as src/providers/claude.ts. provision_auth would check gh auth status and prompt gh auth login if needed.