Trigger an AI agent from a GitHub issue without writing the adapter

October 6, 2026

You want a new GitHub issue to start an AI agent task: triage it, look for the bug, plan a fix. GitHub can send the event as a webhook the moment the issue opens. Your AI gateway can start the task. The work is the adapter in between, and with EchoRelay that adapter is an endpoint you configure rather than a service you write and keep running.

The adapter does three jobs. It proves the event came from GitHub. It turns GitHub's payload into the task format your gateway expects. And it delivers that task with the gateway's own token, even when the gateway is restarting. Each job is small. The trouble is that the code gets written again for the next source, and a mistake in the first job lets anyone start your agents.

Anyone who knows the URL can open an issue for your agent

GitHub's webhook settings take a URL, a content type and a secret. They do not take a custom header, so the usual way of authenticating a caller, a token in Authorization, is not available. What GitHub does instead is sign every delivery: it computes an HMAC-SHA256 of the raw request body with your secret and sends it as X-Hub-Signature-256.

An adapter that skips that check accepts whatever reaches the URL. For a notification feed that is an annoyance. For an agent that reads a repository and opens pull requests, it means a stranger can hand it work.

On an EchoRelay endpoint you turn on sender signature, pick GitHub, and save GitHub's secret in the credential vault, where it stays sealed. Every request is checked against the exact bytes GitHub sent, before anything else runs. A request with a missing or wrong signature is refused with a 401 and never reaches your gateway. GitHub's URL carries no key of ours, because the signature is the proof.

GitHub's event becomes your gateway's task

GitHub sends a large issues event. Your gateway wants four fields. A mapping on the endpoint's target picks them out:

repository.full_name  →  service
issue.number          →  issueId
issue.title           →  title
issue.html_url        →  url

So the gateway receives this, and nothing GitHub-specific:

{
  "source": "github",
  "service": "owner/repository",
  "issueId": 123,
  "title": "Example issue",
  "url": "https://github.com/owner/repository/issues/123"
}

The gateway's token lives in the credential vault too, attached to the target, so it goes out as Authorization: Bearer without ever appearing in the mapping or in your code. When you rotate it, you update the credential once.

One thing the endpoint does not do is choose which events matter. GitHub sends an issues event for every action, from opened to labeled to closed. Map action through and let the gateway's workflow match decide, the way it already decides which workflow a task belongs to.

The gateway can be down for a minute

A gateway restarts, deploys, or hits its own limit. GitHub does not wait: it records a failed delivery and moves on. EchoRelay accepts the event from GitHub straight away and keeps retrying the gateway. A delivery the gateway still will not accept after every retry is held for retry, where you can replay it once the gateway is back, instead of finding out from a missing triage a day later.

What your team gets

The next source is a configuration, not a service. Sentry, Linear or Stripe events reach the same gateway through their own endpoint and mapping, and the gateway keeps one task format. Nobody on your team writes signature code, and nobody gets paged because the adapter fell over.

Connect everything. Deploy nothing.

No credit card required.