samsja / git-agent

Langchain-based Agent utilizing OpenAI Functions to help you with a couple of Git commands

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Git Agent

Langchain-based Agent utilizing OpenAI Functions to help you with a couple of Git commands

GitAgentDemo.mp4

Install

  1. Clone the repository
git clone https://github.com/jupyterjazz/git-agent.git
  1. Move to the project dir
cd git-agent
  1. Create a venv
python3 -m venv venv
source venv/bin/activate
  1. Set your OPENAI_API_KEY
export OPENAI_API_KEY=<your key>
  1. Pip install git-agent
pip install -e .

Usage

Move to any repository you have locally, and ask git-agent to show diffs, stage/restore files in natural language!

git-agent show me all changes I made on docarray files

About

Langchain-based Agent utilizing OpenAI Functions to help you with a couple of Git commands

License:MIT License


Languages

Language:Python 100.0%