Thanks for contributing to opik-hermes.
- Search existing issues first: https://github.com/comet-ml/opik-hermes/issues
- Use the matching template:
- Bug report: .github/ISSUE_TEMPLATE/bug_report.yml
- Feature request: .github/ISSUE_TEMPLATE/feature_request.yml
- Include reproducible steps, Hermes version, and plugin version.
Prerequisites:
- Python
>=3.11,<3.14
Clone and bootstrap into a virtual environment:
git clone https://github.com/comet-ml/opik-hermes.git
cd opik-hermes
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"Optional runtime config:
cp .env.example .env- Create a focused branch for your change.
- Keep changes scoped and avoid unrelated formatting-only edits.
- Run local checks before opening/updating a PR.
Recommended local checks (these mirror CI):
python -m pytest tests/ -v
ruff check observability tests
ruff format --check observability testsThe observability/opik/ directory is byte-compatible with Hermes' bundled
plugin layout, so it can be mounted as a user plugin, vendored into Hermes, or
shipped as the pip package — all from one source. Keep that contract intact:
the wheel must expose the hermes_agent.plugins → opik_hermes:register entry
point (CI's build job asserts this).
Open PRs here: https://github.com/comet-ml/opik-hermes/pulls
Please:
- Prefer opening a draft PR early for feedback.
- Follow the PR template: .github/pull_request_template.md
- Link related issues using
Fixes #<issue-number>(orResolves #<issue-number>) in the PR body. - Update tests/docs for behavior changes.
- Call out compatibility changes clearly.
If you use GitHub CLI, common commands are:
gh pr create --draft
gh pr view --web- Publishing is driven by a GitHub Release +
.github/workflows/publish.yml. - Bump
versioninpyproject.tomlfor the release, then publish a GitHub Release taggedv<version>— the tag must matchpyproject.tomlexactly (CI enforces this before uploading to PyPI). - Release notes are assembled automatically by release-drafter as PRs merge.
- Keep commits scoped and reviewable.
- Use clear commit messages that describe behavior changes.
- If changing user-facing configuration, update
README.mdandobservability/opik/README.md.
- Do not commit API keys, tokens, or
.envfiles. - Use
.env.exampleas the template for new configuration fields.
- Opik docs: https://www.comet.com/docs/opik
- Hermes agent: https://github.com/NousResearch/hermes-agent