Skip to content

Latest commit

 

History

History
35 lines (20 loc) · 958 Bytes

README.md

File metadata and controls

35 lines (20 loc) · 958 Bytes

Git Agent

git-agent is a Langchain-based Agent utilizing OpenAI Function calling that enables execution of Git commands using nothing but natural language inputs!

Watch the video below to see it in action!

GitAgentDemo.mp4

Install

  1. Install git-agent
pip install git+https://github.com/jupyterjazz/git-agent.git
  1. Set your OPENAI_API_KEY
export OPENAI_API_KEY=<your key>

Usage

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

git-agent <your instruction>

In this example, git-agent will locate files associated with docarray and provide the corresponding diffs only for those files.

Screenshot 2023-06-14 at 13 34 44