feat(deps): add hindsight-client as optional dependency#21818
Merged
Conversation
Declares hindsight-client as an optional dependency group [hindsight] in pyproject.toml. This allows build-time inclusion for environments where runtime pip install is not possible (NixOS sealed venvs, Docker, Kubernetes). Not included in [all] — memory providers are plugins and should be opted into explicitly. Install via: uv sync --extra hindsight pip install hermes-agent[hindsight] NixOS (with extraDependencyGroups): services.hermes-agent.extraDependencyGroups = [ "hindsight" ]; Closes #8873
Contributor
🔎 Lint report:
|
| Rule | Count |
|---|---|
invalid-argument-type |
3 |
First entries
run_agent.py:7160: [invalid-argument-type] invalid-argument-type: Argument to function `build_anthropic_client` is incorrect: Expected `str`, found `str | dict[Unknown, Unknown] | Any | ... omitted 3 union elements`
run_agent.py:13312: [invalid-argument-type] invalid-argument-type: Argument to function `_is_oauth_token` is incorrect: Expected `str`, found `str | dict[Unknown, Unknown] | Any | ... omitted 3 union elements`
run_agent.py:13315: [invalid-argument-type] invalid-argument-type: Argument to function `len` is incorrect: Expected `Sized`, found `(str & ~AlwaysFalsy) | (dict[Unknown, Unknown] & ~AlwaysFalsy) | (Any & ~AlwaysFalsy) | ... omitted 3 union elements`
✅ Fixed issues (3):
| Rule | Count |
|---|---|
invalid-argument-type |
3 |
First entries
run_agent.py:13315: [invalid-argument-type] invalid-argument-type: Argument to function `len` is incorrect: Expected `Sized`, found `(str & ~AlwaysFalsy) | (dict[Unknown | str, Unknown | str | dict[str, str]] & ~AlwaysFalsy) | (Any & ~AlwaysFalsy) | ... omitted 3 union elements`
run_agent.py:7160: [invalid-argument-type] invalid-argument-type: Argument to function `build_anthropic_client` is incorrect: Expected `str`, found `str | dict[Unknown | str, Unknown | str | dict[str, str]] | Any | ... omitted 3 union elements`
run_agent.py:13312: [invalid-argument-type] invalid-argument-type: Argument to function `_is_oauth_token` is incorrect: Expected `str`, found `str | dict[Unknown | str, Unknown | str | dict[str, str]] | Any | ... omitted 3 union elements`
Unchanged: 4284 pre-existing issues carried over.
Diagnostics are surfaced as warnings — this check never fails the build.
9 tasks
jbotwell
approved these changes
May 8, 2026
Collaborator
Author
|
@jbotwell thank you for approving! apologies for the delay. |
rmulligan
pushed a commit
to rmulligan/hermes-agent
that referenced
this pull request
May 11, 2026
…#21818) Declares hindsight-client as an optional dependency group [hindsight] in pyproject.toml. This allows build-time inclusion for environments where runtime pip install is not possible (NixOS sealed venvs, Docker, Kubernetes). Not included in [all] — memory providers are plugins and should be opted into explicitly. Install via: uv sync --extra hindsight pip install hermes-agent[hindsight] NixOS (with extraDependencyGroups): services.hermes-agent.extraDependencyGroups = [ "hindsight" ]; Closes NousResearch#8873
JinyuID
pushed a commit
to JinyuID/hermes-agent
that referenced
this pull request
May 11, 2026
…#21818) Declares hindsight-client as an optional dependency group [hindsight] in pyproject.toml. This allows build-time inclusion for environments where runtime pip install is not possible (NixOS sealed venvs, Docker, Kubernetes). Not included in [all] — memory providers are plugins and should be opted into explicitly. Install via: uv sync --extra hindsight pip install hermes-agent[hindsight] NixOS (with extraDependencyGroups): services.hermes-agent.extraDependencyGroups = [ "hindsight" ]; Closes NousResearch#8873
02356abc
pushed a commit
to 02356abc/hermes-agent
that referenced
this pull request
May 14, 2026
…#21818) Declares hindsight-client as an optional dependency group [hindsight] in pyproject.toml. This allows build-time inclusion for environments where runtime pip install is not possible (NixOS sealed venvs, Docker, Kubernetes). Not included in [all] — memory providers are plugins and should be opted into explicitly. Install via: uv sync --extra hindsight pip install hermes-agent[hindsight] NixOS (with extraDependencyGroups): services.hermes-agent.extraDependencyGroups = [ "hindsight" ]; Closes NousResearch#8873
jsboige
pushed a commit
to jsboige/hermes-agent
that referenced
this pull request
May 14, 2026
…#21818) Declares hindsight-client as an optional dependency group [hindsight] in pyproject.toml. This allows build-time inclusion for environments where runtime pip install is not possible (NixOS sealed venvs, Docker, Kubernetes). Not included in [all] — memory providers are plugins and should be opted into explicitly. Install via: uv sync --extra hindsight pip install hermes-agent[hindsight] NixOS (with extraDependencyGroups): services.hermes-agent.extraDependencyGroups = [ "hindsight" ]; Closes NousResearch#8873
AlexFoxD
pushed a commit
to AlexFoxD/hermes-agent
that referenced
this pull request
May 21, 2026
…#21818) Declares hindsight-client as an optional dependency group [hindsight] in pyproject.toml. This allows build-time inclusion for environments where runtime pip install is not possible (NixOS sealed venvs, Docker, Kubernetes). Not included in [all] — memory providers are plugins and should be opted into explicitly. Install via: uv sync --extra hindsight pip install hermes-agent[hindsight] NixOS (with extraDependencyGroups): services.hermes-agent.extraDependencyGroups = [ "hindsight" ]; Closes NousResearch#8873
gweeteve
pushed a commit
to gweeteve/hermes-agent
that referenced
this pull request
Jun 2, 2026
…#21818) Declares hindsight-client as an optional dependency group [hindsight] in pyproject.toml. This allows build-time inclusion for environments where runtime pip install is not possible (NixOS sealed venvs, Docker, Kubernetes). Not included in [all] — memory providers are plugins and should be opted into explicitly. Install via: uv sync --extra hindsight pip install hermes-agent[hindsight] NixOS (with extraDependencyGroups): services.hermes-agent.extraDependencyGroups = [ "hindsight" ]; Closes NousResearch#8873
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Declares
hindsight-clientas an optional dependency group[hindsight]inpyproject.toml, allowing build-time inclusion for environments where runtimepip installfails (NixOS sealed venvs, Docker, Kubernetes).Not included in
[all]— memory providers are plugins and should be opted into explicitly. Same pattern should apply to other memory providers (mem0, supermemory, etc.) if they need this treatment.Install
# pip/uv users uv sync --extra hindsight pip install hermes-agent[hindsight]Changes
pyproject.toml: Addedhindsight = ["hindsight-client>=0.4.22"]to optional dependenciesuv.lock: Regenerated to includehindsight-client v0.5.6Closes #8873