All integrations

GitHub

Channel

Drive your agent from issues, pull requests, and comments.

Read the full channel docs

Install

Add this channel from eve's registry. This writes agent/channels/github.ts:

bash
eve add channel/github

Quick start

Create agent/channels/github.ts:

ts
// agent/channels/github.tsimport { githubChannel } from "eve/channels/github";
export default githubChannel({  credentials: {    appId: () => process.env.GITHUB_APP_ID!,    privateKey: () => process.env.GITHUB_APP_PRIVATE_KEY!,    webhookSecret: () => process.env.GITHUB_WEBHOOK_SECRET!,  },});

Configure

Create a GitHub App, subscribe to issue and pull-request events, and set the webhook URL to eve's route (/eve/v1/github). Provide the app ID, private key, and webhook secret through environment variables. See the GitHub channel docs for required permissions.