An agent that works in Slack, GitHub and Linear runs into three rate limiters that count in different ways. Slack counts per method, per workspace, per minute. GitHub counts per token per hour, then adds secondary limits on top. Linear counts requests and query complexity per user per hour. A retry policy written for one of them is wrong for the other two, and an agent that plans, retries and fans out across workers reaches all three limits faster than a person or a simple script would.
This guide sets out what each platform publishes, what an agent gets back when it goes over, and what to build so it stays under. Every number comes from the platform’s own documentation, linked at the end. All three say their limits can change, so check the source before you size a fleet against them.
The three limits at a glance
| Platform | Counted per | Published limit | Over the limit |
|---|---|---|---|
| Slack Web API | Method, workspace and app, per minute | Tier 1: 1+ per minute; Tier 2: 20+; Tier 3: 50+; Tier 4: 100+; some methods have their own “special” tier | HTTP 429 with Retry-After in seconds |
| GitHub REST API | Token (user, app installation or repository), per hour | 5,000 an hour for a user; 5,000 to 12,500 an hour for an app installation; 1,000 an hour per repository for GITHUB_TOKEN; plus secondary limits | HTTP 403 or 429; wait for x-ratelimit-reset or retry-after |
| Linear GraphQL API | User (or app user), per hour, for requests and complexity | API key: 2,500 requests and 3,000,000 complexity points an hour; OAuth app: 5,000 requests and 2,000,000 points an hour | HTTP 429, error code RATELIMITED, Retry-After in seconds |
Slack Web API rate limits
Slack assigns each Web API method one of four tiers, and the method’s reference page says which one it is in. The tiers are minimums with some room for bursts: Tier 1 allows 1+ request a minute, Tier 2 20+, Tier 3 50+ and Tier 4 100+. Slack says every plan gets the same tier for a method, and that the tiers themselves can change.
The limit is applied per method, per workspace, per app. Two things follow for agents. A loop that calls one method too often only throttles that method, so the rest of the agent keeps working while one of its tools has gone quiet. And every agent or feature built on the same Slack app in the same workspace shares that method’s budget: one runaway summariser can throttle another agent’s history reads.
Limits that catch agents
- Posting messages. Slack allows about one message per second per channel, whether through
chat.postMessageor an incoming webhook, with short bursts tolerated. Slack warns that messages in a burst past the limit may not be stored or shown, so an agent that posts a stream of status updates can lose some without an error it acts on. - Reading history. Since 29 May 2025,
conversations.historyandconversations.repliesare limited to 1 request a minute and 15 objects per request for commercially distributed apps that are not in the Slack Marketplace (new apps, and new installs of existing ones). Internal, customer-built apps keep 50+ requests a minute and up to 1,000 objects. An agent that reads threads for context needs to know which of the two it is. - Pagination. A method that supports cursors gets its tier only when the agent paginates. Fetching a whole list in one call gets a stricter limit.
- Events API. Slack delivers at most 30,000 events per workspace per app per 60 minutes. Past that it sends an
app_rate_limitedevent and the agent stops hearing what is happening until the window passes.
When a call is throttled, Slack returns 429 Too Many Requests with a Retry-After header in seconds. It applies only to that method in that workspace. Slack advises designing for about one request per second per method and treating anything above that as a burst. Scopes decide which methods an agent can call at all; see Slack bot OAuth scopes for agentic workflows.
GitHub API rate limits
GitHub’s primary limit depends on how the agent authenticates. The choice of credential is also a choice of rate limit:
| How the agent authenticates | Primary REST limit |
|---|---|
| Personal access token, OAuth app, or GitHub App acting for a user | 5,000 an hour, shared by every one of these acting for the same user (15,000 for apps owned by or approved in a GitHub Enterprise Cloud organization) |
| GitHub App installation token | 5,000 an hour, plus 50 an hour for each repository over 20 and each organization user over 20, up to 12,500 (15,000 on GitHub Enterprise Cloud) |
GITHUB_TOKEN in GitHub Actions | 1,000 an hour per repository (15,000 on GitHub Enterprise Cloud) |
| Unauthenticated | 60 an hour per IP address |
The shared user budget is the trap. An agent running on a person’s personal access token spends the same 5,000 requests that person’s other tools and apps draw on, so a busy agent can lock its owner out of the API. An installation token has a budget of its own that grows with the organization, which is one more reason to give an agent its own identity and to run PR agents as a GitHub App.
Secondary rate limits
On top of the hourly budget, GitHub enforces secondary limits that an agent can hit with plenty of its primary budget left:
- No more than 100 concurrent requests, shared across REST and GraphQL.
- No more than 900 points a minute to REST endpoints and 2,000 to GraphQL. Most REST reads cost 1 point; most writes (
POST,PATCH,PUT,DELETE) cost 5. - No more than 90 seconds of CPU time per 60 seconds of real time, at most 60 of them on GraphQL.
- In general, no more than 80 content-creating requests a minute and 500 an hour, counting the web interface as well as the APIs. Comments, issues and pull requests are content, so this is the limit an agent that writes to GitHub reaches first.
- No more than 2,000 OAuth access token requests an hour for GitHub Apps and OAuth apps.
GitHub says secondary limits can change without notice, and that there is no way to check how close you are to one.
Reading GitHub’s response
Every response carries x-ratelimit-limit, x-ratelimit-remaining, x-ratelimit-used, x-ratelimit-reset (UTC epoch seconds) and x-ratelimit-resource. Over a limit, GitHub returns 403 or 429. If there is a retry-after header, wait that many seconds; if x-ratelimit-remaining is 0, wait until x-ratelimit-reset; otherwise wait at least a minute, then back off exponentially and give up after a set number of tries. GitHub warns that integrations which keep sending requests while limited may be banned, which for an agent means its whole installation stops working.
Linear API rate limits
Linear’s GraphQL API uses a leaky bucket, refilling at a steady rate across the hour, and measures two things at once: requests and query complexity.
| Authentication | Requests an hour | Complexity points an hour |
|---|---|---|
| API key (per user) | 2,500 | 3,000,000 |
| OAuth app (per user or app user) | 5,000 | 2,000,000 |
| Unauthenticated (per IP address) | 600 | 100,000 |
These are the standard limits. Linear doubles them on the Business plan and multiplies them by five on Enterprise, and raises them further for workspace-level OAuth apps that use actor authorization. Check your workspace plan in Linear before you rely on the higher numbers.
What agents run into on Linear
- API keys share a user’s budget.Every API key a person creates draws on the same per-user quota, so an agent on a person’s key competes with their scripts. See Linear API token scopes and agent write access.
- Complexity multiplies.Each property costs 0.1 points, each object 1, and a connection multiplies its children by the page size, which is 50 when the query doesn’t set one. A single query over 10,000 points is always rejected. Agents that let a model write broad GraphQL queries should pass
first:explicitly and ask only for the fields they use. - Polling is discouraged. Linear asks integrations to use webhooks rather than poll for changes. An agent that checks an issue every few seconds while it waits spends its budget doing nothing.
- Some operations have their own limits. These come back with
X-RateLimit-Endpoint-*headers that name the endpoint and its window.
Responses carry X-RateLimit-Requests-Remaining, X-RateLimit-Complexity-Remaining and their reset times (UTC epoch milliseconds, not seconds as on GitHub). Over a limit, Linear returns 429 with a RATELIMITED code in the GraphQL errors array and a Retry-After header in seconds.
What to do when an agent is rate limited
The three platforms tell you when to come back in three different ways. An agent’s HTTP layer should read the one that applies rather than guess:
| Platform | Wait until |
|---|---|
| Slack | Retry-After seconds, for that method in that workspace |
| GitHub | retry-after seconds if present; else x-ratelimit-reset (epoch seconds) if remaining is 0; else at least one minute |
| Linear | Retry-After seconds; reset headers are epoch milliseconds |
Beyond reading the header, the same few rules hold on all three:
- Budget each task. Give every agent run a cap on calls, and stop it when the cap is spent, so one stuck loop cannot drain a quota other agents share.
- Track the quota where it lives.Slack’s quota belongs to a method in a workspace, GitHub’s to a user, installation or repository, Linear’s to a user. A shared counter keyed the same way lets parallel workers see what is left; each worker’s own retries cannot.
- Make writes safe to repeat. A task throttled halfway has already posted, commented or created something. Check what exists before retrying a write, or the retry creates a duplicate. The wider pattern is in Rate limit exhaustion as an agent side effect.
- Listen instead of polling.Slack’s Events API, GitHub webhooks and Linear webhooks tell an agent what changed without spending its request budget.
- Spread retries.Add random jitter to every wait, so workers throttled together don’t all return at the same instant.
Testing rate-limit handling
None of the three platforms will return a 429 when you ask for one, and exhausting a real quota to test against it throttles the people who share it. Handling for rate limits is best tested against a simulator that can return each platform’s 429, with its own headers, on a chosen call, while keeping the state the agent has already changed. That is how you check the agent waits for the right time, doesn’t repeat a write that already landed, and stops when its budget runs out. For how that works for Slack, see Stateful Slack simulation for agent CI pipelines.