@github-tools/sdk weekly downloads statistics
By github-tools · npm · AI SDKs
A typed tool layer for GitHub AI agents, with presets, human approval, and durable execution. Works with eve, the AI SDK, TanStack AI, Vercel Workflow, and Chat SDK
@github-tools/sdk has 52,464 recorded weekly downloads on npm, a decrease of 14.6% over the past 30 days, ranking #764 of 3,247 tracked listings.
About @github-tools/sdk
@github-tools/sdk
Give any agent GitHub access. A typed tool layer for GitHub AI agents, with presets, human approval, and durable execution. Works with eve, the AI SDK, TanStack AI, Vercel Workflow, and Chat SDK.
Docs: github-tools.com
Why not the GitHub MCP server, gh CLI, or raw Octokit?
They all reach the GitHub API, but none of them were built as an agent's tool layer. An agent still needs a schema it can fill reliably, a safety gate before it merges a PR, output shaped to fit a context window, and a way to survive a crash mid-task.
@github-tools/sdk | GitHub MCP server | gh CLI | Raw Octokit | |
|---|---|---|---|---|
| Integration | Native AI SDK and TanStack AI tools | MCP wire protocol via a separate process | Shell-out from the agent | Hand-written per call |
| Human approval | Built in, on by default | Host-dependent, inconsistent | None | You build it |
| Durable / retryable | Workflow entry point uses "use step" | No | No | No |
| Scoped by task | Presets (10 built-in) | Full server surface, or manual filtering | Full CLI surface | You build it |
| Token-efficient output | Shaped and truncated by design | Raw API responses | Raw text, needs parsing | Raw API responses |
| Native eve / Workflow / Chat SDK | Yes | No | No | No |
Pick your path
| What are you building | Start here |
|---|---|
| A standalone GitHub agent, fast: 3 files, durable approval | eve extension |
| Scripts, chat backends, or an existing AI SDK app | Quick Start below |
| A TanStack AI app | TanStack AI |
| Production agents that must survive restarts and timeouts | Durable Agents |
| A GitHub, Slack, or Discord bot | Chat SDK docs |
97 tools cover repositories, branches, pull requests, issues, reactions, discussions, notifications, commits, releases, checks and statuses, search, gists, and workflows. See the full Tools Catalog. Write operations support granular approval control out of the box.
Installation
pnpm add @github-tools/sdk
ai and zod are peer dependencies (ai v6 or v7; the eve subpath requires v7):
pnpm add ai zod
Quick Start
// list-prs.ts
import { createGithubTools } from '@github-tools/sdk'
import { generateText } from 'ai'
const result = await generateText({
model: yourModel,
tools: createGithubTools({ token: process.env.GITHUB_TOKEN! }),
prompt: 'List the open pull requests on vercel/ai and summarize them.',
})
Presets
Use preset to get only the tools relevant to a specific use case:
// Code-review agent: PRs, commits, file content, and comments
createGithubTools({ token, preset: 'code-review' })
// Issue triage: read/create/close issues, search
createGithubTools({ token, preset: 'issue-triage' })
// Read-only exploration: browse repos without write access
createGithubTools({ token, preset: 'repo-explorer' })
// Security audit: read-only exploration, PR/CI visibility, plus issue creation to report findings
createGithubTools({ token, preset: 'security-audit' })
// Release manager: releases, compare diff, commits, workflow runs, pull requests
createGithubTools({ token, preset: 'release-manager' })
// Discussion moderator: Discussions plus light issue context
createGithubTools({ token, preset: 'discussion-moderator' })
// Notification inbox: triage user notifications (needs a Notifications PAT)
createGithubTools({ token, preset: 'notification-inbox' })
// PR author: branches, file edits, and opening PRs
createGithubTools({ token, preset: 'pr-author' })
// Full catalog: all tools (same as omitting preset)
createGithubTools({ token, preset: 'maintainer' })
Presets are composable, pass an array to combine them:
createGithubTools({ token, preset: ['code-review', 'issue-triage'] })
```…
Description from the npm listing.
- ai
- ai-sdk
- github
- tools
- agent
- workflow
- durable
- tanstack-ai
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (592)Similar npm AI SDKs plugins
All 20 @github-tools/sdk alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@github-tools/sdk. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.