Skip to main content

GitHub Integration

Sync your GitHub repositories, issues, pull requests, and commits into SharedMemory's knowledge graph.

What Gets Synced

ResourceSynced Data
IssuesTitle, body, labels, assignees, comments
Pull RequestsTitle, description, reviewers, status, diff summary
CommitsMessage, author, changed files
RepositoriesName, description, language, topics

Setup

  1. Go to Settings → Integrations → GitHub
  2. Click Connect GitHub
  3. Authorize SharedMemory via GitHub OAuth
  4. Select repositories to sync
  5. Choose a target volume

Configuration

SettingDescriptionDefault
RepositoriesWhich repos to syncAll accessible
Sync IssuesInclude issuesYes
Sync PRsInclude pull requestsYes
Sync CommitsInclude commit messagesYes
Auto-syncContinuous sync via webhooksYes

How It Works

  • Initial sync: Indexes the last 90 days of activity
  • Ongoing: GitHub webhooks trigger real-time updates
  • Entities created: Repositories, Contributors, Issues, PRs become graph entities
  • Relationships: CONTRIBUTED_TO, ASSIGNED_TO, REVIEWS, FIXES, REFERENCES

Example Queries

Once connected, your agents can answer questions like:

  • "What PRs were merged this week?"
  • "Who is working on the authentication module?"
  • "What issues are blocking the release?"
  • "Summarize the changes in the last sprint"

Permissions

SharedMemory requests the following GitHub scopes:

  • repo — Read access to repositories
  • read:org — Read org membership (for team repos)

SharedMemory never writes to your GitHub repositories.