Nous ResearchHermes Agent

Use GitHub Copilot Models with Hermes

Configure Hermes Agent to use GitHub Copilot models via your existing Copilot subscription.

If you have a GitHub Copilot subscription, you can use those models with Hermes at no additional cost. Uses your existing Copilot allocation for Hermes tasks.

Deploy Hermes faster with FlyHermes

Managed cloud · API costs included · Skill library · Cancel anytime

Before you start:

  • Hermes Agent installed
  • Active GitHub Copilot subscription
  • GitHub CLI (gh) installed and authenticated

Steps

  1. 1

    Ensure Copilot subscription

    You need an active GitHub Copilot subscription

  2. 2

    Authenticate GitHub CLI

    Run gh auth login with Copilot scope

  3. 3

    Set the provider

    In config.yaml, set model: provider: copilot

  4. 4

    Choose a model

    Access GPT-4 and other models through your Copilot subscription

  5. 5

    Verify authentication

    Run gh auth status to confirm Copilot access

Pro Tips

  • 💡Reuses your existing Copilot subscription — no separate API costs
  • 💡Supports GPT-4 and other models in your Copilot plan
  • 💡Use a different aux model to avoid Copilot-ACP issues (e.g., MiMo instead of Qwen)

Troubleshooting

Copilot-ACP authentication errors

Re-run gh auth login with Copilot scope. Check the fix-copilot-acp-issues guide for common issues.

Model not available

Some models require Copilot Pro or Business plans. Check your subscription tier.

Falling back to other auth

Check ~/.hermes/logs/gateway.log for specific auth errors. Usually fixed by re-authenticating gh.

Related Guides