Containerized agent for automated Git commits via AI
Top 90.4% on sourcepulse
GitWit Agent is a container-based AI agent designed to automate the creation of GitHub repositories and commits based on natural language descriptions. It's targeted at developers and users who want to quickly scaffold projects or implement features without manual coding, leveraging AI to write code that writes code.
How It Works
GitWit operates by executing shell commands within a temporary Docker sandbox. It uses an LLM (defaulting to OpenAI's gpt-3.5-turbo) to generate a plan, which is then translated into a shell script. This script is executed inside the Docker container to perform Git operations and code generation. The agent can create new repositories or add commits to existing ones, with a retrieval-augmented generation approach to select relevant files for context.
Quick Start & Requirements
.env.example
to .env
and fill in GITHUB_USERNAME
, GITHUB_TOKEN
, and OPENAI_API_KEY
. Run npm install
.npm run start
for new repos, npm run start -- --branch
for new branches.Highlighted Details
Maintenance & Community
The project is maintained by jamesmurdza. Further community or roadmap information is not detailed in the README.
Licensing & Compatibility
The README does not explicitly state a license. Compatibility for commercial use or closed-source linking is not specified.
Limitations & Caveats
The agent's effectiveness is dependent on the LLM's ability to generate correct and functional code. Configuration for LLMs other than OpenAI is available on a separate branch. The README does not detail specific limitations regarding supported programming languages or complexity of tasks.
1 year ago
Inactive