Skip to content

Langchain Agent utilizing OpenAI Function Calls to execute Git commands using Natural Language

License

Notifications You must be signed in to change notification settings

jupyterjazz/git-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Langchain Agent utilizing OpenAI Function Calls to execute Git commands using Natural Language

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages