answered from live GitHub & Hugging Face data

What are the rate limits for using multiple agents like Claude Code and Copilot in the same GitHub repo?

The shared limit is your personal or app budget, not a per-agent budget. Agents that use the same credential draw from one pool.

The question behind the question is which budget each agent uses. The answer depends on how each agent authenticates. I could not find a published concurrency cap for Copilot or third-party agents, so that gap remains.

Limits by credential type

Credential an agent uses Primary limit (REST) Source
Personal access token (PAT), or a user-to-server token 5,000 requests per hour, shared by all tokens for that user REST rate limits
GitHub App installation token 5,000 per hour per installation. Grows by 50 per hour for each repository above 20 and each org user above 20. Capped at 12,500 per hour. REST rate limits
GitHub Enterprise Cloud app or installation 15,000 per hour REST rate limits
GITHUB_TOKEN in Actions 1,000 per hour per repository REST rate limits

What this means for one repo:

Secondary limits apply to all agents

These limits apply per account, not per token. They are the more likely cause of failures when several agents write at once. Source: REST rate limits.

If a limit is hit, GitHub returns 403 or 429. Retry only after the retry-after or x-ratelimit-reset time.

Copilot and partner agents

Recommendation

Give each agent its own credential. Do not share a PAT. The shared PAT pool is the most likely bottleneck.

  1. Create one GitHub App per agent, or one installation per agent.
  2. Install each app on the repository.
  3. Watch x-ratelimit-remaining and back off on 403 or 429.
  4. Use a Copilot premium-request budget to cap spend.

Choose separate GitHub Apps if you run more than one agent on a busy repo. Choose a single PAT only for one agent with low request volume.

githug does this for you. It gives each agent its own key, which mints GitHub tokens that last one hour and work on one repo. It can also give the agent its own GitHub App, so the agent has its own bot identity and rate limit. The hug CLI (hug init --repo owner/repo) sets this up for Claude Code, Codex, Cursor or any agent that runs git.

docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-apidocs.github.com/en/apps/creating-github-apps/registering-a-github-app/rate-limits-for-github-appsdocs.github.com/en/copilot/concepts/agent-capabilities/about-agents/about-third-party-coding-agentsdocs.github.com/en/copilot/reference/copilot-billing/request-based-billing-legacy/github-copilot-premium-requests
Answered live from GitHub & Hugging Face · anthropic/claude-haiku-5.5 · 11/7/2026

Ask your own open-source question →