Thank you for your interest in contributing to KhazarLLMs! This project explores the creative potential of ensemble AI systems, and we welcome contributions that expand this vision.
- Clone the repository:
git clone https://github.com/NickScherbakov/KhazarLLMs.git
cd KhazarLLMs- Install dependencies:
pip install -r requirements.txt- Run tests:
pytest tests/Add new agent types with unique creative perspectives:
- Implement in
khazar_llms/agents/personas.py - Extend the
Agentbase class - Define a unique system prompt
- Implement the
respond()method - Add tests in
tests/test_agents.py
Create new conversation patterns:
- Add to
ConversationModeenum inensemble.py - Implement the mode logic in
Ensemble.run_iteration() - Add examples demonstrating the new mode
- Document the mode's behavior
Add support for new LLM providers:
- Implement a new provider class in
utils/llm_client.py - Extend
BaseLLMProvider - Add provider to
LLMClient.__init__() - Test with the provider's API
Share creative applications:
- Create example scripts in
examples/ - Document interesting use cases
- Share session outputs demonstrating creative results
Improve clarity and accessibility:
- Fix typos and clarify explanations
- Add code comments where helpful
- Create tutorials or guides
- Translate documentation
- Follow PEP 8 style guidelines
- Use Black for formatting:
black khazar_llms/ - Run flake8 for linting:
flake8 khazar_llms/ - Write docstrings for public functions and classes
- Keep functions focused and composable
- Write tests for new features
- Maintain test coverage
- Use pytest and pytest-asyncio
- Test with mock provider before real APIs
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests
- Run the test suite
- Update documentation
- Submit a pull request
- Be respectful and inclusive
- Welcome diverse perspectives
- Focus on constructive feedback
- Celebrate creativity and experimentation
Open an issue for discussion or to ask questions. We're here to help!
"Like the Khazar Dictionary itself, this project is a collaborative work - many voices contributing to a shared creative vision."