Important
Note for contributors: When branching out, create a new branch from the dev branch.
We're excited that you're interested in contributing to our project! We want to ensure that every user and contributor feels welcome, included and supported to participate in cognee community. This guide will help you get started and ensure your contributions can be efficiently integrated into the project.
You can contribute to cognee in many ways:
- 📝 Submitting bug reports or feature requests
- 💡 Improving documentation
- 🔍 Reviewing pull requests
- 🛠️ Contributing code or tests
- 🌐 Helping other users
There are several ways to connect with the cognee team and community:
- Open an issue for bug reports, feature requests, or discussions
- Submit pull requests to contribute code or documentation
- Join ongoing discussions in existing issues and PRs
- Join our Discord community for real-time discussions
- Participate in community events and discussions
- Get help from other community members
- Email: vasilije@cognee.ai
- For business inquiries or sensitive matters, please reach out via email
- For general questions, prefer public channels like GitHub issues or Discord
We aim to respond to all communications within 2 business days. For faster responses, consider using our Discord channel where the whole community can help!
To help you find the most appropriate issues to work on, we use the following labels:
good first issue- Perfect for newcomers to the projectbug- Something isn't working as expecteddocumentation- Improvements or additions to documentationenhancement- New features or improvementshelp wanted- Extra attention or assistance neededquestion- Further information is requestedwontfix- This will not be worked on
Looking for a place to start? Try filtering for good first issues!
- Fork the cognee repository
- Clone your fork:
git clone https://github.com/<your-github-username>/cognee.git
cd cogneeIn case you are working on Vector and Graph Adapters
- Fork the cognee-community repository
- Clone your fork:
git clone https://github.com/<your-github-username>/cognee-community.git
cd cognee-communityCreate a new branch for your work:
git checkout -b feature/your-feature-name- Code Style: Follow the project's coding standards
- Documentation: Update relevant documentation
- Tests: Add tests for new features
- Commits: Write clear commit messages
python cognee/cognee/tests/test_library.pyChange .env.example into .env and provide your OPENAI_API_KEY as LLM_API_KEY
Make sure to run shell uv sync in the root cloned folder or set up a virtual environment to run cognee
python cognee/cognee/examples/python/simple_example.pyor
uv run python cognee/cognee/examples/python/simple_example.py- Install ruff on your system
- Run
ruff format .andruff checkand fix the issues - Push your changes:
git add .
git commit -s -m "Description of your changes"
git push origin feature/your-feature-name- Create a Pull Request:
- Go to the cognee repository or cognee community repository
- Click "Compare & Pull Request" and open a PR against dev branch
- Fill in the PR template with details about your changes
All contributions must be signed-off to indicate agreement with our DCO:
git config alias.cos "commit -s" # Create alias for signed commitsWhen your PR is ready, please include:
"I affirm that all code in every commit of this pull request conforms to the terms of the Topoteretes Developer Certificate of Origin"
- Be respectful and inclusive
- Help others learn and grow
- Follow our Code of Conduct
- Provide constructive feedback
- Ask questions when unsure
- Open an issue
- Join our Discord community
- Check existing documentation
Thank you for contributing to cognee! 🌟