Connectors
GitHub Connector
Connect repositories so agents can ground in code, recent PRs, and issue history.
Setup
- Install the GitHub App for the org or user account that owns the repos.
- Choose the repositories available to the workspace.
- Let indexing complete for the default branch and active pull requests.
- Run
mos source ls githubfrom a connected workspace when the CLI is available.
Security model
Connected code is used for grounding. Agents that propose PRs or source changes still go through approvals before any push or workspace write.
- No background commits.
- Repository disconnect purges indexed workspace context.
- Source references should use
kind: "git"for repos, commits, branches, and PRs.