A digital assistant that writes code and collaborates with humans on git repositories.
Go to file
Moby von Briesen c9cf1b5e49 implement high-level functionality
integrate the llm and versioncontrol packages in the pullpal package
* Functionality to select a Github issue, and generate an LLM prompt
  from it (PickIssue)
* Functionality to parse LLM response (from string or file), update
  local git repository, and create pull request (ProcessResponse and
  ProcessResponseFromFile)
2023-04-22 17:50:57 -04:00
cmd Initial commit (part 2) 2023-04-22 14:50:15 -04:00
llm implement high-level functionality 2023-04-22 17:50:57 -04:00
pullpal implement high-level functionality 2023-04-22 17:50:57 -04:00
vc implement high-level functionality 2023-04-22 17:50:57 -04:00
.gitignore Initial commit (part 2) 2023-04-22 14:50:15 -04:00
go.mod Implement Github client 2023-04-22 16:23:56 -04:00
go.sum Implement Github client 2023-04-22 16:23:56 -04:00
LICENSE Initial commit 2023-04-22 11:56:31 -04:00
Makefile Initial commit (part 2) 2023-04-22 14:50:15 -04:00
README.md Update README.md 2023-04-22 12:11:28 -04:00

Pull Pal

A digital assistant that writes code and collaborates with humans on git repositories.

This tool is based on a previous experiment/proof of concept.

Overview

The specific goals/functions of this tool may change over time, but the initial target functionality includes:

  • "Bot" functionality (i.e. something that runs on a server somewhere and works mostly independently):
    • Monitoring open issues in a git repository, and automatically creating code changes (e.g. Github PRs) according to details in issue
    • Monitoring comments created on a code change, and updating the change accordingly
    • Integrates with OpenAI's GPT API (I'm still on the waitlist for this so may not be fully tested for a little bit)
  • CLI functionality (i.e. something that accomplishes similar behavior to the bot functionality, but requires more human intervention):
    • Command to generate LLM prompt based on git repository issues (prompt can then be copied to a chatbot)
    • Command to generate a code change based on LLM response to prompt (e.g. output from above point copied to this command)

Potential Evolution (future features following first foray)

  • Gerrit support
    • including alternate sources for issue tracking + code changes
  • Feedback/bug catching on code changes made by humans (add comments on changes)
  • General LLM interface support - allow using local LLM, non-GPT APIs, etc...

Contributing

I encourage contributing directly to this repository, or forking it and using it to accomplish other goals. If you would like to work together on this project, please contact me via email at mobyvb@gmail.com.

License

The license is GPL 3.0, which basically means that you can freely use/distribute/modify the code here, as long as you maintain the GPL 3.0 or a more permissive license. You can build a product out of this tool and even try to make money from it. However, you cannot close-source code that you derived from this project. Keep it open for others to use. Don't be a jerk.