Docs/AI Agents

AI Agents

Upshot's AI agents work in the background — commenting on PRs with impact context and posting daily standups to Slack.

PR Comment Bot

The PR Comment Bot automatically adds a comment to pull requests with relevant context:

  • Related issues — linked Linear/GitHub issues and their status
  • Impact assessment — estimated user impact based on connected analytics data
  • Risk signals — large diff size, touching critical paths, missing tests
  • Previous context — related recent changes to the same areas of code
🤖
upshot-botcommented 2 minutes ago

📋 Related: LIN-342 "Add export to CSV" (In Progress)

📊 Impact: Affects the Reports page — used by ~340 weekly active users

⚠️ Note: Large PR (480 lines). Consider splitting the migration into a separate PR.

Setup

  1. Install the Upshot GitHub App on your repositories
  2. Enable "PR Comment Bot" in Settings → Agents
  3. Configure which repos and which PR types trigger comments

Slack Standup Bot

The Slack Standup Bot posts a daily engineering summary to your chosen Slack channel. It includes:

  • What was shipped yesterday (merged PRs, deployments)
  • Active work in progress (open PRs, in-progress issues)
  • Blockers and stale items (PRs awaiting review for >24h)
  • Key metrics snapshot (deploy count, open incidents)

Setup

  1. Ensure Slack is connected in Settings → Integrations
  2. Enable "Slack Standup Bot" in Settings → Agents
  3. Select the target channel and posting time (default: 9:00 AM in your team's timezone)

Configuration

Both agents support:

  • Scope — which repos/teams the agent covers
  • Schedule — when it runs (standups) or which events trigger it (PR bot)
  • Tone — customizable via the agent's prompt settings
  • Filters — skip draft PRs, ignore certain labels, etc.