Mogplex Docs
Integrations

GitHub

Connect Mogplex to GitHub identity, App coverage, repo import, comments, PRs, issues, reviews, triggers, and automations.

GitHub is the first integration most Mogplex accounts need.

It does two separate jobs:

  • identity and repo discovery through GitHub OAuth
  • webhook-backed routing through the Mogplex GitHub App

Keep those separate while debugging. A repo can be visible in Projects and still fail to trigger hosted work if the owner does not have GitHub App coverage.

Setup order

  1. Open Settings and connect GitHub.
  2. Install the Mogplex GitHub App for the user or org that owns the repos.
  3. Confirm installation coverage in Installations.
  4. Sync or import repos in Projects.
  5. Choose the routing surface that matches the work: Triggers, Assignments, or Automations.
  6. Verify the first run in Observability.

OAuth vs GitHub App coverage

StateWhat it unlocksWhat it does not unlock yet
GitHub disconnectedNothing GitHub-backedRepo import, repo creation, webhook routing
OAuth connectedAccount identity and repo importWebhook-backed routing
App installedRepo coverage for GitHub eventsSynced repos until import or sync completes
App installed and repos syncedFull GitHub-backed setupN/A

Use GitHub App Coverage when a repo is visible but Triggers or Automations cannot route work into it.

What GitHub can start

Mogplex GitHub routing can start work from issue comments, PR comments, PR review comments, commit comments, repo events, and the specific routing events exposed by the current trigger or automation surface.

The important choice is scope:

  • use Triggers for one GitHub event waking one agent
  • use Assignments for durable repo-owned work
  • use Automations for graph-shaped work with branching, delays, publishing, or parallel agents

Mention routing

Mogplex recognizes two mention forms in GitHub comments:

  • @mogplex
  • @mogplex/<agent-slug>

Bare @mogplex routes only to the default mention target. Targeted mentions route by agent slug.

Use GitHub Mention Routing for the exact rules, including entry-agent behavior in automations.

Where to check state

  • Settings: GitHub connection state and account-level setup
  • Installations: App coverage, repo eligibility, and synced repo state
  • Projects: imported repo list, repo settings, and workspace entry points
  • Observability: run status and failure trail after a GitHub event starts work

Common failures

  • Repo is visible but triggers are empty: OAuth is connected, but App coverage is missing for the repo owner.
  • Mention does not wake the expected agent: the comment may be bare @mogplex when it needed @mogplex/<agent-slug>, or the wrong route is marked default.
  • Automation cannot find the expected repo: check installation coverage and repo sync before editing the automation.
  • PR review work starts in the wrong shape: use an Assignment for standing repo responsibility, not a one-off Trigger.
Edit on GitHub

On this page