Your personal Git-enabled AI agent.
To install GitAgent, follow these steps:
- Clone the repository:
git clone https://github.com/SuperMK15/GitAgent.git
- Navigate to the project directory:
cd GitAgent
- Install the dependencies:
pip install -r requirements.txt
To use GitAgent, simply run the following command:
streamlit run git_agent.py
This will start the GitAgent application, which will allow you to perform various operations on your GitHub repository.
- Semantic Search: Search for code snippets related to a specific query in your repository.
- Instructed Refactor: Refactor code in your repository according to provided instructions.
- Auto Commenter: Add comments to code in your repository.
- README Generator: Generate a README file for your repository.
- Dockerfile Generator: Generate a Dockerfile for your repository.
GitAgent requires a GitHub personal access token with repository permissions, as well as a CoHere API token. You can set this token in the .streamlit/secrets.toml
file.