GitHub Integration

Setup

1. Connect via Manager OAuth

Go to the Manager dashboard and connect your GitHub account:
# Or via CLI
synapsex integrations connect github

2. Configure repository access

synapsex config set github-repo https://github.com/org/repo

What Agents Can Do

  • Read repository files and history
  • Create branches for each task
  • Commit and push changes
  • Open pull requests
  • Comment on existing PRs
  • Trigger CI/CD checks

Example: Automated PR

synapsex agent run \
  --task "Fix the memory leak in worker.py" \
  --repo https://github.com/myorg/myapp \
  --model azure/gpt-4-1-teacher
The agent will:
  1. Clone repo into an isolated worktree
  2. Analyze worker.py
  3. Generate the fix
  4. Run tests
  5. Open PR: feat/fix-memory-leak-worker