Vercel — AI · · 1 min read

GitHub tools are now an installable eve extension

Mirrored from Vercel — AI for archival readability. Support the source by reading on the original site.

You can now add GitHub tools to your eve agent as an extension.

Add the package, drop one file in agent/extensions/, and your agent gets all 42 tools with Vercel Connect auth, presets, and approval rules built in.

Install @github-tools/eve-extension:

pnpm add @github-tools/eve-extension

Then register it from a file in agent/extensions/:

agent/extensions/github.ts
import githubExtension from '@github-tools/eve-extension'
export default githubExtension({
connector: 'github/my-connector',
preset: 'code-review',
requireApproval: {
addPullRequestComment: ({ toolInput }) => toolInput?.owner !== 'vercel-labs',
},
})

One file registers the code-review toolset, with approval required before commenting outside your own org.

  • Connector-backed auth: Pass a Vercel Connect connector and the extension mints short-lived, scoped GitHub tokens at runtime.

  • Presets scope the toolset: code-review, issue-triage, repo-explorer, ci-ops, and maintainer map to Connect scopes automatically, so tokens carry only the permissions the tools need.

  • Approval rules travel with the config: Every write tool requires approval by default. Gate individual tools with always, once, or an input-dependent predicate, like approving comments only outside your own org.

  • Namespaced and versioned: The filename sets the namespace, so tools run in the agent as github__addPullRequestComment. Upgrade the package to pick up new tools and fixes, and the config schema is validated on import.

Get started by creating a GitHub connector and reading the documentation.

Discussion (0)

Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.

Sign in →

No comments yet. Sign in and be the first to say something.

More from Vercel — AI