Spaces:
Sleeping
π HarmonAI III π
ο½ AI-Powered Automated Repository Management Template ο½
HarmonAI III is a template repository developed using cline (formerly Claude Dev), SourceSage, and claude.ai. The majority of release notes, README, and commit messages are generated using the latest AI technologies.
π Project Overview
HarmonAI III is an innovative AI repository starter kit integrating AIRA and IRIS. This repository aims to dramatically improve developer efficiency by providing the structure and workflow for AI development projects leveraging LLMs. Version: v1.2.0
π Latest News
- π v1.2.0 released: Added GitHub Shields to the README, added collaborator invitation functionality, and updated documentation.
β¨ Key Features
- Integrated AI Toolset: Provides the functionality of AIRA and IRIS in a single package.
- Ready to Use: Easily create a repository with a high-quality initial structure by using it as a template.
- Automated Development Workflow: Automates commit message generation, release note creation, and issue management.
- Multilingual Support: Supports international project deployment through automatic README translation.
- Flexible Customization: Easily adaptable to the needs of your project.
- Automated Collaborator Invitation: Collaborator invitation script using the GitHub API.
π§ How to Use
AIRA Example:
aira --mode sourcesage commit --config=.aira\config.dev.commit.yml --ss-model-name="gpt-4o-mini" --llm-output="llm_output.md"
IRIS Example:
Refer to the documentation for each component for detailed usage instructions.
π¦ Installation Instructions
- Use this repository as a template to create a new repository.
- Clone the repository locally.
- Install the necessary dependencies:
pip install -r requirements.txt
- Customize the AIRA and IRIS configuration files.
- Check the GitHub Actions settings and configure environment variables as needed.
- Open the
.github/release_notes/.sourcesage_releasenotes_iris.yml
file and change the value ofrepo-name:
to your new repository name.
πΏ Setting up the Environment
Follow these steps to set up the HarmonAI III environment:
Create a virtual environment:
python3 -m venv .venv
This creates a virtual environment in the
.venv
directory.Activate the virtual environment:
source .venv/bin/activate # Linux/macOS .venv\Scripts\activate # Windows
Install dependencies:
pip install -r requirements.txt
These steps will prepare your development environment for HarmonAI III.
π Main Components
π€ AIRA (AI-Integrated Repository for Accelerated Development)
- Automated repository creation
- Automated commit message generation
π IRIS (Intelligent Repository Issue Solver)
- Automated issue classification
- Automated solution suggestions
- Automated release note generation
- Automated README translation
π€ Automated Collaborator Invitation
HarmonAI III includes a script to automatically invite collaborators to the GitHub repository. Use it as follows:
Create a
.env
file and set the necessary tokens:# GitHub access token (for collaborator invitation) GITHUB_TOKEN=your_github_personal_access_token_here # The following are examples of tokens that may be used by other functions. It's convenient to list them for later use. # GITHUB_ACCESS_TOKEN=ghp_xxxxx # YOUR_PERSONAL_ACCESS_TOKEN_IRIS=ghp_yyyyy # GEMINI_API_KEY=AIzzzzz
Note: Include the
.env
file in.gitignore
to prevent it from being committed to the repository.Run the following command to invite a collaborator:
python .github/github_add_collaborator.py Sunwood-ai-labs/HarmonAI_III username_to_invite
Replace
username_to_invite
with the GitHub username you want to invite.Once the script runs successfully, a collaborator invitation will be sent to the specified user.
Cautions:
- This script requires the GitHub token to have appropriate permissions (the
repo
scope). - When using it for an organization's repository, ensure that appropriate permissions are granted in the organization's settings.
- For security reasons, update tokens regularly and grant only the minimum necessary permissions.
- Never commit information including the
.env
file or tokens to a public repository.
This feature simplifies the process of adding new contributors to the project. You can efficiently expand your team while maintaining security.
π Process Flow
%%{init:{'theme':'base','themeVariables':{'primaryColor':'#024959','primaryTextColor':'#F2C335','primaryBorderColor':'#F2AE30','lineColor':'#A1A2A6','secondaryColor':'#593E25','tertiaryColor':'#F2C335','noteTextColor':'#024959','noteBkgColor':'#F2C335','textColor':'#024959','fontSize':'18px'}}}%%
graph LR
A[Start] --> B[Repository Conception and Naming]
B -->|Human Action| C[HarmonAI III Repository Initialization]
C -->|Automated| D[Development Work]
D -->|Human Action| E[AIRA Automated Commits]
E --> H[IRIS Release Note Generation]
H --> I[IRIS Documentation Translation]
I --> J[Release]
J --> K[End]
class B,D,G human;
class E aira;
class F,H,I iris;
class C auto;
class A,J,K process;
π€ Contributions
HarmonAI III welcomes contributions from the community as an open-source project. Help improve this template repository through bug reports, feature requests, and pull requests.
π License
HarmonAI III is released under the MIT License.
π Acknowledgments
HarmonAI III has been inspired by many open-source projects. We especially thank the developers of AIRA and IRIS. We also thank iris-s-coon and Maki.
HarmonAI III is an excellent starter kit for achieving an AI-driven development process. Let's start developing innovative AI projects based on this template!