Skip to content

dex3r/GPT-Codemaster

Repository files navigation

GPT-Codemaster

Automatic programming by creating Pull Requests from Issues using LLMs.

An experimental project to automate programming. It uses a task-based approach to move a software project development forward by reading task descriptions from Github Issues and implementing them in a Pull Request.

Example Pull Requests created with this tool are available here

Features

  • Modifying files
  • Creating new files
  • Automatic reacting to Issues with the specified label
  • Creating Pull Requests
  • Released as Github Action in the marketplace
  • Automatic creation of tests for it's implementation
  • Reacting to Pull Requests checks
  • Back-and-forth conversation and reacting to human feedback in a Pull Request
  • Implement Reflection (https://arxiv.org/pdf/2303.11366.pdf and https://nanothoughts.substack.com/p/reflecting-on-reflexion)
  • Being able to go though massive projects
  • Read .ai/project_description_short.json of every project and include it in the prompt
  • Easy attachment of different LLMs, inlucing locally hosted

Tests

  • Comlpete a simple Issue, example
  • Complete a more complex issue

FAQ

Does it work?

Sometimes, and only for small projects with small files, like this one. The biggest limitation right now is the tokens length for LLMs.

Does it really work?

It's an experiment, not an actual product.

What do I need to use it?

  1. GPT-4 API access and token
  2. Github repository
  3. This project as a GitHub Action
  4. Enable "Allow Github Actions to create pull requests" in settings