sam announces the launch of a new AI Persona that integrates the AI Bot with GitHub, enabling three key functions: reading pull requests, accessing specific files in a repository, and searching through repositories. To enable search, users must configure a GitHub access token, which can be generated via GitHub’s Developer settings—supporting fine-grained permissions for private repositories. Examples of the persona’s capabilities include reviewing pull requests, reading files, and searching repositories, with links provided for each. The announcement highlights that while the GitHub API offers many possibilities, keeping the toolset limited helps the LLM perform better. The persona framework also allows for custom combinations of tools (e.g., searching both GitHub and Discourse) to create domain-specific personas. The post concludes with an invitation for feedback.
GitHub supports fine grained tokens so you can grant a token with not access to private repositories (or you can create a token with access to private discussions)
Examples of what the new persona can do:
1. Review a pull request:
2. Read files in Github
3. Search Github repositories
The GitHub API is vast and there are many new tools we could look at adding, be mindful though that the more tools an LLM has to work with, the often the more confused it can get, by keeping the features set smaller we are able to produce pretty impressive results.
Also note, this gives access to all of GitHub, you can explore Discourse or any other project.
Given the flexibility of the persona framework you can design custom personas that mix and match various tools (for example search on forum and search on GitHub) to produce very powerful domain specific personas.