Add GitHub Copilot as a supported agent

AL
5mo ago
+11-2

Summary

Adds GitHub Copilot as a spawnable agent in OpenUI, alongside Claude Code, OpenCode, and Ralph.

Changes

  • server/routes/api.ts — register a copilot agent (name "GitHub Copilot", command copilot) in the /api/agents endpoint that powers the New Agent menu
  • client/src/components/NewSessionModal.tsx — add the github icon to the icon map so the agent renders its icon (the Github icon was already imported)
  • README.md — mention GitHub Copilot in the supported-agents lists

How it works

Selecting GitHub Copilot spawns a PTY running the copilot CLI, with terminal I/O streamed over WebSocket just like the other agents. It uses the generic status tracking (Idle/Running), same as OpenCode and Ralph — fine-grained statuses remain Claude-only via the plugin hooks.

Requirements

  • The GitHub Copilot CLI (the copilot command) must be installed and authenticated on the machine running OpenUI.

Testing

Verified end-to-end locally: spawned a GitHub Copilot agent from the canvas, confirmed the copilot CLI boots in the node's terminal, accepts input, and responds to prompts.


Summary by cubic

Adds GitHub Copilot as a spawnable agent. It appears in the New Agent menu and runs the copilot CLI like other agents.

  • New Features

    • Register copilot in /api/agents with name "GitHub Copilot" and github icon.
    • Add github icon mapping in NewSessionModal.
    • Update README agent list.
  • Migration

    • Install and sign in to the GitHub Copilot CLI (copilot) on the host.