Hagi-UTM is an experimental AI revolving door plus human project aimed at developing a helpful, ethically aligned Artificial General Intelligence (AGI) system. The AGI is designed to be modular & assist users across multiple domains, including physics, biology, psychology, and ethics, while embodying a strong commitment to human values and wellbeing.
- Value Alignment: Hagi-UTM employs advanced techniques like inverse reward modeling and debate to align its objectives with human preferences and values.
- Coherent Value Specification: A rigorous goal structure is defined, encompassing constraints, objectives, and principles to guide the AGI's behavior.
- Robustness to Distributional Shift: The AGI leverages amplification and debate to refine its decision making and belief updating, enhancing its robustness to distributional shift.
- Empathetic Modeling: Through fine-tuning on human interactions, Hagi-UTM develops an empathetic understanding of individual humans and their needs.
- Multifaceted Personas: The AGI can embody various personas, each with distinct traits, drives, and areas of expertise, to provide tailored assistance to users.
- Ethical Reasoning: Hagi-UTM is equipped with knowledge of ethics and major religious texts, enabling it to offer nuanced moral guidance and interreligious perspectives.
- Continual Improvement: The AGI engages in self-reflection to identify opportunities for its own growth and provides constructive suggestions to users when appropriate.
- User Testing and Secure Access: Access to the AGI's full capabilities is gated behind rigorous user testing, including assessments of cognitive ability and intention, to ensure responsible use.
To interact with Hagi-UTM, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/Hagi-UTM.git
- Install the required dependencies:
pip install -r requirements.txt
- Prepare the necessary knowledge bases and pre-trained models:
- Download the pre-trained language model and place it in the
models
directory. - Acquire or create the domain-specific knowledge bases (
physics.db
,biology.db
,psychology.db
,ethics.db
) and place them in theknowledge_bases
directory. - Add the desired religious texts (
bible.txt
,quran.txt
,bhagavad_gita.txt
,dhammapada.txt
, etc.) to thereligious_texts
directory.
- Run the main script:
python hagi_utm.py
- Follow the prompts to select a domain and enter your request. Hagi-UTM will provide a response based on its knowledge and ethical principles.
Please note that access to Hagi-UTM's full capabilities is restricted and subject to user testing. The
intelligence_test
andintention_test
functions in the code serve as placeholders for implementing rigorous assessments of a user's cognitive abilities and intentions. Additionally, thecheck_user_authorization
function should be implemented to verify a user's credentials for unfiltered access.
We welcome contributions to enhance Hagi-UTM and further explore the intricacies of AGI development. To contribute, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with descriptive messages.
- Push your changes to your forked repository.
- Submit a pull request detailing your changes and their benefits.