GitHub
GitHub is a platform allowing Alfred to interact with and work on your GitHub accounts and organizations.
Add Alfred to GitHub
Section titled “Add Alfred to GitHub”You can add Alfred on GitHub through this link: Configure Alfred on GitHub
Once you configured Alfred you can go to your installed apps in your GitHub settings to install Alfred on more organizations or accounts.
How to use GitHub integration
Section titled “How to use GitHub integration”Alfred’s GitHub integration lives in his Sandbox VM. When Sandbox VM is enabled, Alfred can create a virtual machine and interact with your GitHub via the GitHub CLI or GitHub API. Alfred can pull your repo, run it locally, compile code, and create PRs once completed. See Sandbox.
Alfred can also read and respond to comments on issues/PRs through the GitHub API. A more robust method for communicating on issues/PRs will come soon.
What to ask for
Section titled “What to ask for”GitHub work goes best when you’re specific about the deliverable:
- “Clone my api repo, work out why the tests fail on main, and open a PR with the fix.”
- “Read through this repo and write me a summary of how the auth flow works.”
- “Bump the dependencies in this repo and open a PR if the build still passes.”
Alfred works on a branch and opens a pull request rather than pushing to your default branch, so you get to review before anything ships.
This is real work in a real machine, so bigger jobs take a while and cost usage. It’s worth pointing him at one repo and one task at a time.
Safety
Section titled “Safety”Your GitHub authentication details are NOT exposed in the sandbox, authentication is applied outside of the sandbox in a proxy layer. This ensures that your GitHub authentication details are not given to the AI and does not expose them to any potentially harmful tools that you may have Alfred run in that sandbox.
Alfred’s access is also scoped to whatever you installed him on. If you only installed him on one organization, that’s all he can reach, and you can change that at any time from your GitHub settings.