Github Toolkit
The Github
toolkit contains tools that enable an LLM agent to interact with a github repository.
The tool is a wrapper for the PyGitHub library.
For detailed documentation of all GithubToolkit features and configurations head to the API reference.
Setup
At a high-level, we will:
- Install the pygithub library
- Create a Github app
- Set your environmental variables
- Pass the tools to your agent with
toolkit.get_tools()
To enable automated tracing of individual tools, set your LangSmith API key:
# os.environ["LANGSMITH_API_KEY"] = getpass.getpass("Enter your LangSmith API key: ")
# os.environ["LANGSMITH_TRACING"] = "true"